html {
    scroll-behavior: smooth;
}

/* Starfield pattern */
.starfield {
    background-image:
        radial-gradient(circle, rgba(156, 185, 218, 0.15) 1px, transparent 1px),
        radial-gradient(circle, rgba(156, 185, 218, 0.08) 1px, transparent 1px);
    background-size: 40px 40px, 90px 90px;
    background-position: 0 0, 45px 45px;
}

/* Sphere rotation */
@keyframes sphere-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.sphere-spin {
    animation: sphere-rotate 60s infinite linear;
}
.sphere-glow {
    filter: drop-shadow(0 0 40px rgba(96, 133, 170, 0.4));
}

/* FAQ accordion */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.faq-answer.open {
    max-height: 500px;
}
.faq-chevron {
    transition: transform 0.3s ease;
}
.faq-chevron.open {
    transform: rotate(180deg);
}

/* Badge pills */
.badge-pill {
    display: inline-block;
    background: white;
    color: #232C46;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(35, 44, 70, 0.1);
}

/* Process connector line */
.process-grid {
    position: relative;
}
@media (min-width: 768px) {
    .process-grid::before {
        content: "";
        position: absolute;
        top: 20px;
        left: calc(20px + 2rem);
        right: calc(20px + 2rem);
        height: 2px;
        background: linear-gradient(to right, #0065b1, #232C46, #232C46, #232C46);
        z-index: 0;
    }
}

/* Ticker marquee */
.ticker-container {
  overflow-x: auto;
  position: relative;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.ticker-container::-webkit-scrollbar {
  display: none;
}
.ticker-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  cursor: grab;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.ticker-track.dragging {
  cursor: grabbing;
}
.ticker-card {
  flex-shrink: 0;
  min-width: 320px;
}

/* Cabinet Gantt chart */
.gantt-diamond {
  width: 10px;
  height: 10px;
  z-index: 2;
}
.gantt-today-line {
  width: 0;
  border-left: 2px dashed #6085AA;
  opacity: 0.6;
  z-index: 1;
}
