/* ╔══════════════════════════════════════════════════════════╗
   ║           HERO v3 — Light Theme                         ║
   ║           hero-v2.css  v1.0.0                           ║
   ╚══════════════════════════════════════════════════════════╝ */

/* ─── Ambient Orbs ─── */
.rz-hero {
  position: relative;
  overflow: hidden;
  background: #F5F9FF;
  padding: 40px 0 60px;
}

.rz-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.rz-hero-orb--1 {
  width: 500px;
  height: 500px;
  background: rgba(88, 128, 192, 0.1);
  top: -180px;
  left: -80px;
  animation: orbDrift 16s ease-in-out infinite alternate;
}

.rz-hero-orb--2 {
  width: 450px;
  height: 450px;
  background: rgba(6, 182, 212, 0.07);
  bottom: -100px;
  right: -60px;
  animation: orbDrift 20s ease-in-out infinite alternate-reverse;
}

.rz-hero-orb--3 {
  width: 250px;
  height: 250px;
  background: rgba(16, 185, 129, 0.06);
  top: 50%;
  left: 45%;
  animation: orbDrift 12s ease-in-out infinite alternate;
}

@keyframes orbDrift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(25px, -18px) scale(1.08); }
}

/* ─── Grid Pattern ─── */
.rz-hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(88, 128, 192, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 128, 192, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

/* ─── Top Grid ─── */
.rz-hero-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 40px;
}

/* ═══════════ LEFT COLUMN ═══════════ */
.rz-hero-content {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* Trust badge */
.rz-hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px 7px 10px;
  background: var(--rz-white, #fff);
  border: 1px solid rgba(88, 128, 192, 0.1);
  border-radius: 100px;
  width: fit-content;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  opacity: 0;
  animation: heroUp 0.7s ease 0.1s forwards;
}

.rz-hero-trust-pulse {
  width: 8px;
  height: 8px;
  background: var(--rz-success, #10b981);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.rz-hero-trust-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--rz-success, #10b981);
  animation: pingDot 2.5s ease infinite;
}

@keyframes pingDot {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0;   transform: scale(2.2); }
}

.rz-hero-trust-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--rz-gray, #64748b);
  letter-spacing: 0.3px;
}

.rz-hero-trust-text b {
  color: var(--rz-dark, #0f172a);
  font-weight: 700;
}

/* H1 */
.rz-hero-h1 {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--rz-dark, #0f172a);
  opacity: 0;
  animation: heroUp 0.7s ease 0.2s forwards;
}

.rz-hero-h1 em {
  font-style: normal;
  background: var(--srv-gradient, linear-gradient(135deg, #5880c0, #06b6d4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtitle */
.rz-hero-sub {
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.7;
  color: var(--rz-gray, #64748b);
  max-width: 460px;
  opacity: 0;
  animation: heroUp 0.7s ease 0.3s forwards;
}

/* CTA group */
.rz-hero-actions {
  display: flex;
  gap: 12px;
  align-items: stretch;
  opacity: 0;
  animation: heroUp 0.7s ease 0.4s forwards;
}

/* Primary CTA */
.rz-hero-btn-primary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px 16px 26px;
  background: var(--rz-success, #10b981);
  border: none;
  border-radius: var(--rz-radius-sm, 16px);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--rz-transition, 0.35s cubic-bezier(0.25, 1, 0.5, 1));
  box-shadow: 0 6px 28px rgba(16, 185, 129, 0.25);
}

.rz-hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(16, 185, 129, 0.35);
}

.rz-hero-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--rz-success, #10b981), var(--rz-accent, #06b6d4));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.rz-hero-btn-primary:hover::before { opacity: 1; }

.rz-hero-btn-label {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.rz-hero-btn-label span {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.rz-hero-btn-label small {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.8;
}

.rz-hero-btn-arrow {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: var(--rz-radius-xs, 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--rz-transition, 0.35s cubic-bezier(0.25, 1, 0.5, 1));
}

.rz-hero-btn-primary:hover .rz-hero-btn-arrow {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(4px);
}

/* Phone CTA */
.rz-hero-btn-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  background: var(--rz-white, #fff);
  border: 1px solid rgba(88, 128, 192, 0.08);
  border-radius: var(--rz-radius-sm, 16px);
  color: var(--rz-dark, #0f172a);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: var(--rz-transition, 0.35s cubic-bezier(0.25, 1, 0.5, 1));
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.rz-hero-btn-phone svg {
  color: var(--rz-primary, #5880c0);
  flex-shrink: 0;
}

.rz-hero-btn-phone:hover {
  border-color: rgba(88, 128, 192, 0.2);
  box-shadow: 0 8px 28px rgba(88, 128, 192, 0.12);
  transform: translateY(-2px);
  color: var(--rz-primary, #5880c0);
}

/* Stats row */
.rz-hero-nums {
  display: flex;
  gap: 0;
  opacity: 0;
  animation: heroUp 0.7s ease 0.5s forwards;
}

.rz-hero-num {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-right: 32px;
  margin-right: 32px;
  border-right: 1px solid rgba(88, 128, 192, 0.1);
}

.rz-hero-num:last-child {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}

.rz-hero-num-val {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  background: var(--srv-gradient, linear-gradient(135deg, #5880c0, #06b6d4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rz-hero-num-lbl {
  font-size: 10px;
  font-weight: 700;
  color: var(--rz-gray, #64748b);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ═══════════ RIGHT — BENTO CARDS ═══════════ */
.rz-hero-bento {
  display: grid;
  grid-template-rows: auto auto;
  gap: 12px;
  opacity: 0;
  animation: heroSlideLeft 0.9s ease 0.35s forwards;
}

/* Large card */
.rz-hero-card-lg {
  position: relative;
  display: block;
  border-radius: var(--rz-radius, 24px);
  overflow: hidden;
  aspect-ratio: 16 / 9.5;
  text-decoration: none;
  transition: var(--rz-transition, 0.35s cubic-bezier(0.25, 1, 0.5, 1));
  box-shadow: var(--rz-shadow, 0 8px 32px rgba(15,23,42,0.08));
}

.rz-hero-card-lg:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.15);
}

.rz-hero-card-lg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}

.rz-hero-card-lg:hover img { transform: scale(1.06); }

.rz-hero-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,
    rgba(15, 23, 42, 0.85) 0%,
    rgba(15, 23, 42, 0.12) 55%,
    rgba(15, 23, 42, 0.05) 100%);
}

.rz-hero-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  z-index: 2;
}

/* Tags */
.rz-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.rz-hero-tag--green {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #6ee7b7;
}

.rz-hero-tag--amber {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #fbbf24;
}

.rz-hero-tag--blue {
  background: rgba(88, 128, 192, 0.2);
  border: 1px solid rgba(88, 128, 192, 0.3);
  color: #93b4e4;
}

.rz-hero-tag-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.rz-hero-card-info h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 5px;
  line-height: 1.2;
}

.rz-hero-card-info p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.5;
}

/* Small cards */
.rz-hero-bento-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.rz-hero-card-sm {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--rz-radius-sm, 16px);
  overflow: hidden;
  aspect-ratio: 5 / 3.5;
  text-decoration: none;
  transition: var(--rz-transition, 0.35s cubic-bezier(0.25, 1, 0.5, 1));
  box-shadow: var(--rz-shadow, 0 8px 32px rgba(15,23,42,0.08));
}

.rz-hero-card-sm:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.14);
}

.rz-hero-card-sm img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}

.rz-hero-card-sm:hover img { transform: scale(1.06); }

.rz-hero-card-sm .rz-hero-card-shade {
  background: linear-gradient(0deg,
    rgba(15, 23, 42, 0.9) 0%,
    rgba(15, 23, 42, 0.2) 60%,
    rgba(15, 23, 42, 0.08) 100%);
}

.rz-hero-card-sm-info {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.rz-hero-card-sm-info h4 {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 3px;
  line-height: 1.25;
}

.rz-hero-card-sm-info p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

/* ═══════════ BOTTOM BAR ═══════════ */
.rz-hero-bottom {
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: heroUp 0.7s ease 0.6s forwards;
}

.rz-hero-bottom-glass {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--rz-radius-sm, 16px);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}

@supports (backdrop-filter: blur(10px)) {
  .rz-hero-bottom-glass {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
}

.rz-hero-bottom-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rz-hero-bottom-icon {
  width: 38px;
  height: 38px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--rz-success, #10b981);
}

.rz-hero-bottom-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.rz-hero-bottom-text strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--rz-dark, #0f172a);
}

.rz-hero-bottom-text span {
  font-size: 12px;
  color: var(--rz-gray, #64748b);
}

.rz-hero-badges {
  display: flex;
  gap: 8px;
}

.rz-hero-badge-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: var(--rz-light, #f1f5f9);
  border: 1px solid rgba(88, 128, 192, 0.06);
  border-radius: var(--rz-radius-xs, 12px);
  font-size: 12px;
  font-weight: 600;
  color: var(--rz-gray, #64748b);
  transition: var(--rz-transition, 0.35s cubic-bezier(0.25, 1, 0.5, 1));
}

.rz-hero-badge-item:hover {
  background: var(--rz-white, #fff);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  color: var(--rz-dark, #0f172a);
}

.rz-hero-badge-item svg {
  color: var(--rz-success, #10b981);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════ */
@keyframes heroUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroSlideLeft {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .rz-hero { padding: 100px 0 50px; }

  .rz-hero-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .rz-hero-bento { animation-name: heroUp; }
  .rz-hero-card-lg { aspect-ratio: 16 / 8; }
}

@media (max-width: 768px) {
  .rz-hero { padding: 80px 0 40px; }
  .rz-hero-content { gap: 20px; }
  .rz-hero-h1 { font-size: clamp(28px, 7vw, 40px); }

  .rz-hero-actions { flex-direction: column; }
  .rz-hero-btn-phone { justify-content: center; }

  .rz-hero-nums { justify-content: space-between; }
  .rz-hero-num { padding-right: 18px; margin-right: 18px; }
  .rz-hero-num-val { font-size: 20px; }

  .rz-hero-bento-row { grid-template-columns: 1fr; }
  .rz-hero-card-sm { aspect-ratio: 16 / 8; }
  .rz-hero-card-lg { aspect-ratio: 16 / 10; }

  .rz-hero-bottom-glass {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .rz-hero-badges { width: 100%; flex-wrap: wrap; }
  .rz-hero-badge-item { flex: 1; justify-content: center; min-width: 120px; }
}

@media (max-width: 480px) {
  .rz-hero { padding: 5px 0 32px; }
  .rz-hero-num { padding-right: 12px; margin-right: 12px; }
  .rz-hero-num-val { font-size: 18px; }
  .rz-hero-num-lbl { font-size: 9px; }
  .rz-hero-card-info { padding: 20px; }
  .rz-hero-card-info h3 { font-size: 18px; }
  .rz-hero-card-sm-info { padding: 16px; }
  .rz-hero-card-sm-info h4 { font-size: 14px; }
}
