/* 
 * MacroCloud Ultra-Premium Light SaaS Hero
 */

.hero-v2 {
  position: relative;
  background: #ffffff;
  overflow: hidden;
  padding: 160px 0 140px 0;
  color: #0f172a;
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.hero-v2-bg {
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 300px;
  background: radial-gradient(ellipse at bottom, rgba(56, 189, 248, 0.15) 0%, rgba(168, 85, 247, 0.08) 50%, transparent 100%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}

.hero-v2 .container {
  position: relative;
  z-index: 10;
}

/* Typography */
.hero-v2-badge {
  background: #f3e8ff;
  color: #7c3aed;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-v2-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
  color: #0f172a;
}

.hero-v2-title .gradient-text {
  background: linear-gradient(90deg, #3b82f6 0%, #a855f7 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-v2-subtitle {
  font-size: 1.15rem;
  color: #64748b;
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 40px;
}

/* Buttons */
.btn-v2-primary {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
}
.btn-v2-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  color: white;
}

.btn-v2-outline {
  background: white;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
}
.btn-v2-outline:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

/* ==========================================================================
   CSS CONNECTED AI ORB GRAPHIC
   ========================================================================== */
.hero-v2-graphic {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

/* Center Podium */
.orb-podium {
  position: absolute;
  width: 340px;
  height: 100px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.3);
  bottom: 80px;
  transform: rotateX(75deg);
  box-shadow: 
    0 0 40px rgba(56, 189, 248, 0.2),
    inset 0 0 30px rgba(56, 189, 248, 0.2),
    0 20px 40px rgba(0, 0, 0, 0.05);
  z-index: 1;
}
.orb-podium::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 280px; height: 70px;
  border-radius: 50%;
  border: 2px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

/* Center AI Glowing Orb */
.ai-orb {
  position: absolute;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle at 30% 30%, #ffffff, #a855f7 40%, #3b82f6 80%, #1e3a8a 100%);
  border-radius: 50%;
  bottom: 120px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  box-shadow: 
    0 0 60px rgba(56, 189, 248, 0.6),
    inset -10px -10px 20px rgba(0,0,0,0.2),
    inset 10px 10px 20px rgba(255,255,255,0.8);
  animation: float-orb 6s ease-in-out infinite;
}

@keyframes float-orb {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 60px rgba(56, 189, 248, 0.6), inset -10px -10px 20px rgba(0,0,0,0.2), inset 10px 10px 20px rgba(255,255,255,0.8); }
  50% { transform: translateY(-15px); box-shadow: 0 20px 80px rgba(168, 85, 247, 0.6), inset -10px -10px 20px rgba(0,0,0,0.2), inset 10px 10px 20px rgba(255,255,255,0.8); }
}

/* Connecting Lines */
.connect-line {
  position: absolute;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.8), rgba(168, 85, 247, 0.8));
  z-index: 2;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}
.line-aws {
  width: 120px; height: 2px;
  bottom: 200px; right: 50%;
}
.line-azure {
  width: 2px; height: 100px;
  bottom: 260px; left: 50%; margin-left: -1px;
  background: linear-gradient(0deg, rgba(56, 189, 248, 0.8), rgba(168, 85, 247, 0.8));
}
.line-gcp {
  width: 120px; height: 2px;
  bottom: 200px; left: 50%;
}

/* Cloud Nodes */
.cloud-node {
  position: absolute;
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.02);
  z-index: 6;
  font-size: 1.8rem;
}
.node-aws { bottom: 160px; right: calc(50% + 120px); }
.node-azure { bottom: 360px; left: 50%; transform: translateX(-50%); }
.node-gcp { bottom: 160px; left: calc(50% + 120px); }

.cloud-node img { width: 44px; height: 44px; object-fit: contain; }
.cloud-node .label {
  position: absolute;
  bottom: -24px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
}

/* Floating Glass Cards */
.glass-stat-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 12px;
  padding: 16px;
  width: 160px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.03);
  z-index: 10;
  transition: transform 0.3s ease;
}
.glass-stat-card:hover {
  transform: translateY(-5px) scale(1.02);
}

.glass-stat-card .hdr {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.65rem; font-weight: 600; color: #64748b; margin-bottom: 6px;
}
.glass-stat-card .val {
  font-size: 1.4rem; font-weight: 800; color: #0f172a; line-height: 1; margin-bottom: 4px;
}
.glass-stat-card .sub {
  font-size: 0.6rem; color: #22c55e; font-weight: 600;
}
.glass-stat-card .mini-chart {
  margin-top: 10px; height: 24px; width: 100%;
}

/* Specific Card Placements */
.card-cost { top: 30px; left: 40px; animation: float-card 7s ease-in-out infinite; }
.card-security { top: 60px; right: 20px; animation: float-card 8s ease-in-out infinite alternate; }
.card-resources { bottom: 40px; left: 20px; animation: float-card 6s ease-in-out infinite; }
.card-deployments { bottom: 60px; right: 40px; animation: float-card 9s ease-in-out infinite alternate; }

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
