/*
  Bluejack Group - Custom Components, Cards, White Ticker & Responsive Engine
*/

/* Cards */
.bluejack-card {
  background: var(--titanium-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.bluejack-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(34, 211, 238, 0.1);
}

.bluejack-card img {
  border-radius: 8px;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.bluejack-card .card-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.bluejack-card .card-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Button styles */
.btn-bluejack {
  display: inline-block;
  background: var(--cyan-accent);
  color: #080b12;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid var(--cyan-accent);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-bluejack:hover {
  background: #38bdf8;
  border-color: #38bdf8;
  color: #080b12;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.4);
}

.btn-bluejack-secondary {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-bluejack-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
  color: #ffffff;
}

/* White Ticker Standard */
.ticker-wrap,
.white-running-ticker {
  background: #ffffff !important;
  color: #08080a !important;
  border-top: 2px solid var(--cyan-accent) !important;
  border-bottom: 2px solid var(--cyan-accent) !important;
  overflow: hidden !important;
  padding: 12px 0 !important;
  white-space: nowrap !important;
  position: relative !important;
  z-index: 20 !important;
  box-shadow: 0 4px 18px rgba(0,0,0,0.3) !important;
}

.ticker-track {
  display: inline-block !important;
  white-space: nowrap !important;
  animation: tickerScroll 38s linear infinite !important;
}

.ticker-track:hover {
  animation-play-state: paused !important;
}

.ticker-item {
  display: inline-block !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  color: #08080a !important;
  padding: 0 28px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}

.ticker-item span.bullet {
  color: #0284c7 !important;
  margin-right: 10px !important;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Accordion FAQ */
.faq-item {
  background: var(--titanium-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question::after {
  content: '+';
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.3rem;
  color: var(--cyan-accent);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding: 0 24px 20px 24px;
  max-height: 400px;
}

/* Footer */
.bluejack-footer {
  background: #06090e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 0.88rem;
}

.footer-col-title {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--cyan-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  margin-top: 24px;
  font-size: 0.78rem;
  color: #64748b;
}

.footer-bottom a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #ffffff;
}
