/**
 * Atlas Rotating Earth & Pure Black Theme Styling
 * Entire site: pure black background (#000000) and white text (#ffffff)
 */

/* ==========================================================================
   ASTRA GLOBAL CSS VARIABLE OVERRIDES
   ========================================================================== */
:root {
  --ast-global-color-0: #ffffff !important;
  --ast-global-color-1: #e2e8f0 !important;
  --ast-global-color-2: #ffffff !important;
  --ast-global-color-3: #ffffff !important;
  --ast-global-color-4: #000000 !important;
  --ast-global-color-5: #000000 !important;
  --ast-global-color-6: #000000 !important;
  --ast-global-color-7: #000000 !important;
  --ast-global-color-8: #000000 !important;
  --ast-global-color-primary: #ffffff !important;
  --ast-global-color-secondary: #000000 !important;
  --ast-global-color-alternate-background: #000000 !important;
  --ast-global-color-subtle-background: #000000 !important;
}

/* ==========================================================================
   GLOBAL SITE-WIDE BLACK & TOPOGRAPHIC BASE
   ========================================================================== */

html, body {
  background-color: #000000 !important;
  color: #ffffff !important;
  margin: 0;
  padding: 0;
}

#page, .site {
  position: relative;
  z-index: 1;
  background-color: transparent !important;
  background-image: none !important;
}

#primary, #main, .site-content,
.ast-container, .entry-content,
.ast-separate-container, .ast-plain-container, .ast-page-builder-template,
.wp-block-group, .wp-block-columns, .wp-block-column {
  background-color: transparent !important;
  background-image: none !important;
  color: #ffffff !important;
}

/* ==========================================================================
   TOPOGRAPHIC WEBGL BACKGROUND FIELD
   ========================================================================== */
.atlas-topo-bg-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: #000000;
}

#topo-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.atlas-topo-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 25%, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.9) 100%);
  pointer-events: none;
}

#earth-globe-section {
  background: transparent !important;
  background-color: transparent !important;
}

/* Base typography */
h1, h2, h3, h4, h5, h6,
.entry-title, .widget-title,
.wp-block-heading {
  color: #ffffff !important;
}

.site-title, .ast-site-title-wrap {
  display: none !important;
}

p, span, li, label, dt, dd,
.entry-content p, .entry-content span {
  color: #ffffff !important;
}

/* Links */
a {
  color: #ffffff !important;
  text-decoration: none;
}
a:hover {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Header & Navigation Bar */
.main-header-bar, .ast-primary-header-bar, .site-header,
.ast-main-header-wrap, .site-primary-header-wrap {
  background: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.main-header-menu a, .menu-link {
  color: #ffffff !important;
  font-weight: 500;
}

.main-header-menu .current-menu-item > a,
.main-header-menu a:hover,
.menu-link:hover {
  color: #ffffff !important;
  opacity: 0.8;
}

/* Dropdown Sub-menus */
.main-header-menu .sub-menu,
.sub-menu,
ul.sub-menu {
  background-color: #000000 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.9) !important;
  border-radius: 8px !important;
  padding: 6px 0 !important;
}

.main-header-menu .sub-menu li a,
.sub-menu a {
  color: #ffffff !important;
  background: transparent !important;
}

.main-header-menu .sub-menu li:hover > a,
.sub-menu li:hover > a {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

/* SVG icons */
.ast-arrow-svg, .ast-mobile-svg, .ahfb-svg-iconset svg {
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

/* WPML Ultra-Minimalist Language Switcher (EN, FR, TR, etc.) */
.wpml-ls-flag {
  display: none !important;
}

.atlas-lang-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  padding: 3px 8px !important;
  border-radius: 5px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px !important;
  color: #e5e7eb !important;
  line-height: 1.1 !important;
  transition: all 0.2s ease !important;
}

.main-header-menu .menu-item[class*="menu-item-wpml-ls"]:hover .atlas-lang-badge,
.atlas-lang-badge:hover {
  border-color: rgba(255, 255, 255, 0.45) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

/* Submenu Language Options */
.atlas-lang-sub-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 2px 0 !important;
}

.atlas-lang-code {
  display: inline-block !important;
  min-width: 24px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #9ca3af !important;
  letter-spacing: 0.5px !important;
  transition: color 0.15s ease !important;
}

.atlas-lang-name {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  transition: color 0.15s ease !important;
}

ul.sub-menu .menu-item-type-wpml_ls_menu_item:hover .atlas-lang-code {
  color: #facc15 !important;
}

ul.sub-menu .menu-item-type-wpml_ls_menu_item:hover .atlas-lang-name {
  color: #ffffff !important;
}

ul.sub-menu .menu-item-type-wpml_ls_menu_item a {
  display: flex !important;
  align-items: center !important;
  padding: 6px 14px !important;
  background: transparent !important;
}

.menu-item[class*="menu-item-wpml-ls"] > a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  padding: 0 4px !important;
}

/* Minimalist Dropdown Container */
.main-header-menu .menu-item[class*="menu-item-wpml-ls"] .sub-menu {
  min-width: 140px !important;
  background: rgba(12, 14, 20, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.85) !important;
  padding: 4px 0 !important;
}

.site-footer, .site-primary-footer-wrap {
  background: #000000 !important;
  border-top: none !important;
}

.site-below-footer-wrap {
  display: none !important;
}

/* Hide WPML development site banner and redundant footer language switchers */
.otgs-development-site-front-end,
.wpml-ls-statics-footer {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Authoritative .ATLAS Registry Footer Wrap */
.atlas-registry-footer-wrap {
  position: relative !important;
  z-index: 20 !important;
  background-color: #000000 !important;
  color: #ffffff !important;
  display: block !important;
  width: 100% !important;
}

/* Search input elements */
input[type="text"], input[type="search"] {
  color: #ffffff !important;
}
input::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

/* ==========================================================================
   ROTATING EARTH CANVAS - EMBEDDED SEAMLESS STYLING
   ========================================================================== */

.atlas-earth-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent !important;
}

.atlas-earth-canvas-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible;
}

#rotating-earth-canvas {
  display: block;
  max-width: 100%;
  height: auto;
  background: transparent !important;
  cursor: grab;
  touch-action: pan-y;
}

#rotating-earth-canvas:active {
  cursor: grabbing;
}

/* Tooltip button completely removed per user request */
.atlas-earth-tooltip {
  display: none !important;
}

.atlas-earth-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  z-index: 5;
}

.atlas-earth-spinner {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: atlas-spin 0.8s linear infinite;
}

@keyframes atlas-spin {
  to { transform: rotate(360deg); }
}

.atlas-earth-error {
  display: none;
  padding: 24px;
  text-align: center;
  color: #f87171;
  font-size: 14px;
}

/* ==========================================================================
   HOTSPOT INTERACTIVE HUD CARD
   ========================================================================== */
.atlas-hotspot-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  background: rgba(0, 0, 0, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.95), 0 0 25px rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 25;
  pointer-events: auto;
  opacity: 0;
  transform: translate3d(-9999px, -9999px, 0);
  transition: opacity 0.22s ease-out;
  box-sizing: border-box !important;
  text-align: left;
  user-select: none;
}

.atlas-hotspot-card.atlas-card-visible {
  opacity: 1;
}

.atlas-card-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 8px !important;
}

.atlas-card-title-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.atlas-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #facc15;
  box-shadow: 0 0 10px #facc15, 0 0 4px #ffffff;
  display: inline-block;
  animation: atlas-pulse 1.8s infinite;
}

@keyframes atlas-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.atlas-card-domain {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: 0.3px !important;
}

.atlas-card-tag {
  font-size: 9px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: #facc15 !important;
  background: rgba(250, 204, 21, 0.12) !important;
  padding: 2px 7px !important;
  border-radius: 4px !important;
  border: 1px solid rgba(250, 204, 21, 0.35) !important;
}

.atlas-card-preview {
  position: relative !important;
  width: 100% !important;
  height: 125px !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  margin-bottom: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  background: #060913 !important;
}

.atlas-card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
  display: block !important;
}

.atlas-card-coords {
  position: absolute !important;
  bottom: 5px !important;
  right: 6px !important;
  font-size: 9.5px !important;
  font-family: ui-monospace, monospace !important;
  color: rgba(255, 255, 255, 0.9) !important;
  background: rgba(0, 0, 0, 0.8) !important;
  padding: 2px 6px !important;
  border-radius: 3px !important;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.atlas-card-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

.atlas-card-label {
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

.atlas-card-desc {
  font-size: 11.5px !important;
  line-height: 1.45 !important;
  color: rgba(255, 255, 255, 0.88) !important;
  margin: 0 !important;
  word-break: break-word !important;
}

/* ==========================================================================
   CLASSIC REGISTRY - COMMON SECTION WRAPPERS & BADGES
   ========================================================================== */
.atlas-section-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 20px;
  position: relative;
  box-sizing: border-box;
}

.atlas-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.atlas-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #facc15;
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.3);
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.atlas-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #facc15;
  box-shadow: 0 0 6px #facc15;
}

.atlas-heading-title {
  font-size: 34px !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px !important;
  color: #ffffff !important;
  line-height: 1.25 !important;
  margin: 0 0 12px 0 !important;
}

.atlas-heading-desc {
  font-size: 15.5px !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.7) !important;
  max-width: 720px !important;
  margin: 0 auto !important;
}

/* ==========================================================================
   HERO SEARCH BAR & INTERACTIVE LOOKUP
   ========================================================================== */
.atlas-hero-search-wrap {
  max-width: 680px;
  margin: 36px auto 0 auto;
  position: relative;
}

.atlas-hero-search-bar {
  display: flex;
  align-items: center;
  background: rgba(14, 18, 28, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 8px 10px 8px 18px;
  transition: all 0.25s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.atlas-hero-search-bar:focus-within {
  border-color: #facc15;
  box-shadow: 0 0 25px rgba(250, 204, 21, 0.25), 0 12px 35px rgba(0, 0, 0, 0.85);
}

.atlas-search-prefix {
  color: rgba(255, 255, 255, 0.45);
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 16px;
  margin-right: 4px;
  user-select: none;
}

.atlas-search-input {
  flex: 1;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-family: ui-monospace, SFMono-Regular, monospace !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  padding: 6px 0 !important;
  margin: 0 !important;
}

.atlas-search-input::placeholder {
  color: rgba(255, 255, 255, 0.35) !important;
  font-weight: 400 !important;
}

.atlas-search-suffix {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 18px;
  font-weight: 700;
  color: #facc15;
  margin-right: 14px;
  user-select: none;
}

.atlas-search-submit-btn {
  background: #facc15 !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 11px 24px !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 16px rgba(250, 204, 21, 0.4) !important;
}

.atlas-search-submit-btn:hover,
.atlas-search-submit-btn:focus,
.atlas-search-submit-btn:active {
  background: #ffffff !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4) !important;
}

.atlas-search-trending {
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.atlas-trend-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  padding: 3px 11px;
  border-radius: 999px;
  font-family: ui-monospace, monospace;
  font-size: 11.5px;
  cursor: pointer;
  transition: all 0.2s;
}

.atlas-trend-pill:hover {
  border-color: #facc15;
  color: #facc15;
  background: rgba(250, 204, 21, 0.12);
}

.atlas-search-status-card {
  display: none;
  max-width: 680px;
  margin: 18px auto 0 auto;
  border-radius: 10px;
  padding: 14px 18px;
  text-align: left;
  font-size: 13.5px;
  line-height: 1.5;
  box-sizing: border-box;
}

.atlas-search-status-card.status-available {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
}

.atlas-search-status-card.status-reserved {
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.4);
  color: #fef08a;
}

/* ==========================================================================
   PIONEERS CAROUSEL & CARDS
   ========================================================================== */
.atlas-carousel-wrapper {
  position: relative;
  margin-top: 24px;
}

.atlas-carousel-btn {
  position: absolute;
  top: calc(50% - 24px);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(12, 16, 26, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  user-select: none;
}

.atlas-carousel-prev {
  left: -20px;
}

.atlas-carousel-next {
  right: -20px;
}

.atlas-carousel-btn:hover {
  background: rgba(250, 204, 21, 0.2);
  border-color: #facc15;
  color: #facc15;
  transform: scale(1.08);
}

.atlas-carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 16px 6px 32px 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.atlas-carousel-track::-webkit-scrollbar {
  display: none;
}

.atlas-pioneer-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: rgba(12, 16, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.28s ease;
  text-align: left;
  position: relative;
}

.atlas-pioneer-card:hover {
  border-color: rgba(250, 204, 21, 0.55);
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.9), 0 0 24px rgba(250, 204, 21, 0.14);
}

.atlas-pioneer-media {
  height: 175px;
  position: relative;
  overflow: hidden;
  background: #060913;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.atlas-pioneer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.3s ease;
}

.atlas-pioneer-card:hover .atlas-pioneer-img {
  transform: scale(1.02);
}

.atlas-pioneer-coords {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-family: ui-monospace, monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.85);
  padding: 3px 7px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
}

.atlas-pioneer-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.atlas-pioneer-tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #facc15;
  margin-bottom: 8px;
}

.atlas-pioneer-title {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  letter-spacing: -0.2px;
  margin: 0 0 4px 0 !important;
}

.atlas-pioneer-link-title {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.atlas-pioneer-link-title:hover {
  color: #facc15 !important;
}

.atlas-pioneer-usecase-row {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.atlas-pioneer-usecase-tag {
  color: #facc15;
  font-weight: 600;
}

.atlas-pioneer-desc {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  margin: 6px 0 18px 0;
  flex: 1;
}

.atlas-pioneer-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  margin-top: auto;
}

.atlas-btn-details {
  flex: 1;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.atlas-btn-details:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
}

.atlas-btn-query {
  background: transparent;
  border: 1px solid rgba(250, 204, 21, 0.35);
  color: #facc15;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.atlas-btn-query:hover {
  background: rgba(250, 204, 21, 0.12);
  border-color: #facc15;
}

/* ==========================================================================
   PIONEER DETAILS MODAL DIALOG
   ========================================================================== */
#atlas-pioneer-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

#atlas-pioneer-modal.atlas-modal-open {
  display: flex;
}

.atlas-modal-box {
  position: relative;
  width: 100%;
  max-width: 600px;
  background: #0c0f18;
  border: 1px solid rgba(250, 204, 21, 0.35);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(250, 204, 21, 0.12);
  padding: 28px;
  box-sizing: border-box;
  animation: atlas-modal-pop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

@keyframes atlas-modal-pop {
  0% { opacity: 0; transform: scale(0.94); }
  100% { opacity: 1; transform: scale(1); }
}

.atlas-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.atlas-modal-close:hover {
  background: rgba(250, 204, 21, 0.2);
  border-color: #facc15;
  color: #facc15;
}

.atlas-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.atlas-modal-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #facc15;
}

.atlas-modal-title {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 6px 0 14px 0;
}

.atlas-modal-preview {
  width: 100%;
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #060913;
}

.atlas-modal-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.atlas-modal-desc-box {
  margin-bottom: 16px;
}

.atlas-modal-desc-lbl {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
}

.atlas-modal-desc-txt {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.atlas-modal-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}

.atlas-modal-spec-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 12px;
}

.atlas-modal-spec-lbl {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 2px;
}

.atlas-modal-spec-val {
  font-size: 12px;
  font-family: ui-monospace, monospace;
  font-weight: 600;
  color: #ffffff;
}

.atlas-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.atlas-modal-btn-primary {
  flex: 1;
  background: #facc15;
  color: #000000;
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.atlas-modal-btn-primary:hover {
  background: #ffffff;
  color: #000000;
}

.atlas-modal-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  padding: 11px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.atlas-modal-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* ==========================================================================
   SPATIAL ARCHITECTURE (4 PILLARS)
   ========================================================================== */
.atlas-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.atlas-pillar-card {
  background: rgba(12, 16, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: all 0.25s ease;
}

.atlas-pillar-card:hover {
  border-color: rgba(250, 204, 21, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.85);
}

.atlas-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #facc15;
  margin-bottom: 18px;
}

.atlas-pillar-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 10px 0 !important;
}

.atlas-pillar-desc {
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  margin: 0 0 18px 0 !important;
  flex: 1;
}

.atlas-pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.atlas-pillar-tag {
  font-size: 10px;
  font-family: ui-monospace, monospace;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   LAUNCH ROADMAP (3 PHASES)
   ========================================================================== */
.atlas-phases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.atlas-phase-card {
  background: rgba(12, 16, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
  transition: all 0.25s ease;
}

.atlas-phase-card:hover {
  border-color: rgba(250, 204, 21, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.85);
}

.atlas-phase-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.atlas-phase-num {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #facc15;
}

.atlas-phase-date {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 9px;
  border-radius: 6px;
}

.atlas-phase-title {
  font-size: 19px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 10px 0 !important;
}

.atlas-phase-desc {
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  margin: 0 0 20px 0 !important;
  flex: 1;
}

.atlas-phase-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   ACCREDITED REGISTRARS GRID & CALL TO ACTION
   ========================================================================== */
.atlas-registrars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.atlas-registrar-card {
  background: rgba(14, 18, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.2s ease;
}

.atlas-registrar-card:hover {
  border-color: rgba(250, 204, 21, 0.4);
  transform: translateY(-2px);
  background: rgba(20, 25, 38, 0.95);
}

.atlas-registrar-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.2px;
}

.atlas-registrar-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.atlas-registrar-cta-wrap {
  max-width: 900px;
  margin: 48px auto 0 auto;
  background: linear-gradient(180deg, rgba(20, 25, 38, 0.6) 0%, rgba(10, 13, 20, 0.9) 100%);
  border: 1px solid rgba(250, 204, 21, 0.25);
  border-radius: 16px;
  padding: 32px 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .atlas-heading-title {
    font-size: 26px !important;
  }
  .atlas-carousel-btn {
    display: none;
  }
  .atlas-carousel-wrapper {
    padding: 0;
  }
  .atlas-pioneer-card {
    flex: 0 0 280px;
  }
  .atlas-modal-specs-grid {
    grid-template-columns: 1fr;
  }
  .atlas-registrar-cta-wrap {
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   AGENCY ENTRANCE HERO SECTION & BRAND SLIDER
   ========================================================================== */
.atlas-agency-hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px 30px 20px;
  background: radial-gradient(circle at 50% 15%, rgba(250, 204, 21, 0.08) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.75) 100%) !important;
  box-sizing: border-box;
  overflow: hidden;
}

.atlas-agency-hero-content {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.atlas-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 6px 18px 6px 8px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.atlas-avatar-stack {
  display: flex;
  align-items: center;
}

.atlas-avatar-stack img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #000000;
  object-fit: cover;
  margin-left: -8px;
}

.atlas-avatar-stack img:first-child {
  margin-left: 0;
}

.atlas-stars-wrap {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #facc15;
  font-size: 13px;
}

.atlas-trust-text {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.atlas-agency-hero-title {
  font-size: 58px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -1.2px !important;
  color: #ffffff !important;
  margin: 0 0 20px 0 !important;
}

.atlas-gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #facc15 50%, #eab308 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.atlas-agency-hero-desc {
  font-size: 18px !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  max-width: 760px !important;
  margin: 0 auto 36px auto !important;
}

.atlas-agency-hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.atlas-btn-primary-hero,
.atlas-btn-primary-hero:link,
.atlas-btn-primary-hero:visited,
.atlas-btn-primary-hero:hover,
.atlas-btn-primary-hero:focus,
.atlas-btn-primary-hero:active {
  background: #facc15 !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 14px 32px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 20px rgba(250, 204, 21, 0.35) !important;
}

.atlas-btn-primary-hero *,
.atlas-btn-primary-hero span,
.atlas-btn-primary-hero svg {
  color: #000000 !important;
  fill: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  text-decoration: none !important;
}

.atlas-btn-primary-hero:hover {
  background: #ffffff !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4) !important;
}

.atlas-btn-primary-hero:hover *,
.atlas-btn-primary-hero:hover span {
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

.atlas-btn-secondary-hero {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 14px 28px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  backdrop-filter: blur(8px);
}

.atlas-btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  transform: translateY(-2px);
}

/* Brand Slider Infinite Marquee */
.atlas-brand-slider-wrap {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 10, 15, 0.7);
  padding: 24px 0;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.atlas-brand-slider-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
  text-align: center;
}

.atlas-marquee-track {
  display: flex;
  width: max-content;
  animation: atlas-marquee-scroll 32s linear infinite;
}

.atlas-marquee-track:hover {
  animation-play-state: paused;
}

.atlas-marquee-content {
  display: flex;
  align-items: center;
  gap: 60px;
  padding-right: 60px;
}

.atlas-brand-item {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.72;
  transition: opacity 0.2s ease, transform 0.2s ease;
  user-select: none;
}

.atlas-brand-item:hover {
  opacity: 1;
  transform: scale(1.06);
}

.atlas-brand-item img {
  height: 24px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.atlas-brand-item span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #ffffff;
}

@keyframes atlas-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Scroll down chevron indicator */
.atlas-scroll-indicator-wrap {
  margin-top: 24px;
}

.atlas-scroll-indicator-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.atlas-scroll-indicator-link:hover {
  color: #facc15;
}

.atlas-bounce-arrow {
  animation: atlas-bounce 2s infinite;
  font-size: 20px;
  color: #facc15;
}

@keyframes atlas-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

@media (max-width: 768px) {
  .atlas-agency-hero-title {
    font-size: 36px !important;
  }
  .atlas-agency-hero-desc {
    font-size: 15px !important;
  }
  .atlas-btn-primary-hero, .atlas-btn-secondary-hero {
    width: 100%;
    justify-content: center;
  }
}

/* Header Brand Logo Alignment */
.atlas-main-brand-logo {
  height: 38px !important;
  width: auto !important;
  max-height: 42px !important;
  display: block !important;
  vertical-align: middle;
}

/* ==========================================================================
   GLOBAL HIGH-CONTRAST ACCESSIBILITY: YELLOW BUTTONS WITH PURE BLACK TEXT
   ========================================================================== */
a[style*="facc15"],
button[style*="facc15"],
.atlas-btn-primary-hero,
.atlas-search-submit-btn,
.atlas-modal-btn-primary,
.atlas-btn-registrar,
.atlas-btn-yellow {
  background-color: #facc15 !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}

a[style*="facc15"]:link,
a[style*="facc15"]:visited,
a[style*="facc15"]:hover,
a[style*="facc15"]:focus,
a[style*="facc15"]:active,
a[style*="facc15"] *,
a[style*="facc15"] span,
button[style*="facc15"] *,
button[style*="facc15"] span,
.atlas-btn-primary-hero:link,
.atlas-btn-primary-hero:visited,
.atlas-btn-primary-hero:hover,
.atlas-btn-primary-hero:focus,
.atlas-btn-primary-hero:active,
.atlas-btn-primary-hero *,
.atlas-btn-primary-hero span,
.atlas-search-submit-btn:link,
.atlas-search-submit-btn:visited,
.atlas-search-submit-btn:hover,
.atlas-search-submit-btn:focus,
.atlas-search-submit-btn:active,
.atlas-search-submit-btn *,
.atlas-search-submit-btn span,
.atlas-modal-btn-primary:link,
.atlas-modal-btn-primary:visited,
.atlas-modal-btn-primary:hover,
.atlas-modal-btn-primary:focus,
.atlas-modal-btn-primary:active,
.atlas-modal-btn-primary *,
.atlas-btn-registrar:link,
.atlas-btn-registrar:visited,
.atlas-btn-registrar:hover,
.atlas-btn-registrar:focus,
.atlas-btn-registrar:active,
.atlas-btn-registrar *,
.atlas-btn-registrar span {
  color: #000000 !important;
  fill: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
}
