.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

/* ================================
   LAYOUT
================================ */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ================================
   BACKGROUND BLOBS
================================ */
.bg-blobs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.35;
  animation: pulse 6s infinite alternate;
}

.blob-1 {
  width: 380px;
  height: 380px;
  background: #6366f1;
  top: 80px;
  right: 60px;
}

.blob-2 {
  width: 320px;
  height: 320px;
  background: #22d3ee;
  bottom: 80px;
  left: 60px;
}

.blob-3 {
  width: 600px;
  height: 600px;
  background: linear-gradient(to right, #6366f1, #22d3ee);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.18;
}

/* ================================
   CONTENT
================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(99, 102, 241, 0.12);
  color: #4f46e5;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
}

.dot {
  width: 8px;
  height: 8px;
  background: #4f46e5;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.15;
  margin: 24px 0;
  color: #0f172a;
}

.gradient-text {
  background: linear-gradient(to right, #6366f1, #22d3ee);
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 520px;
  color: #334155;
  font-size: 18px;
  line-height: 1.6;
}

/* ================================
   FEATURES
================================ */
.features {
  margin: 28px 0;
  list-style: none;
}

.features li {
  margin-bottom: 10px;
  font-weight: 500;
  color: #0f172a;
}

/* ================================
   BUTTONS
================================ */
.buttons {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.btn {
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  color: #ffffff;
  box-shadow: 0 12px 25px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid #4f46e5;
  color: #4f46e5;
  background: #ffffff;
}

.btn-outline:hover {
  background: #eef2ff;
}

/* ================================
   HERO VISUAL
================================ */
.hero-visual {
  position: relative;
}

/* ================================
   DASHBOARD CARD
================================ */
.dashboard-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
}

.card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card-header h3 {
  font-size: 18px;
  color: #0f172a;
}

.live {
  font-size: 12px;
  font-weight: 600;
  color: #16a34a;
}

/* ================================
   STATS
================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.stats div {
  background: #f8fafc;
  padding: 16px;
  border-radius: 14px;
  text-align: center;
  border: 1px solid #e5e7eb;
}

.stats strong {
  font-size: 24px;
  display: block;
}

.primary { color: #4f46e5; }
.accent { color: #06b6d4; }

.stats span {
  font-size: 12px;
  color: #64748b;
}

/* ================================
   GRAPH
================================ */
.graph {
  height: 120px;
  border-radius: 14px;
  background: linear-gradient(to top, rgba(99,102,241,.35), transparent);
}

/* ================================
   FLOATING CARDS
================================ */
.float-card {
  position: absolute;
  background: #ffffff;
  padding: 14px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  animation: float 3s infinite ease-in-out;
}

.float-card span {
  display: block;
  margin-top: 6px;
  color: #0f172a;
}

.top-left {
  top: -20px;
  left: -20px;
}

.bottom-left {
  bottom: -20px;
  left: -40px;
  animation-delay: 1s;
}

.right {
  right: -40px;
  top: 50%;
  animation-delay: 1.5s;
}

/* ================================
   ANIMATIONS
================================ */
.fade-up {
  animation: fadeUp 0.8s ease forwards;
}

.fade-right {
  animation: fadeRight 0.8s ease forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  from { opacity: 0.4; }
  to { opacity: 0.9; }
}

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

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .hero h1 {
    font-size: 42px;
  }
}
