/* ==========================================================================
   HOME HERO
   Light Premium Version
   ========================================================================== */

.hero {
  position: relative;
  padding: 145px 24px 100px;
  overflow: hidden;
  background: #ffffff;
  color: #0f172a;
}


/* ==========================================================================
   BACKGROUND EFFECTS
   ========================================================================== */

.hero-bg-glow {
  position: absolute;
  top: -220px;
  right: -120px;
  width: 700px;
  height: 700px;

  background:
    radial-gradient(
      circle,
      rgba(99, 102, 241, 0.16) 0%,
      rgba(168, 85, 247, 0.08) 38%,
      transparent 70%
    );

  filter: blur(50px);
  pointer-events: none;
}

.hero-bg-glow-secondary {
  top: 40%;
  left: -280px;
  right: auto;

  width: 550px;
  height: 550px;

  background:
    radial-gradient(
      circle,
      rgba(14, 165, 233, 0.09) 0%,
      transparent 70%
    );
}

.hero-bg-grid {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      to right,
      rgba(15, 23, 42, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      to bottom,
      rgba(15, 23, 42, 0.035) 1px,
      transparent 1px
    );

  background-size: 42px 42px;

  mask-image:
    radial-gradient(
      circle at 50% 35%,
      black 20%,
      transparent 75%
    );

  -webkit-mask-image:
    radial-gradient(
      circle at 50% 35%,
      black 20%,
      transparent 75%
    );

  pointer-events: none;
}


/* ==========================================================================
   CONTAINER
   ========================================================================== */

.hero-container {
  position: relative;
  z-index: 2;

  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 70px;
}


/* ==========================================================================
   CONTENT
   ========================================================================== */

.hero-content {
  max-width: 620px;
}


/* ==========================================================================
   BADGE
   ========================================================================== */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  padding: 7px 14px;

  margin-bottom: 24px;

  border-radius: 999px;

  background: rgba(99, 102, 241, 0.06);

  border: 1px solid rgba(99, 102, 241, 0.18);

  color: #4f46e5;

  font-size: 13px;
  font-weight: 700;

  box-shadow:
    0 4px 14px rgba(15, 23, 42, 0.04);
}

.status-ping {
  width: 8px;
  height: 8px;

  flex-shrink: 0;

  background: #10b981;

  border-radius: 50%;

  box-shadow:
    0 0 0 0 rgba(16, 185, 129, 0.45);

  animation: heroPulse 2s infinite;
}

@keyframes heroPulse {

  0% {
    box-shadow:
      0 0 0 0 rgba(16, 185, 129, 0.45);
  }

  70% {
    box-shadow:
      0 0 0 8px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow:
      0 0 0 0 rgba(16, 185, 129, 0);
  }

}


/* ==========================================================================
   HEADING
   ========================================================================== */

.hero h1 {
  margin: 0 0 22px;

  font-size: 54px;
  line-height: 1.08;

  font-weight: 800;

  letter-spacing: -0.035em;

  color: #0f172a;
}

.gradient-text {
  background:
    linear-gradient(
      135deg,
      #4f46e5 0%,
      #7c3aed 48%,
      #a855f7 100%
    );

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;
}


/* ==========================================================================
   DESCRIPTION
   ========================================================================== */

.hero-description {
  max-width: 600px;

  margin: 0 0 32px;

  font-size: 18px;

  line-height: 1.7;

  color: #64748b;
}


/* ==========================================================================
   BUTTONS
   ========================================================================== */

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;

  margin-bottom: 34px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 9px;

  padding: 14px 24px;

  border-radius: 12px;

  background:
    linear-gradient(
      135deg,
      #6366f1 0%,
      #4f46e5 100%
    );

  color: #ffffff;

  text-decoration: none;

  font-size: 15px;
  font-weight: 700;

  box-shadow:
    0 12px 28px rgba(79, 70, 229, 0.24);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

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

  box-shadow:
    0 16px 32px rgba(79, 70, 229, 0.30);
}

.btn-primary svg {
  transition: transform 0.2s ease;
}

.btn-primary:hover svg {
  transform: translateX(3px);
}


.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 13px 22px;

  border-radius: 12px;

  background: #ffffff;

  border: 1px solid #dbe2ea;

  color: #334155;

  text-decoration: none;

  font-size: 15px;
  font-weight: 700;

  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.04);

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-secondary:hover {
  background: #f8fafc;

  border-color: #c7d2fe;

  transform: translateY(-2px);

  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.07);
}


/* ==========================================================================
   TRUST PILLS
   ========================================================================== */

.hero-trust {
  display: flex;
  flex-wrap: wrap;

  gap: 10px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;

  gap: 7px;

  padding: 7px 11px;

  border-radius: 9px;

  background: rgba(255, 255, 255, 0.82);

  border: 1px solid #e2e8f0;

  color: #475569;

  font-size: 12px;

  font-weight: 600;

  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.035);
}

.trust-pill svg {
  color: #10b981;
}


/* ==========================================================================
   VISUAL SIDE
   ========================================================================== */

.hero-visual {
  position: relative;

  width: 500px;
  height: 430px;

  flex-shrink: 0;
}

.hero-visual-glow {
  position: absolute;

  inset: 35px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(99, 102, 241, 0.13),
      rgba(168, 85, 247, 0.07) 40%,
      transparent 72%
    );

  filter: blur(35px);
}


/* ==========================================================================
   CARDS
   ========================================================================== */

.ui-card {
  position: absolute;

  background:
    rgba(255, 255, 255, 0.88);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(203, 213, 225, 0.85);

  border-radius: 18px;

  padding: 20px;

  color: #0f172a;

  box-shadow:
    0 25px 60px rgba(15, 23, 42, 0.10),
    0 8px 20px rgba(15, 23, 42, 0.05);
}

.card-header {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 12px;

  margin-bottom: 17px;
}

.card-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-title {
  font-size: 13px;
  font-weight: 700;

  color: #334155;
}

.card-icon {
  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;
}

.software-icon {
  color: #6366f1;

  background:
    rgba(99, 102, 241, 0.10);
}

.server-icon {
  color: #0891b2;

  background:
    rgba(6, 182, 212, 0.10);
}


/* ==========================================================================
   SOFTWARE CARD
   ========================================================================== */

.ui-main {
  width: 290px;

  top: 65px;
  left: 35px;

  z-index: 3;

  animation:
    heroFloatOne 7s ease-in-out infinite;
}

.badge-live {
  font-size: 9px;

  background:
    rgba(16, 185, 129, 0.10);

  color: #059669;

  padding: 4px 8px;

  border-radius: 999px;

  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 0.04em;
}

.software-content {
  display: flex;
  flex-direction: column;

  gap: 11px;

  margin-bottom: 18px;
}

.software-line {
  display: flex;
  align-items: center;

  gap: 9px;

  font-size: 12px;

  color: #64748b;
}

.line-dot {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #6366f1;

  box-shadow:
    0 0 7px rgba(99, 102, 241, 0.35);
}


/* ==========================================================================
   PROGRESS
   ========================================================================== */

.progress-bar {
  width: 100%;
  height: 6px;

  overflow: hidden;

  border-radius: 999px;

  background: #e2e8f0;
}

.progress-fill {
  width: 78%;
  height: 100%;

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      #6366f1,
      #8b5cf6
    );
}


/* ==========================================================================
   SERVER CARD
   ========================================================================== */

.ui-server {
  width: 255px;

  top: 0;
  right: 10px;

  z-index: 2;

  animation:
    heroFloatThree 6s ease-in-out infinite;
}

.server-status {
  display: flex;
  flex-direction: column;

  gap: 12px;
}

.status-row {
  display: flex;

  justify-content: space-between;
  align-items: center;

  font-size: 11px;

  color: #64748b;
}

.status-row > span {
  display: flex;
  align-items: center;

  gap: 7px;
}

.status-row strong {
  color: #059669;

  font-size: 11px;
}

.status-dot {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #10b981;

  box-shadow:
    0 0 7px rgba(16, 185, 129, 0.35);
}


/* ==========================================================================
   CREATOR CARD
   ========================================================================== */

.ui-creator {
  width: 260px;

  right: 15px;
  bottom: 30px;

  z-index: 4;

  animation:
    heroFloatTwo 8s ease-in-out infinite;
}

.creator-label {
  display: flex;
  align-items: center;

  gap: 8px;

  margin-bottom: 12px;

  color: #7c3aed;

  font-size: 12px;

  font-weight: 800;
}

.creator-sparkle {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 26px;
  height: 26px;

  border-radius: 8px;

  background:
    rgba(124, 58, 237, 0.10);

  color: #7c3aed;
}

.creator-text {
  margin-bottom: 15px;

  color: #475569;

  font-size: 12px;

  line-height: 1.5;
}

.creator-tags {
  display: flex;
  flex-wrap: wrap;

  gap: 6px;
}

.creator-tags span {
  padding: 5px 8px;

  border-radius: 7px;

  background: #f8fafc;

  border: 1px solid #e2e8f0;

  color: #64748b;

  font-size: 10px;

  font-weight: 600;
}


/* ==========================================================================
   FLOAT ANIMATIONS
   ========================================================================== */

@keyframes heroFloatOne {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-11px);
  }

}

@keyframes heroFloatTwo {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }

}

@keyframes heroFloatThree {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

}


/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 1100px) {

  .hero-container {
    gap: 40px;
  }

  .hero-content {
    max-width: 560px;
  }

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

  .hero-visual {
    width: 440px;
    height: 400px;
  }

  .ui-main {
    left: 5px;
  }

  .ui-server {
    right: 0;
  }

  .ui-creator {
    right: 0;
  }

}


/* ==========================================================================
   MOBILE / TABLET STACK
   ========================================================================== */

@media (max-width: 900px) {

  .hero {
    padding: 120px 20px 80px;
  }

  .hero-container {
    flex-direction: column;

    text-align: center;

    gap: 60px;
  }

  .hero-content {
    max-width: 700px;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons,
  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
    max-width: 500px;
  }

}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 600px) {

  .hero {
    padding:
      110px
      16px
      65px;
  }

  .hero-badge {
    max-width: 100%;

    font-size: 11px;

    padding: 7px 11px;
  }

  .hero h1 {
    font-size: 36px;

    line-height: 1.12;

    letter-spacing: -0.025em;
  }

  .hero-description {
    font-size: 15px;

    line-height: 1.65;
  }

  .hero-buttons {
    flex-direction: column;

    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .hero-trust {
    gap: 7px;
  }

  .trust-pill {
    font-size: 10px;

    padding: 6px 8px;
  }


  /* Visual becomes a clean vertical stack */

  .hero-visual {
    display: flex;

    flex-direction: column;

    gap: 14px;

    width: 100%;

    height: auto;

    max-width: 420px;
  }

  .hero-visual-glow {
    inset: 30px;
  }

  .ui-card {
    position: relative;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    width: 100%;

    animation: none;
  }

}