.hero {
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 100px;
}

.hero-bg-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(108, 99, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #6C63FF, #43D9AD);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 13px 28px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  transition: opacity 0.2s, transform 0.2s;
  animation: pulse-glow 3s ease-in-out infinite;
}

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

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(108, 99, 255, 0.08);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 8px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #6C63FF, #43D9AD);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
}

.hero-phone {
  width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 16px;
  box-shadow: var(--shadow), 0 0 60px rgba(108, 99, 255, 0.1);
  animation: float 4s ease-in-out infinite;
  z-index: 2;
}

.phone-screen {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.phone-header {
  display: flex;
  gap: 5px;
  justify-content: flex-end;
}

.ph-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
}

.phone-balance {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.2), rgba(67, 217, 173, 0.1));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  text-align: center;
}

.pb-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.pb-amount {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}

.phone-qris {
  display: flex;
  justify-content: center;
}

.qris-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: white;
  border-radius: 10px;
  padding: 8px;
  width: 70px;
}

.qris-pattern {
  width: 50px;
  height: 50px;
  background:
    repeating-conic-gradient(#000 0% 25%, #fff 0% 50%) 0 0 / 8px 8px;
  border-radius: 4px;
}

.qris-box span {
  font-size: 0.55rem;
  color: #000;
  font-weight: 700;
}

.phone-actions {
  display: flex;
  gap: 6px;
}

.pa-btn {
  flex: 1;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 4px;
  font-size: 0.55rem;
  text-align: center;
  color: var(--text-muted);
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  z-index: 3;
}

.card-1 {
  left: 0;
  top: 60px;
  animation: float 3.5s ease-in-out infinite;
}

.card-2 {
  right: 0;
  bottom: 80px;
  animation: float 4.5s ease-in-out 1s infinite;
}

.card-icon {
  font-size: 1.5rem;
}

.card-title {
  font-size: 0.82rem;
  font-weight: 600;
}

.card-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-desc {
    margin: 0 auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-visual {
    height: 320px;
  }
  .card-1 { left: 10px; }
  .card-2 { right: 10px; }
}
