/* ================================================================
   BluminAI — Homepage Styles
   ================================================================ */

/* ── Keyframe Animations ── */
@keyframes hp-float {
  0%,100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(1deg); }
  66% { transform: translateY(-6px) rotate(-1deg); }
}
@keyframes hp-spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes hp-spin-reverse {
  from { transform: rotate(360deg); }
  to   { transform: rotate(0deg); }
}
@keyframes hp-pulse-ring {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(2.2); opacity: 0; }
}
@keyframes hp-shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes hp-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hp-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes hp-scale-in {
  from { opacity: 0; transform: scale(.94); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes hp-blob-move {
  0%,100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: translate(0,0) scale(1); }
  33%  { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: translate(20px,-15px) scale(1.05); }
  66%  { border-radius: 50% 50% 40% 60% / 30% 60% 40% 70%; transform: translate(-10px,10px) scale(.97); }
}
@keyframes hp-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes hp-counter {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hp-border-rotate {
  from { --hp-angle: 0deg; }
  to   { --hp-angle: 360deg; }
}
@keyframes hp-glow-pulse {
  0%,100% { box-shadow: 0 0 20px rgba(59,130,246,.3), 0 0 40px rgba(59,130,246,.1); }
  50% { box-shadow: 0 0 40px rgba(59,130,246,.5), 0 0 80px rgba(236,72,153,.2); }
}
@keyframes hp-typing {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes hp-blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── Section Base ── */
.hp-section {
  position: relative;
  overflow: hidden;
}

/* ── Section Labels ── */
.hp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #60a5fa;
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.25);
  border-radius: 9999px;
  padding: 5px 14px;
  margin-bottom: 20px;
}
.hp-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #60a5fa;
  animation: hp-glow-pulse 2s ease-in-out infinite;
}

/* ── Headings ── */
.hp-h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
  color: #f0f6ff;
}
.hp-h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.15;
  color: #f0f6ff;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.hp-grad-text {
  background: linear-gradient(90deg, #60a5fa, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: hp-shimmer 4s linear infinite;
}
.hp-grad-text-blue {
  background: linear-gradient(90deg, #93c5fd, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Glass Card ── */
.hp-glass {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: background .25s, transform .25s, box-shadow .25s;
}
.hp-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(59,130,246,.4), rgba(236,72,153,.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .25;
  transition: opacity .25s;
  pointer-events: none;
}
.hp-glass:hover { background: rgba(255,255,255,.07); transform: translateY(-3px); }
.hp-glass:hover::before { opacity: .7; }

/* ── Buttons ── */
.hp-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .9rem;
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #db2777 100%);
  border: none; border-radius: 9999px;
  padding: 14px 28px;
  cursor: pointer; text-decoration: none;
  position: relative; overflow: hidden;
  transition: box-shadow .25s, transform .15s;
  box-shadow: 0 0 24px rgba(59,130,246,.35);
}
.hp-btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.1);
  opacity: 0; transition: opacity .2s;
}
.hp-btn-primary:hover { box-shadow: 0 0 40px rgba(59,130,246,.55), 0 0 80px rgba(236,72,153,.2); transform: translateY(-1px); color: #fff; }
.hp-btn-primary:hover::after { opacity: 1; }

.hp-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .9rem;
  color: #94a3b8;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 9999px;
  padding: 13px 24px;
  cursor: pointer; text-decoration: none;
  transition: all .25s;
}
.hp-btn-ghost:hover { background: rgba(255,255,255,.08); color: #f0f6ff; border-color: rgba(59,130,246,.4); }

/* ── Dividers ── */
.hp-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,.4), rgba(236,72,153,.3), transparent);
  border: none; margin: 0;
}

/* ── Noise Overlay ── */
.hp-noise::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0;
}

/* ── Responsive Helpers ── */
@media (max-width: 768px) {
  .hp-hide-mobile { display: none !important; }
}
@media (min-width: 769px) {
  .hp-hide-desktop { display: none !important; }
}

