/* ===== HOME PAGE — "PRISM" v7.0 ===== */
/* Aurora hero · Bento services · Stats strip · Marquee */

/* === HERO with animated aurora === */
.home-hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding-top: var(--nav-height);
  background: var(--bg);
}

/* Animated aurora gradient blobs */
.home-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 45% 35% at 60% 20%, rgba(139,92,246,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 30% 45% at 20% 60%, rgba(59,130,246,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 35% 30% at 80% 75%, rgba(236,72,153,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 25% 25% at 40% 90%, rgba(6,182,212,0.08) 0%, transparent 60%);
  animation: auroraShift 12s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes auroraShift {
  0% { transform: scale(1) rotate(0deg); opacity: 0.8; }
  50% { transform: scale(1.05) rotate(1deg); opacity: 1; }
  100% { transform: scale(1.02) rotate(-1deg); opacity: 0.9; }
}

/* Dot grid overlay */
.home-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-content h1 { margin-bottom: 20px; line-height: 1.05; }
.hero-content p { font-size: 1.12rem; margin-bottom: 36px; max-width: 540px; color: var(--text-secondary); }

/* Hero badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px; margin-bottom: 28px;
  background: rgba(139,92,246,0.08); border: 1px solid rgba(139,92,246,0.2);
  border-radius: var(--radius-full); font-family: 'Sora', sans-serif;
  font-size: 0.76rem; font-weight: 700; color: var(--violet);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.hero-badge .badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--violet);
  animation: dotPulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px var(--violet);
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* Floating abstract shapes on the right */
.hero-visual {
  position: absolute; top: 50%; right: 3%; transform: translateY(-50%);
  width: 480px; height: 480px; pointer-events: none; z-index: 1;
}

/* Animated blobs */
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(60px);
  animation: blobFloat 10s ease-in-out infinite;
}
.hero-blob-1 {
  width: 240px; height: 240px; top: 5%; left: 5%;
  background: rgba(139,92,246,0.2); animation-delay: 0s;
}
.hero-blob-2 {
  width: 180px; height: 180px; top: 35%; right: 5%;
  background: rgba(236,72,153,0.15); animation-delay: -3s;
}
.hero-blob-3 {
  width: 140px; height: 140px; bottom: 10%; left: 25%;
  background: rgba(6,182,212,0.12); animation-delay: -6s;
}

/* Rotating ring */
.hero-ring {
  position: absolute; top: 50%; left: 50%;
  width: 280px; height: 280px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(139,92,246,0.15);
  border-radius: 50%;
  animation: ringRotate 20s linear infinite;
}
.hero-ring::before {
  content: ''; position: absolute; top: -4px; left: 50%;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--violet); box-shadow: 0 0 16px var(--violet);
}

@keyframes blobFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  25% { transform: translate(20px,-25px) scale(1.05); }
  50% { transform: translate(-15px,20px) scale(0.95); }
  75% { transform: translate(25px,15px) scale(1.03); }
}
@keyframes ringRotate { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* Legacy compat */
.hero-orb, .hero-orb-center, .hero-grid { display: none; }

/* === MARQUEE === (after hero) */
/* Already defined in style.css */

/* === Bento Services === */
.services-bento { padding: 80px 0; }
.services-bento .bento-item h3 { font-size: 1.15rem; }
.services-bento .bento-item p { line-height: 1.6; }
.bento-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Sora', sans-serif; font-size: 0.82rem; font-weight: 600;
  color: var(--violet); margin-top: 16px;
  transition: gap var(--transition), color var(--transition);
}
.bento-link:hover { gap: 10px; color: var(--pink); }

/* === Timeline v2 — horizontal steps === */
.timeline-h {
  display: flex; gap: 0; position: relative; margin: 0 auto; max-width: 100%;
}
.timeline-h::before {
  content: ''; position: absolute; top: 28px; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, var(--violet), var(--blue), var(--cyan), var(--pink));
  border-radius: 2px;
}
.timeline-h-step {
  flex: 1; text-align: center; position: relative; padding-top: 56px;
}
.timeline-h-dot {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--violet);
  z-index: 1; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 20px rgba(139,92,246,0.3);
}
.timeline-h-dot span {
  font-family: 'Sora', sans-serif; font-size: 0.65rem;
  font-weight: 800; color: var(--violet);
}
.timeline-h-step h4 {
  font-size: 0.92rem; font-weight: 600; margin-bottom: 6px;
}
.timeline-h-step p { font-size: 0.82rem; color: var(--text-secondary); padding: 0 8px; }

/* === Full CTA === */
.home-cta {
  text-align: center; padding: 100px 0; position: relative; overflow: hidden;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.home-cta::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 50% 0%, rgba(139,92,246,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 60% at 80% 100%, rgba(236,72,153,0.04) 0%, transparent 50%),
    var(--bg-subtle);
  pointer-events: none;
}
.home-cta .container { position: relative; z-index: 1; }
.home-cta h2 { margin-bottom: 14px; }
.home-cta p { margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* === Split Feature === */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-text .section-label { margin-bottom: 16px; }
.split-text h2 { margin-bottom: 16px; }
.split-text p { margin-bottom: 24px; }
.feature-list { display: flex; flex-direction: column; gap: 12px; }
.feature-list-item {
  display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); border-left: 3px solid var(--violet);
  transition: all var(--transition);
}
.feature-list-item:hover { transform: translateX(6px); border-color: var(--border-hover); border-left-color: var(--pink); box-shadow: var(--shadow-glow-v); }
.feature-list-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--gradient-card); border: 1px solid var(--border-glow);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.feature-list-content h4 { font-size: 0.92rem; font-weight: 600; margin-bottom: 2px; }
.feature-list-content p { font-size: 0.82rem; }

/* === Responsive === */
@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .split-section { grid-template-columns: 1fr; gap: 40px; }
  .timeline-h { flex-direction: column; gap: 16px; }
  .timeline-h::before { display: none; }
  .timeline-h-step { text-align: left; padding-top: 0; padding-left: 48px; }
  .timeline-h-dot { top: 0; left: 0; transform: none; }
}

@media (max-width: 768px) {
  .home-hero { min-height: auto; padding: 130px 0 70px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; text-align: center; }
  .marquee-track { gap: 32px; }
}
