/**
 * content-pages.css
 * Shared styles for Framistik content pages (home, showcase, etc.)
 */

/* ── Glow effects ── */
.glow-cyan {
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.5), 0 0 40px rgba(56, 189, 248, 0.3);
}

.glow-box {
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.2), 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

/* ── Animated border ── */
.animated-border {
  position: relative;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(59, 130, 246, 0.1));
  border-radius: 16px;
  overflow: hidden;
}

.animated-border::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(45deg, #38bdf8, #3b82f6, #38bdf8);
  background-size: 200% 200%;
  animation: borderGlow 3s ease infinite;
  border-radius: 18px;
  z-index: -1;
  opacity: 0.5;
}

@keyframes borderGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ── Tech badge ── */
.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  color: #38bdf8;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tech-badge i {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ── Section divider ── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), transparent);
  margin: 4rem 0;
}

.section-divider.compact {
  margin: 0;
}

/* ── CTA button ── */
.btn-cta-tech {
  background: linear-gradient(135deg, #38bdf8, #3b82f6);
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.3);
  color: #fff;
}

.btn-cta-tech:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.4);
  color: #fff;
}

/* ── Stats ── */
.stat-item {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #38bdf8, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: #94a3b8;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Showcase text link ── */
.hero-showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  color: #38bdf8;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-showcase-link:hover {
  color: #7dd3fc;
  border-bottom-color: rgba(56, 189, 248, 0.4);
}

.hero-showcase-link .bi-arrow-right {
  transition: transform 0.2s ease;
}

.hero-showcase-link:hover .bi-arrow-right {
  transform: translateX(3px);
}
