/* Hero Section Styles */
.hero {
  position: relative;
  overflow: hidden;
  background: #f8faff;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 2rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-text {
  flex: 1;
  animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: rgba(0, 145, 255, 0.08);
  border: 1px solid rgba(0, 145, 255, 0.2);
  border-radius: 50px;
  color: #0091ff;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 145, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(0, 145, 255, 0);
  }
}

h1 {
  font-size: 4.2rem;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

.gradient-text {
  color: #185fa5;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-description {
  font-size: 1.25rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Stats */
.hero-stats {
  display: flex;
  gap: 3rem;
}

.stat-item {
  animation: fadeInUp 1s ease-out 0.6s both;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #185fa5;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: #666;
  font-weight: 500;
}

/* Hero Image */
.hero-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInRight 1s ease-out 0.5s both;
}

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

.building-container {
  position: relative;
  width: 500px;
  height: 500px;
}

.building-card {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 145, 255, 0.05),
    rgba(255, 0, 110, 0.05)
  );
  backdrop-filter: blur(20px);
  border: 2px solid rgba(0, 145, 255, 0.15);
  border-radius: 30px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 145, 255, 0.1);
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

.building-img {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(0, 145, 255, 0.15), rgba(255, 0, 110, 0.15)),
    url("/assets/img/banner-img.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.building-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  animation: shine 3s infinite;
}

@keyframes shine {
  to {
    left: 100%;
  }
}

/* Floating Cards */
.floating-card {
  position: absolute;
  padding: 1rem 1.5rem;
  background: white;
  border: 2px solid rgba(0, 145, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 145, 255, 0.15);
  animation: floatCard 4s ease-in-out infinite;
}

.card-1 {
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.card-2 {
  bottom: 15%;
  right: -10%;
  animation-delay: 1s;
}

.card-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #0091ff, #ff006e);
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

.card-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

.card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}

.card-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #185fa5;
}

/* ===== WHY CHOOSE LEASEKEY (NEW DESIGN) ===== */
.why-section {
  background: linear-gradient(
    135deg,
    rgba(0, 145, 255, 0.02),
    rgba(255, 0, 110, 0.02)
  );
  position: relative;
  overflow: hidden;
}

.why-container {
  max-width: 1400px;
  margin: 0 auto;
}

.why-header {
  text-align: center;
  margin-bottom: 4rem;
}

.why-header h2 {
  font-size: 3rem;
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

/* Use the accent color if span has lk-sh-accent inside why-header */
.why-header .lk-sh-accent {
  background: linear-gradient(135deg, #0091ff, #ff006e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.why-header p {
  font-size: 1.15rem;
  color: #666;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.why-card {
  background: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 145, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0, 18, 46, 0.04);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.why-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(0, 145, 255, 0.12);
  border-color: rgba(0, 145, 255, 0.2);
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #0091ff, #ff006e);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    rgba(0, 145, 255, 0.1),
    rgba(255, 0, 110, 0.1)
  );
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #0091ff;
  transition: all 0.4s ease;
}

.why-card:hover .why-icon {
  background: linear-gradient(135deg, #0091ff, #ff006e);
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
}

.why-icon svg {
  width: 28px;
  height: 28px;
}

.why-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.why-description {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .why-header h2 {
    font-size: 2.2rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }
}
