/*
  Aurora UI overrides for Ethereal.
  Remove this <link> from index.html to revert all changes here.
*/

/* Language switcher */
.language-switch {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10050;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(10, 16, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.language-switch a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.language-switch a:hover {
  color: #ffffff;
}

.language-switch a[aria-current="page"] {
  color: #ffffff;
}

.language-switch span {
  color: rgba(255, 255, 255, 0.4);
}

@media screen and (max-width: 736px) {
  .language-switch {
    top: 0.6rem;
    right: 0.6rem;
    padding: 0.4rem 0.65rem;
    font-size: 0.66rem;
  }
}

/* ── Icon hover highlight ── */
.grid-icons li .icon {
  position: relative;
  transition: transform 0.2s ease, filter 0.2s ease;
  cursor: default;
  overflow: visible;
}

.grid-icons li {
  overflow: visible;
}

.grid-icons {
  overflow: visible;
}

.panel .inner {
  overflow: visible;
}

.grid-icons li .icon:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.7));
}

/* ── Tooltip balloon ── */
.grid-icons li .icon .label {
  /* override Ethereal's display:none */
  display: block !important;
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: unset !important;

  background: rgba(15, 15, 25, 0.9);
  color: #ffffff;
  padding: 0.35em 0.85em;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 999;
}

/* arrow */
.grid-icons li .icon .label::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(15, 15, 25, 0.9);
}

/* show on hover */
.grid-icons li .icon:hover .label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Tooltip position fix for right-column icons (3rd, 6th...) ── */
.grid-icons li:nth-child(3n) .icon .label {
  left: auto;
  right: 0;
  transform: translateX(0) translateY(4px);
}
.grid-icons li:nth-child(3n) .icon .label::after {
  left: auto;
  right: 1.5rem;
  transform: none;
}
.grid-icons li:nth-child(3n) .icon:hover .label {
  transform: translateX(0) translateY(0);
}

/* ── Visual enhancement for intro color2 (with gallery preserved) ── */
.intro.color2 .eyebrow {
  margin: 0 0 0.4rem 0;
  color: #f8fafa;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.intro.color2 .major {
  margin-bottom: 0.7rem;
}

.intro.color2 .aurora-mini-flow {
  list-style: none;
  margin: 1rem 0 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.intro.color2 .aurora-mini-flow li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(19, 35, 44, 0.14);
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.8rem;
  padding: 0.5rem 0.65rem;
  font-size: 0.8rem;
  line-height: 1.3;
  color: rgba(20, 48, 59, 0.92);
}

.intro.color2 .aurora-mini-flow li span {
  flex: 0 0 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f2ac3f;
  color: #14303b;
  font-size: 0.8rem;
  font-weight: 800;
}

@media screen and (max-width: 980px) {
  .intro.color2 .aurora-mini-flow li {
    font-size: 0.75rem;
  }
}

/* ── How Aurora Works section ── */
.aurora-how-intro {
  width: 100%;
  max-width: none;
  padding: 2.75rem 3rem !important;
}

.aurora-how-intro .eyebrow {
  margin: 0 0 0.5rem 0;
  color: #0e7377;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.aurora-how-intro .major {
  margin-bottom: 1.25rem;
}

.aurora-steps {
  display: grid;
  gap: 1rem;
}

.aurora-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid rgba(19, 35, 44, 0.14);
  border-radius: 1.4rem;
  padding: 1.35rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
}

.aurora-step-num {
  flex: 0 0 3.1rem;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f2ac3f;
  color: #14303b;
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1;
}

.aurora-step h3 {
  margin: 0 0 0.25rem 0;
  font-size: 2.05rem;
  line-height: 1.15;
}

.aurora-step p {
  margin: 0;
  color: rgba(36, 54, 63, 0.88);
  font-size: 1.5rem;
  line-height: 1.35;
}

@media screen and (max-width: 980px) {
  .aurora-how-intro {
    padding: 2rem 1.5rem !important;
  }

  .aurora-step {
    padding: 1rem 1rem;
  }

  .aurora-step-num {
    flex-basis: 2.4rem;
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1.15rem;
  }

  .aurora-step h3 {
    font-size: 1.5rem;
  }

  .aurora-step p {
    font-size: 1.15rem;
  }
}

/* Video thumbnail badge (top-right) */
.gallery a.video-thumb {
  position: relative;
}

.gallery a.video-thumb .video-play-badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 999px;
  background: rgba(10, 20, 28, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 0.35rem 0.9rem rgba(0, 0, 0, 0.28);
  pointer-events: none;
  z-index: 2;
}

.gallery a.video-thumb .video-play-badge::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-top: 0.33rem solid transparent;
  border-bottom: 0.33rem solid transparent;
  border-left: 0.52rem solid rgba(255, 255, 255, 0.95);
  pointer-events: none;
}

/* Match custom spotlight panel width to span-2-5 (25rem) */
.panel.panel-video-25 {
  width: 25rem !important;
}

/* Slightly wider capabilities panel */
.panel.panel-capabilities-wide {
  width: 48rem !important;
}

@media screen and (max-width: 736px) {
  .panel.panel-video-25 {
    width: 100% !important;
  }

  .panel.panel-capabilities-wide {
    width: 100% !important;
  }
}

/* Cloud reliability intro block (screenshot-style adapted to panel size) */
.intro.color2.cloud-reliability-intro {
  width: 44rem;
  max-width: 44rem;
  padding: 2rem 2rem 1.5rem 2rem !important;
}

.intro.color2.cloud-reliability-intro .eyebrow {
  margin: 0 0 0.45rem 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.9);
}

.intro.color2.cloud-reliability-intro .major {
  margin: 0 0 0.7rem 0;
  font-size: 2.05rem;
  line-height: 1.12;
  color: #ffffff;
}

.intro.color2.cloud-reliability-intro > p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.86);
}

.intro.color2.cloud-reliability-intro .cloud-reliability-grid {
  list-style: none;
  margin: 1rem 0 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.intro.color2.cloud-reliability-intro .cloud-reliability-grid li {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.95rem;
  padding: 0.85rem 0.9rem;
}

.intro.color2.cloud-reliability-intro .cloud-reliability-grid h3 {
  margin: 0 0 0.4rem 0;
  font-size: 1rem;
  line-height: 1.2;
  color: #ffffff;
}

.intro.color2.cloud-reliability-intro .cloud-reliability-grid h3 .icon {
  margin-right: 0.45rem;
  color: #ffffff;
  opacity: 0.92;
}

.intro.color2.cloud-reliability-intro .cloud-reliability-grid p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.84);
}

@media screen and (max-width: 980px) {
  .intro.color2.cloud-reliability-intro {
    width: 100%;
    max-width: none;
    padding: 1.6rem 1.4rem 1.2rem 1.4rem !important;
  }

  .intro.color2.cloud-reliability-intro .major {
    font-size: 1.6rem;
  }

  .intro.color2.cloud-reliability-intro .cloud-reliability-grid {
    grid-template-columns: 1fr;
  }
}

/* Panel 3 solutions layout (screenshot-inspired) */
.panel.panel-solutions .content {
  width: 100%;
}

.panel.panel-solutions .solutions-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 24rem) minmax(22rem, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.panel.panel-solutions .solutions-lead .eyebrow {
  margin: 0 0 0.45rem 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel.panel-solutions .solutions-lead .major {
  margin: 0 0 0.85rem 0;
  color: #ffffff;
}

.panel.panel-solutions .solutions-lead > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  line-height: 1.45;
}

.panel.panel-solutions .solutions-grid-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.panel.panel-solutions .solution-card {
  display: block;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(1px);
  padding: 0.9rem 1rem;
  min-height: 9.1rem;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.panel.panel-solutions .solution-card:hover,
.panel.panel-solutions .solution-card:focus-visible {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: 0 0.7rem 1.6rem rgba(6, 12, 18, 0.25);
}

.panel.panel-solutions .solution-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 2px;
}

.panel.panel-solutions .solution-card h3 {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  margin: 0 0 0.45rem 0;
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1.2;
}

.panel.panel-solutions .solution-card h3 .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.76rem;
}

.panel.panel-solutions .solution-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  line-height: 1.35;
}

@media screen and (max-width: 980px) {
  .panel.panel-solutions .solutions-layout {
    grid-template-columns: 1fr;
  }

  .panel.panel-solutions .solutions-grid-cards {
    grid-template-columns: 1fr;
  }

  .panel.panel-solutions .solution-card {
    min-height: 0;
  }
}

/* Academy + FAQ panel */
.panel.color2-alt .academy-intro {
  width: 26rem;
}

.panel.color2-alt .academy-logo {
  display: block;
  width: 8.8rem;
  height: auto;
  margin: -2rem auto 0.6rem auto;
}

.panel.color2-alt .academy-intro .eyebrow {
  margin: 0 0 0.45rem 0;
  color: #ffffff;
  font-size: 0.82rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 700;
}

.panel.color2-alt .academy-intro .major {
  margin-bottom: 0.75rem;
}

.panel.color2-alt .academy-intro p {
  margin-bottom: 0.8rem;
}

.panel.color2-alt .faq-inner {
  display: block;
}

.panel.color2-alt .faq-inner .eyebrow {
  margin: 0 0 0.35rem 0;
  color: #ffffff;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.panel.color2-alt .faq-inner h2 {
  margin: 0 0 1rem 0;
}

.panel.color2-alt .faq-accordion {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.panel.color2-alt .faq-accordion .faq-item {
  border: 1px solid rgba(18, 33, 43, 0.14);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.68);
  overflow: hidden;
}

.panel.color2-alt .faq-accordion .faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 0.8rem 1rem;
  font-weight: 700;
  color: #152830;
  position: relative;
  padding-right: 2.4rem;
}

.panel.color2-alt .faq-accordion .faq-item summary::-webkit-details-marker {
  display: none;
}

.panel.color2-alt .faq-accordion .faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: #0f6d70;
  font-size: 1.1rem;
  font-weight: 700;
}

.panel.color2-alt .faq-accordion .faq-item[open] summary::after {
  content: '-';
}

.panel.color2-alt .faq-accordion .faq-item p {
  margin: 0;
  padding: 0 1rem 0.95rem 1rem;
  color: rgba(22, 37, 45, 0.88);
  font-size: 0.95rem;
  line-height: 1.45;
}

@media screen and (max-width: 980px) {
  .panel.color2-alt .academy-intro {
    width: 100%;
  }

  .panel.color2-alt .faq-accordion {
    grid-template-columns: 1fr;
  }
}

/* Copyright fixed at viewport bottom-right */
.copyright-fixed {
  position: fixed !important;
  left: auto !important;
  right: 1.25rem !important;
  bottom: 0.9rem !important;
  width: auto !important;
  display: block;
  text-align: right !important;
  z-index: 10000;
}

@media screen and (max-width: 736px) {
  .copyright-fixed {
    position: fixed !important;
    left: auto !important;
    right: 0.9rem !important;
    bottom: 0.7rem !important;
    width: auto !important;
    text-align: right !important;
  }
}

/* Floating CTA to nudge contact form conversion */
.lead-capture-prompt {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  width: min(24rem, calc(100vw - 2rem));
  background: rgba(13, 32, 45, 0.96);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 0.9rem;
  padding: 0.95rem 1rem;
  box-shadow: 0 0.9rem 1.9rem rgba(0, 0, 0, 0.34);
  z-index: 9000;
  animation: leadPromptPulse 2.4s ease-in-out infinite;
}

.lead-capture-prompt p {
  margin: 0 0 0.65rem 0;
  font-size: 1rem;
  line-height: 1.35;
}

.lead-capture-actions {
  display: flex;
  gap: 0.5rem;
}

.lead-capture-actions button {
  border: 0;
  border-radius: 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.58rem 0.78rem;
  cursor: pointer;
}

#lead-capture-go {
  background: #f2ac3f;
  color: #112631;
}

#lead-capture-close {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

@keyframes leadPromptPulse {
  0% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}

@media screen and (max-width: 736px) {
  .lead-capture-prompt {
    left: 0.7rem;
    right: 0.7rem;
    width: auto;
    bottom: 3.2rem;
  }
}


