/* Custom styles for CDN Labs index2.html */

@import url('https://fonts.googleapis.com/css2?family=DotGothic16&family=Doto:wght@700&display=swap');

@font-face {
  font-family: 'Cera Pro';
  src: url('/fonts/CeraPro/CeraProLight.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Cera Pro';
  src: url('/fonts/CeraPro/CeraProRegularItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'Cera Pro';
  src: url('/fonts/CeraPro/CeraProMedium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Cera Pro';
  src: url('/fonts/CeraPro/CeraProBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Cera Pro';
  src: url('/fonts/CeraPro/CeraProBlack.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: 'Cera Pro';
  src: url('/fonts/CeraPro/CeraProBlackItalic.otf') format('opentype');
  font-weight: 900;
  font-style: italic;
}
@font-face {
  font-family: 'LED Dot Matrix';
  src: url('/fonts/LED-Dot-Matrix.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body.cdn-dark-bg {
  background: #121524;
  color: #fff;
  font-family: 'Cera Pro', Arial, sans-serif;
}

header {
  display: flex;
  align-items: center;
  background: #232638;
  height: 90px;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 0;
}

.header-logo-img {
  width: 140px;
  height: auto;
  display: block;
  margin-left: 32px;
  margin-right: 8px;
}

.header-tabs {
  display: flex;
  gap: 16px;
  margin-left: 32px;
  height: 100%;
  align-items: end;
}

.header-tab {
  background: #32395a;
  color: #a6adc8;
  font-size: 16px;
  font-weight: 500;
  border-radius: 6px 6px 0 0;
  padding: 0 18px;
  text-align: center;
  min-width: 120px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  line-height: 1.2;
  letter-spacing: 0.5px;
  box-shadow: none;
  border: none;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 68px;
  margin-top: 11px;
}

.header-tab.active {
  background: #5ea1fa;
  color: #fff;
}

.header-tab:not(.active):hover {
  background: #3a4266;
  color: #e0e6f6;
}

/* Remove or override conflicting navbar styles */
.cdn-navbar, .cdn-logo, .cdn-nav-tabs, .cdn-nav-tab {
  all: unset;
}

/* HERO SECTION (pixel-perfect, Inter font, bigger text, new colors, no globe glow, half globe right) */
.hero-section-custom {
  background: #191a2b;
  min-height: 420px;
  color: #fff;
  font-family: 'Cera Pro', Arial, sans-serif;
  padding-top: 120px;
  padding-bottom: 120px;
  position: relative;
  overflow: hidden;
}
.hero-title {
  font-family: 'Cera Pro', Arial, sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 56px;
  letter-spacing: 0.01em;
}
.hero-subtitle {
  font-family: 'Cera Pro', Arial, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 48px;
}
.hero-highlight {
  color: #EF89D8;
  font-weight: 700;
}
.hero-desc {
  font-family: 'Cera Pro', Arial, sans-serif;
  font-size: 1.18rem;
  color: #d6d6e7;
  margin-top: 56px;
  line-height: 1.7;
  max-width: 700px;
}
.hero-desc-highlight {
  color: #802DF5;
  font-weight: 700;
}
.hero-globe-wrap {
  position: absolute;
  right: 0;
  top: 45%;
  transform: translateY(-45%);
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.hero-globe-img-custom {
  width: 675px;
  height: 675px;
  object-fit: cover;
  position: relative;
  right: -300px;
  top: 0;
}
@media (max-width: 1200px) {
  .hero-globe-img-custom { width: 500px; height: 500px; right: -200px; }
}
@media (max-width: 992px) {
  .hero-title { font-size: 2.1rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .hero-desc { font-size: 0.98rem; }
  .hero-globe-img-custom { width: 350px; height: 350px; right: -100px; }
}
@media (max-width: 768px) {
  .hero-section-custom { padding-top: 18px; padding-bottom: 18px; }
  .hero-title { font-size: 1.2rem; }
  .hero-subtitle { font-size: 0.92rem; }
  .hero-desc { font-size: 0.85rem; }
  .hero-globe-img-custom { width: 180px; height: 180px; right: -40px; }
  .hero-globe-wrap { display: none; }
  .header-logo-img { display: none !important; }
  .header-tab {
    font-size: 0.85rem !important;
    padding: 0 8px !important;
    min-width: 70px !important;
    height: 44px !important;
  }
}

.cdn-card, .cdn-card-purple, .cdn-card-pink, .cdn-card-white {
  color: #191a2b;
  font-size: 1.13rem;
  border-radius: 24px;
}
.cdn-card-purple {
  background: #a091e6;
}
.cdn-card-pink {
  background: #ea8cd6;
}

.cdn-card-white {
  background: #fff;
  color: #23243a;
}

.cdn-monitor-section {
  background-size: cover;
  background-position: center;
  min-height: 340px;
  position: relative;
}
.cdn-monitor-overlay {
  background: rgba(24,26,35,0.85);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 32px 32px;
}
.industry-text {
  font-size: 1.18rem;
  letter-spacing: 1.5px;
  color: #fff;
  text-shadow: 0 2px 8px #000a;
  padding: 18px 0 0 0;
}

.led-dot-matrix {
  font-family: 'LED Dot Matrix', monospace, 'Courier New', Courier;
  letter-spacing: 0.22em;
  font-size: 2.8rem;
  color: #a084ff;
  text-shadow: 0 0 12px #a084ff, 0 0 2px #fff;
  font-weight: 700;
  margin-bottom: 18px;
}

.cdn-quote {
  background: #23243a;
  border-radius: 20px;
  padding: 36px 32px 18px 32px;
  color: #fff;
  font-size: 1.18rem;
  box-shadow: 0 2px 16px #000a;
  border: 2px solid #a084ff33;
  margin-bottom: 18px;
}
.cdn-quote-author {
  color: #a084ff;
  font-size: 1.05rem;
  margin-top: 10px;
  font-weight: 500;
}

.cdn-diagram-section {
  background-size: cover;
  background-position: center;
  min-height: 420px;
  position: relative;
}
.cdn-diagram-section .cdn-card {
  background: rgba(24,26,35,0.92) !important;
  color: #fff;
  border: 2px solid #a084ff55;
  box-shadow: 0 8px 32px #000a, 0 2px 16px #a084ff22;
}

.cdn-footer-section {
  background: #181a23;
  border-top: 2px solid #23243a;
  color: #fff;
  padding-top: 48px;
  padding-bottom: 32px;
}
.cdn-footer-section .btn-outline-light {
  border-radius: 24px;
  border: 2px solid #a084ff;
  color: #fff;
  font-weight: 700;
  padding: 8px 32px;
  margin-left: 12px;
  background: #a084ff;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 1px;
}
.cdn-footer-section .btn-outline-light:hover {
  background: #fff;
  color: #a084ff;
  border: 2px solid #fff;
}

.cdn-team-img {
  width: 72px;
  height: 72px;
  background: #23243a;
  border-radius: 50%;
  margin: 0 auto 12px auto;
  box-shadow: 0 2px 12px #a084ff55;
  border: 3px solid #a084ff;
}
.team-desc {
  font-size: 1.01rem;
  color: #bfc3d1;
  margin-top: 10px;
  line-height: 1.5;
}

form .form-label {
  color: #a084ff;
  font-weight: 600;
  font-size: 1.08rem;
}
form .form-control {
  background: #23243a;
  color: #fff;
  border: 2px solid #a084ff55;
  border-radius: 12px;
  font-size: 1.08rem;
  margin-bottom: 10px;
}
form .form-control:focus {
  border: 2px solid #a084ff;
  box-shadow: 0 0 0 2px #a084ff33;
  background: #23243a;
  color: #fff;
}
form .btn-primary {
  background: #a084ff;
  border: none;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 8px 32px;
  margin-top: 8px;
  letter-spacing: 1px;
}
form .btn-primary:hover {
  background: #ff4caa;
  color: #fff;
}

/* Section and card spacing */
section.container, .container {
  margin-bottom: 48px !important;
}
section {
  padding-top: 32px;
  padding-bottom: 32px;
}
.row.g-4 {
  gap: 32px 0;
}

/* Responsive tweaks */
@media (max-width: 1200px) {
  .cdn-card { padding: 24px 12px; }
  .cdn-team-img { width: 56px; height: 56px; }
}
@media (max-width: 992px) {
  .cdn-team-img { width: 44px; height: 44px; }
  .cdn-card { padding: 18px 8px; }
}
@media (max-width: 768px) {
  .cdn-navbar { flex-direction: column; height: auto; padding: 0 8px; }
  .cdn-nav-tabs { margin-left: 0; }
  .cdn-monitor-section, .cdn-monitor-overlay { min-height: 120px; }
  .cdn-diagram-section { min-height: 120px; }
  .led-dot-matrix { font-size: 1.1rem; }
  .cdn-card { border-radius: 16px; }
  .contact-header-flex {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
  }
  .contact-header-flex img {
    margin-bottom: 0;
  }
  .contact-litepaper-link {
    margin-top: 18px !important;
    display: block;
    text-align: center;
    width: 100%;
    max-width: 260px;
  }
  .custom-card form .row {
    flex-direction: column !important;
  }
  .custom-card form .col-md-2,
  .custom-card form .col-md-3,
  .custom-card form .col-md-7 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: block !important;
  }
  .custom-card form label,
  .custom-card form input,
  .custom-card form textarea {
    text-align: left !important;
    width: 100% !important;
    margin-bottom: 18px !important;
  }
  .custom-card form .col-md-2 {
    margin-bottom: 0 !important;
  }
}

.hero-section-custom .hero-text-col {
  margin-left: 212px;
}
@media (max-width: 768px) {
  .hero-section-custom .hero-text-col {
    margin-left: 12px;
  }
}

.custom-card, .custom-card-quote {
  background: #121524;
  box-shadow: 0 0 32px 0 #23243a;
  filter: drop-shadow(0 0 15px rgba(255,255,255,.12)) drop-shadow(0 0 10px rgba(255,255,255,.10));
}

.custom-card {
  border-radius: 24px;
  box-shadow: 0 0 24px 0 #23243a;
  padding: 32px 36px;
  color: #fff;
  font-family: 'Cera Pro', Arial, sans-serif;
  border: 1.5px solid rgba(255,255,255,0.07);
  margin-bottom: 24px;
  transition: none;
}
.custom-card-quote {
  border-radius: 24px;
  box-shadow: 0 0 24px 0 #23243a;
  padding: 32px 36px;
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255,255,255,0.07);
}
@media (max-width: 992px) {
  .custom-card, .custom-card-quote { padding: 18px 10px; font-size: 1rem; }
  .custom-card-quote { font-size: 1.6rem; }
}
@media (max-width: 768px) {
  .custom-card-quote { font-size: 1.1rem; }
}

.row-eq-height {
  display: flex;
  align-items: stretch;
}
.custom-card, .custom-card-quote {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.custom-container {
  margin-left: 212px;
  margin-right: 212px;
  width: auto;
}
@media (max-width: 1200px) {
  .custom-container {
    margin-left: 32px;
    margin-right: 32px;
  }
}
@media (max-width: 768px) {
  .custom-container {
    margin-left: 8px;
    margin-right: 8px;
  }
}

.dot-matrix {
  font-family: 'LED Dot Matrix', monospace, Arial, sans-serif;
  font-size: 4.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.1;
}
.dot-matrix-purple {
  color: #A084FF;
}
.dot-matrix-white {
  color: #fff;
}
.dot-matrix-pink {
  color: #ea8cd6;
}
@media (max-width: 992px) {
  .dot-matrix { font-size: 3.2rem; }
}
@media (max-width: 768px) {
  .dot-matrix { font-size: 1.7rem; }
  .dot-matrix-row { padding: 12px 0 12px 0; }
}

.custom-card h4 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 18px;
} 

.cdn-card h4 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 18px;
  color: #191a2b;
}

.milestone-card {
  background: #030538;
  color: #fff;
  border-radius: 24px;
  padding: 40px 32px;
  min-height: 420px;
  box-shadow: 0 4px 32px 0 #23243a55;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  flex: 1 1 auto;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, .1)) drop-shadow(0 0 10px rgba(255, 255, 255, .1));
  -webkit-filter: drop-shadow(0 0 15px hsla(0, 0%, 100%, .1)) drop-shadow(0 0 10px hsla(0, 0%, 100%, .1));
}
.milestone-number {
  font-family: 'LED Dot Matrix', monospace, Arial, sans-serif;
  color: #ea8cd6;
  font-size: 3.2rem;
  margin-bottom: 24px;
  text-align: left;
  display: block;
}
.milestone-title {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1.13rem;
}
.milestone-body {
  margin-bottom: 0;
  font-size: 1.13rem;
}