/* =====================================================================
   KREOVUS — PREMIUM SAAS HERO SECTION
   Scope: .kv-hero (and children only) — fully self-contained.
   Style reference: Stripe / Framer / Linear / Vercel / Slider Revolution
   Notes: This file ONLY styles the new Hero Section markup.
          It never touches header, footer, or any other section.
   ===================================================================== */

/* ---------------------------------------------------------------------
   0. LOCAL DESIGN TOKENS (scoped to .kv-hero — nothing leaks out)
   --------------------------------------------------------------------- */
.kv-hero {
  --kv-primary: #1E5EFF;       /* Primary Blue */
  --kv-primary-dark: #2563EB;  /* Secondary Blue — also used as primary button hover */
  --kv-dark: #0B1F3A;          /* Dark Navy */
  --kv-light-blue: #2563EB;    /* Secondary Blue (reused as the "bright" accent partner in gradients) */
  --kv-orange: #FD6905;        /* Accent Orange */
  --kv-bg: #F8FBFF;            /* Background */
  --kv-pale: #EDF5FF;          /* Light Blue — pale tint for subtle fills/hovers */
  --kv-white: #FFFFFF;
  --kv-muted: #55617a;
  --kv-radius-sm: 14px;
  --kv-radius-md: 20px;
  --kv-radius-lg: 28px;
  --kv-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --kv-shadow-soft: 0 20px 50px rgba(11, 31, 58, 0.10);
  --kv-shadow-lift: 0 30px 80px rgba(11, 31, 58, 0.18);
  --kv-glass-bg: rgba(255, 255, 255, 0.68);
  --kv-glass-bg-strong: rgba(255, 255, 255, 0.82);
  --kv-glass-border: rgba(255, 255, 255, 0.65);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 8.5rem 0 6rem;
  background: var(--kv-bg);
}

.kv-hero *,
.kv-hero *::before,
.kv-hero *::after {
  box-sizing: border-box;
}

/* ---------------------------------------------------------------------
   1. ANIMATED BACKGROUND LAYER — grid, mesh gradient, glows, blobs
   --------------------------------------------------------------------- */
.kv-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.kv-hero__bg::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(120deg,
      rgba(30, 94, 255, 0.07) 0%,
      rgba(247, 251, 255, 0) 32%,
      rgba(253, 105, 5, 0.05) 62%,
      rgba(37, 99, 235, 0.07) 100%);
  background-size: 200% 200%;
  animation: kv-gradient-shift 20s ease-in-out infinite;
}

.kv-hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 31, 58, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 58, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 55% 32%, #000 40%, transparent 85%);
  mask-image: radial-gradient(ellipse 70% 60% at 55% 32%, #000 40%, transparent 85%);
}

.kv-hero__blob {
  position: absolute;
  opacity: 0.5;
  filter: blur(0px);
}

.kv-hero__blob--one {
  top: -60px;
  right: 8%;
  width: 340px;
  animation: kv-blob-float 14s ease-in-out infinite;
}

.kv-hero__blob--two {
  bottom: -40px;
  left: 4%;
  width: 260px;
  animation: kv-blob-float 16s ease-in-out infinite reverse;
}

.kv-hero__glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  animation: kv-pulse-glow 9s ease-in-out infinite;
}

.kv-hero__glow--blue {
  top: -180px;
  left: -140px;
  background: radial-gradient(circle, var(--kv-light-blue) 0%, transparent 70%);
}

.kv-hero__glow--orange {
  bottom: -200px;
  right: -160px;
  background: radial-gradient(circle, var(--kv-orange) 0%, transparent 70%);
  animation-delay: -4.5s;
}

/* ---------------------------------------------------------------------
   2. LAYOUT GRID
   --------------------------------------------------------------------- */
.kv-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem; /* generous, guarantees well over the required 40px gutter */
}

/* ---------------------------------------------------------------------
   3. LEFT CONTENT
   --------------------------------------------------------------------- */
.kv-hero__content {
  max-width: 560px;
}

.kv-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--kv-glass-bg);
  border: 1px solid rgba(30, 94, 255, 0.18);
  backdrop-filter: blur(10px);
  box-shadow: var(--kv-shadow-soft);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--kv-primary-dark);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: kv-load-in 0.8s var(--kv-ease) 0.05s forwards;
}

.kv-hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--kv-orange);
  box-shadow: 0 0 0 0 rgba(253, 105, 5, 0.6);
  animation: kv-badge-pulse 2.2s ease-out infinite;
  flex-shrink: 0;
}

.kv-hero__title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: clamp(2.3rem, 3.6vw, 3.5rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--kv-dark);
  margin: 0 0 1.4rem;
  opacity: 0;
  animation: kv-load-in 0.8s var(--kv-ease) 0.18s forwards;
}

.kv-hero__title-accent {
  display: inline-block;
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: kv-text-shine 10s linear infinite;
}

/* "Digital Experiences" — Primary Blue -> Secondary Blue */
.kv-hero__title-accent--blue {
  background-image: linear-gradient(100deg, var(--kv-primary) 0%, var(--kv-primary-dark) 100%);
}

/* "Business Growth" — Secondary Blue -> Accent Orange */
.kv-hero__title-accent--orange {
  background-image: linear-gradient(100deg, var(--kv-primary-dark) 0%, var(--kv-orange) 100%);
}

.kv-hero__desc {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--kv-muted);
  max-width: 50ch;
  margin: 0 0 2.25rem;
  opacity: 0;
  animation: kv-load-in 0.8s var(--kv-ease) 0.3s forwards;
}

/* Buttons */
.kv-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.75rem;
  opacity: 0;
  animation: kv-load-in 0.8s var(--kv-ease) 0.42s forwards;
}

.kv-hero__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.35s var(--kv-ease), box-shadow 0.35s var(--kv-ease), border-color 0.35s var(--kv-ease);
  will-change: transform;
}

.kv-hero__btn:focus-visible {
  outline: 3px solid var(--kv-light-blue);
  outline-offset: 3px;
}

/* Primary: Primary Blue background -> Secondary Blue on hover, soft blue shadow */
.kv-hero__btn--primary {
  color: var(--kv-white);
  background: linear-gradient(135deg, var(--kv-primary) 0%, var(--kv-primary) 100%);
  box-shadow: 0 14px 30px rgba(30, 94, 255, 0.28);
}

.kv-hero__btn--primary i {
  transition: transform 0.35s var(--kv-ease);
}

.kv-hero__btn--primary:hover,
.kv-hero__btn--primary:focus-visible {
  background: linear-gradient(135deg, var(--kv-primary-dark) 0%, var(--kv-primary-dark) 100%);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.38);
}

.kv-hero__btn--primary:hover i,
.kv-hero__btn--primary:focus-visible i {
  transform: translateX(4px);
}

/* Secondary: white with orange border -> solid orange fill + white text on hover, with lift */
.kv-hero__btn--secondary {
  color: var(--kv-dark);
  background: var(--kv-white);
  border: 1.5px solid var(--kv-orange);
  transition: transform 0.35s var(--kv-ease), box-shadow 0.35s var(--kv-ease),
              background-color 0.35s var(--kv-ease), color 0.35s var(--kv-ease);
}

.kv-hero__btn--secondary i {
  color: var(--kv-orange);
  font-size: 0.85em;
  transition: color 0.35s var(--kv-ease);
}

.kv-hero__btn--secondary:hover,
.kv-hero__btn--secondary:focus-visible {
  background: var(--kv-orange);
  color: var(--kv-white);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(253, 105, 5, 0.3);
}

.kv-hero__btn--secondary:hover i,
.kv-hero__btn--secondary:focus-visible i {
  color: var(--kv-white);
}

/* Trust / stats row */
.kv-hero__trust {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(11, 31, 58, 0.09);
  opacity: 0;
  animation: kv-load-in 0.8s var(--kv-ease) 0.54s forwards;
}

.kv-hero__rating {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.kv-hero__stars {
  color: var(--kv-orange);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
}

.kv-hero__rating span {
  font-size: 0.85rem;
  color: var(--kv-muted);
  font-weight: 500;
}

.kv-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
}

.kv-hero__stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 0.6rem;
  border-radius: var(--kv-radius-sm);
  background: var(--kv-pale);
  border: 1px solid rgba(30, 94, 255, 0.10);
  transition: transform 0.3s var(--kv-ease), box-shadow 0.3s var(--kv-ease), background-color 0.3s var(--kv-ease);
}

.kv-hero__stat-card:hover {
  transform: translateY(-3px);
  background: var(--kv-white);
  box-shadow: var(--kv-shadow-soft);
}

.kv-hero__stat-card strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--kv-dark);
  line-height: 1.2;
}

.kv-hero__stat-card span {
  font-size: 0.72rem;
  color: var(--kv-muted);
  font-weight: 500;
  line-height: 1.3;
}

/* ---------------------------------------------------------------------
   4. RIGHT VISUAL — MULTI-CARD SAAS DASHBOARD COMPOSITION
   --------------------------------------------------------------------- */
.kv-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem; /* safety buffer so floating cards never reach the content column */
  opacity: 0;
  animation: kv-load-in 1s var(--kv-ease) 0.3s forwards;
}

.kv-hero__visual-stage {
  position: relative;
  width: 100%;
  max-width: 600px;
  min-height: 600px;
  margin: 3rem auto 2rem;
}

.kv-orbit-glow {
  position: absolute;
  inset: 6% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16) 0%, transparent 70%);
  filter: blur(30px);
  z-index: 0;
}

/* ================= HUB: Large Dashboard Panel ================= */
.kv-hub {
  position: absolute;
  top: 17%;
  left: 15%;
  width: 58%;
  z-index: 3;
  background: var(--kv-glass-bg-strong);
  border: 1px solid var(--kv-glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--kv-radius-lg);
  box-shadow: var(--kv-shadow-lift);
  overflow: hidden;
  animation: kv-float-main 7s ease-in-out infinite;
}

/* Glass reflection sweep */
.kv-hub::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 26%);
  pointer-events: none;
  mix-blend-mode: overlay;
}

.kv-hub__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid rgba(11, 31, 58, 0.07);
}

.kv-hub__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--kv-dark);
}

.kv-hub__title i {
  color: var(--kv-primary);
  font-size: 0.8rem;
}

.kv-hub__dots {
  display: flex;
  gap: 4px;
}

.kv-hub__dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(11, 31, 58, 0.2);
}

.kv-hub__body {
  padding: 1rem 1.15rem 1.15rem;
}

/* Line / area chart */
.kv-hub__graph {
  position: relative;
  background: var(--kv-white);
  border-radius: var(--kv-radius-sm);
  padding: 0.8rem 0.8rem 0.5rem;
  box-shadow: 0 6px 18px rgba(11, 31, 58, 0.06);
  margin-bottom: 0.7rem;
}

.kv-hub__graph-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.kv-hub__graph-head span {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--kv-muted);
}

.kv-hub__graph-head strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  color: var(--kv-dark);
}

.kv-hub__graph-svg {
  width: 100%;
  height: 56px;
  display: block;
}

.kv-hub__graph-svg .kv-line {
  fill: none;
  stroke: url(#kvGraphGradient);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kv-hub__graph-svg .kv-area {
  fill: url(#kvAreaGradient);
  stroke: none;
}

/* Bar + Pie widget row */
.kv-hub__widgets {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0.7rem;
}

.kv-hub__bars,
.kv-hub__pie-card {
  background: var(--kv-white);
  border-radius: var(--kv-radius-sm);
  padding: 0.65rem 0.75rem;
  box-shadow: 0 6px 18px rgba(11, 31, 58, 0.06);
}

.kv-hub__widget-label {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--kv-muted);
  margin-bottom: 0.4rem;
}

.kv-hub__bar-row {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 30px;
}

.kv-hub__bar-row span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--kv-light-blue), var(--kv-primary));
  opacity: 0.9;
  animation: kv-bar-grow 2.6s var(--kv-ease) infinite alternate;
}

.kv-hub__bar-row span:nth-child(1) { height: 45%; animation-delay: 0s; }
.kv-hub__bar-row span:nth-child(2) { height: 75%; animation-delay: 0.15s; }
.kv-hub__bar-row span:nth-child(3) { height: 58%; animation-delay: 0.3s; }
.kv-hub__bar-row span:nth-child(4) { height: 92%; animation-delay: 0.45s; }
.kv-hub__bar-row span:nth-child(5) { height: 66%; animation-delay: 0.6s; }

.kv-hub__pie-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.kv-hub__pie {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: conic-gradient(var(--kv-primary) 0% 42%, var(--kv-light-blue) 42% 68%, var(--kv-orange) 68% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.kv-hub__pie::before {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--kv-white);
}

/* ================= SATELLITE FLOATING GLASS CARDS ================= */
.kv-card {
  position: absolute;
  z-index: 4;
  background: var(--kv-glass-bg);
  border: 1px solid var(--kv-glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--kv-radius-sm);
  box-shadow: var(--kv-shadow-lift);
  padding: 0.75rem 0.9rem;
  transition: transform 0.35s var(--kv-ease), box-shadow 0.35s var(--kv-ease);
}

.kv-card:hover {
  transform: translateY(-6px) scale(1.035);
  box-shadow: 0 34px 90px rgba(11, 31, 58, 0.22);
  z-index: 6;
}

/* Revenue card */
.kv-card--revenue {
  top: -4%;
  left: -3%;
  width: 148px;
  animation: kv-float-a 6s ease-in-out infinite;
}

/* Users card */
.kv-card--users {
  top: -7%;
  right: 6%;
  width: 138px;
  animation: kv-float-b 6.5s ease-in-out infinite;
  animation-delay: 0.4s;
}

/* Performance gauge card */
.kv-card--performance {
  top: -3%;
  right: -3%;
  width: 118px;
  text-align: center;
  animation: kv-float-c 5.5s ease-in-out infinite;
  animation-delay: 0.9s;
}

/* Notification card */
.kv-card--notification {
  top: 6%;
  left: 30%;
  width: 200px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  animation: kv-float-a 6.4s ease-in-out infinite;
  animation-delay: 1.3s;
}

/* Growth badge (pill) */
.kv-card--growth {
  top: 24%;
  left: -3%;
  width: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  animation: kv-float-b 5.8s ease-in-out infinite;
  animation-delay: 0.6s;
}

/* CRM card (team) — kept fully inside the dashboard column, no longer bleeds toward the paragraph */
.kv-card--team {
  top: 47%;
  left: -3%;
  width: 156px;
  animation: kv-float-c 6.2s ease-in-out infinite;
  animation-delay: 1.6s;
}

/* Inventory status card */
.kv-card--code {
  top: 19%;
  right: -3%;
  width: 168px;
  animation: kv-float-a 5.6s ease-in-out infinite;
  animation-delay: 0.3s;
}

/* Business insights feed card */
.kv-card--activity {
  top: 47%;
  right: -3%;
  width: 168px;
  animation: kv-float-b 6.8s ease-in-out infinite;
  animation-delay: 1.1s;
}

/* Completed projects card */
.kv-card--success {
  bottom: 15%;
  left: -3%;
  width: 168px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: kv-float-c 5.4s ease-in-out infinite;
  animation-delay: 1.9s;
}

/* Active projects checklist card */
.kv-card--task {
  bottom: -4%;
  left: 24%;
  width: 190px;
  animation: kv-float-a 6.6s ease-in-out infinite;
  animation-delay: 0.8s;
}

/* Client satisfaction progress card */
.kv-card--progress {
  bottom: -3%;
  right: 4%;
  width: 176px;
  animation: kv-float-b 6s ease-in-out infinite;
  animation-delay: 1.4s;
}

/* Customer testimonial card */
.kv-card--profile {
  bottom: 16%;
  right: -3%;
  width: 152px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: kv-float-c 6.3s ease-in-out infinite;
  animation-delay: 0.5s;
}

/* --- Card internals --- */
.kv-card__label {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--kv-muted);
  margin-bottom: 0.25rem;
}

.kv-card__value {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--kv-dark);
}

.kv-card__trend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--kv-primary-dark);
  margin-top: 0.3rem;
}

.kv-card__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--kv-primary), var(--kv-light-blue));
  color: var(--kv-white);
  font-size: 0.95rem;
}

.kv-card--success .kv-card__icon {
  background: linear-gradient(135deg, var(--kv-primary), var(--kv-primary-dark));
}

.kv-card--notification .kv-card__icon {
  background: linear-gradient(135deg, var(--kv-orange), var(--kv-primary-dark));
}

.kv-card__text strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--kv-dark);
  line-height: 1.3;
}

.kv-card__text span {
  font-size: 0.65rem;
  color: var(--kv-muted);
}

/* Growth badge specifics */
.kv-card--growth i {
  color: var(--kv-orange);
  font-size: 0.85rem;
}

.kv-card--growth strong {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--kv-dark);
}

/* Team avatars */
.kv-team-avatars {
  display: flex;
  margin-bottom: 0.4rem;
}

.kv-team-avatars span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--kv-white);
  margin-left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--kv-white);
}

.kv-team-avatars span:first-child { margin-left: 0; }
.kv-team-avatars span:nth-child(1) { background: var(--kv-primary); }
.kv-team-avatars span:nth-child(2) { background: var(--kv-light-blue); }
.kv-team-avatars span:nth-child(3) { background: var(--kv-orange); }
.kv-team-avatars span:nth-child(4) {
  background: rgba(11, 31, 58, 0.85);
  font-size: 0.5rem;
}

/* CRM card sublabel (below avatar stack) */
.kv-card__sublabel {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--kv-dark);
}

/* Inventory Status widget rows */
.kv-stock-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.66rem;
  color: var(--kv-dark);
  margin-top: 0.4rem;
}

.kv-stock-item span {
  flex: 1;
  color: var(--kv-muted);
}

.kv-stock-item strong {
  font-weight: 700;
  color: var(--kv-dark);
}

.kv-stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.kv-stock-dot--in   { background: var(--kv-primary); }
.kv-stock-dot--low  { background: var(--kv-orange); }
.kv-stock-dot--out  { background: var(--kv-dark); opacity: 0.55; }

/* Activity feed */
.kv-activity-item {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.kv-activity-item:last-child { margin-bottom: 0; }

.kv-activity-item span.kv-dot {
  width: 6px;
  height: 6px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--kv-light-blue);
  flex-shrink: 0;
}

.kv-activity-item p {
  margin: 0;
  font-size: 0.65rem;
  line-height: 1.4;
  color: var(--kv-dark);
}

/* Task checklist */
.kv-task-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: var(--kv-dark);
  margin-bottom: 0.35rem;
}

.kv-task-item:last-child { margin-bottom: 0; }

.kv-task-item i {
  font-size: 0.8rem;
  color: var(--kv-primary-dark);
}

.kv-task-item.kv-task-pending i {
  color: rgba(11, 31, 58, 0.25);
}

.kv-task-item.kv-task-pending span {
  color: var(--kv-muted);
}

/* Progress card */
.kv-progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.08);
  overflow: hidden;
  margin-top: 0.5rem;
}

.kv-progress-bar span {
  display: block;
  height: 100%;
  width: 82%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--kv-primary), var(--kv-orange));
  animation: kv-progress-grow 2.6s var(--kv-ease) infinite alternate;
}

/* Performance gauge */
.kv-gauge {
  position: relative;
  width: 66px;
  height: 66px;
  margin: 0 auto 0.4rem;
  border-radius: 50%;
  background: conic-gradient(var(--kv-orange) 0% 92%, rgba(11, 31, 58, 0.08) 92% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.kv-gauge::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--kv-glass-bg-strong);
}

.kv-gauge span {
  position: relative;
  z-index: 1;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--kv-dark);
}

/* Profile card */
.kv-profile-avatar {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--kv-orange), var(--kv-light-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kv-white);
  font-weight: 700;
  font-size: 0.7rem;
}

.kv-profile-stars {
  color: var(--kv-orange);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

/* ---- Floating tech icons ---- */
.kv-tech-icon {
  position: absolute;
  z-index: 5;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--kv-glass-bg-strong);
  border: 1px solid var(--kv-glass-border);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 26px rgba(11, 31, 58, 0.16);
  font-size: 1.1rem;
  animation: kv-float-icon 4.6s ease-in-out infinite;
}

.kv-tech-icon--erp         { top: -8%;  left: 8%;   color: var(--kv-primary); animation-delay: 0s; }
.kv-tech-icon--pos         { top: -9%;  right: 24%; color: var(--kv-orange); animation-delay: 0.5s; }
.kv-tech-icon--healthcare  { top: 32%;  left: -6%;  color: var(--kv-primary); animation-delay: 1s; }
.kv-tech-icon--store       { top: 60%;  left: -6%;  color: var(--kv-orange); animation-delay: 1.5s; }
.kv-tech-icon--analytics   { top: 5%;   right: -6%; color: var(--kv-primary-dark); animation-delay: 2s; }
.kv-tech-icon--cloud       { top: 64%;  right: -6%; color: var(--kv-primary); animation-delay: 2.5s; }
.kv-tech-icon--crm         { bottom: -7%; left: 22%; color: var(--kv-orange); animation-delay: 3s; }
.kv-tech-icon--security    { bottom: -9%; right: 28%; color: var(--kv-primary-dark); animation-delay: 3.5s; }
.kv-tech-icon--payments    { bottom: 24%; left: -6%; color: var(--kv-primary); animation-delay: 4s; }

/* ---------------------------------------------------------------------
   5. KEYFRAME ANIMATIONS
   --------------------------------------------------------------------- */
@keyframes kv-load-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes kv-gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes kv-text-shine {
  0%   { background-position: 0% center; }
  100% { background-position: 250% center; }
}

@keyframes kv-pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.42; }
  50%      { transform: scale(1.12); opacity: 0.62; }
}

@keyframes kv-blob-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(-14px, 18px) rotate(6deg); }
}

@keyframes kv-badge-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(253, 105, 5, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(253, 105, 5, 0); }
  100% { box-shadow: 0 0 0 0 rgba(253, 105, 5, 0); }
}

@keyframes kv-float-main {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-12px) rotate(0.3deg); }
}

@keyframes kv-float-a {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-12px) rotate(0.5deg); }
}

@keyframes kv-float-b {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50%      { transform: translateY(11px) rotate(-1deg); }
}

@keyframes kv-float-c {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-9px) rotate(-1.2deg); }
}

@keyframes kv-float-icon {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-8px) scale(1.06); }
}

@keyframes kv-bar-grow {
  0%   { transform: scaleY(0.85); }
  100% { transform: scaleY(1); }
}

@keyframes kv-progress-grow {
  0%   { width: 74%; }
  100% { width: 82%; }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .kv-hero * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .kv-hero__badge,
  .kv-hero__title,
  .kv-hero__desc,
  .kv-hero__actions,
  .kv-hero__trust,
  .kv-hero__visual {
    opacity: 1;
    transform: none;
  }
}

/* ---------------------------------------------------------------------
   6. RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .kv-hero__visual-stage { max-width: 520px; min-height: 540px; }
}

/* Tablet: simplify — hide a few lower-priority satellites to prevent clutter */
@media (max-width: 992px) {
  .kv-hero { padding: 6.5rem 0 4rem; }

  .kv-hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .kv-hero__content { order: 1; max-width: 100%; }

  .kv-hero__visual {
    order: 2;
    padding-top: 1rem;
  }

  .kv-hero__visual-stage { max-width: 460px; min-height: 480px; margin: 2.5rem auto 1.5rem; }

  .kv-hero__desc { max-width: 62ch; }

  .kv-card--activity,
  .kv-card--profile {
    display: none;
  }
}

/* Mobile: show only the core composition, no horizontal scroll, no overlap clutter */
@media (max-width: 600px) {
  .kv-hero { padding: 5.5rem 0 3rem; overflow: hidden; }

  .kv-hero__title { font-size: clamp(2rem, 8vw, 2.35rem); }

  .kv-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .kv-hero__btn { justify-content: center; }

  .kv-hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }

  .kv-hero__visual-stage {
    max-width: 320px;
    min-height: 380px;
    transform: scale(0.96);
  }

  .kv-hub { top: 12%; left: 8%; width: 84%; }

  /* Keep only the core, most legible cards on small screens */
  .kv-card--performance,
  .kv-card--notification,
  .kv-card--growth,
  .kv-card--team,
  .kv-card--activity,
  .kv-card--task,
  .kv-card--progress,
  .kv-card--profile {
    display: none;
  }

  .kv-card--revenue { top: -2%; left: -4%; width: 118px; }
  .kv-card--users { top: -4%; right: -2%; width: 112px; }
  .kv-card--code { top: 62%; right: -6%; width: 130px; }
  .kv-card--success { bottom: -2%; left: -4%; width: 130px; }

  .kv-tech-icon { width: 36px; height: 36px; font-size: 0.85rem; }
  .kv-tech-icon--healthcare,
  .kv-tech-icon--store,
  .kv-tech-icon--cloud,
  .kv-tech-icon--payments {
    display: none;
  }
}
