/* Hero Section */
.hero {
  background:
    linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.95) 0%,
      rgba(30, 41, 59, 0.9) 50%,
      rgba(51, 65, 85, 0.85) 100%
    ),
    radial-gradient(
      circle at 30% 70%,
      rgba(30, 64, 175, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 30%,
      rgba(124, 58, 237, 0.25) 0%,
      transparent 50%
    );
  padding: 8rem 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -30%;
  width: 60%;
  height: 80%;
  background:
    radial-gradient(
      circle,
      rgba(59, 130, 246, 0.4) 0%,
      rgba(30, 64, 175, 0.2) 40%,
      transparent 70%
    ),
    conic-gradient(
      from 45deg,
      transparent 0deg,
      rgba(30, 64, 175, 0.3) 90deg,
      transparent 180deg
    );
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -30%;
  width: 60%;
  height: 80%;
  background:
    radial-gradient(
      ellipse,
      rgba(147, 51, 234, 0.4) 0%,
      rgba(124, 58, 237, 0.2) 40%,
      transparent 70%
    ),
    conic-gradient(
      from 225deg,
      transparent 0deg,
      rgba(124, 58, 237, 0.3) 90deg,
      transparent 180deg
    );
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.staking-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Staking Info Section */
.staking-info {
  padding: 4rem 0;
  background: var(--bg-secondary);
}

.staking-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.option-card {
  background: var(--gradient-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.option-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-primary);
  border-color: rgba(147, 51, 234, 0.5);
}

.option-card.featured {
  border: 2px solid #dc2626;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(220, 38, 38, 0.05) 100%
  );
  transform: scale(1.02);
  box-shadow:
    0 10px 30px rgba(220, 38, 38, 0.25),
    0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: visible;
  color: #1f2937;
}

.option-card.featured h3,
.option-card.featured .option-features li {
  color: #1f2937 !important;
}

.option-card.featured:hover {
  transform: scale(1.03);
  box-shadow:
    0 15px 40px rgba(220, 38, 38, 0.35),
    0 6px 20px rgba(0, 0, 0, 0.15);
  border-color: #b91c1c;
}

.option-card.featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%,
    rgba(220, 38, 38, 0.03) 100%
  );
  border-radius: inherit;
  pointer-events: none;
}

.featured-badge {
  position: absolute;
  top: -12px;
  right: 15px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  padding: 0.7rem 1.4rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow:
    0 4px 20px rgba(220, 38, 38, 0.5),
    0 2px 8px rgba(0, 0, 0, 0.3);
  border: 3px solid white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  z-index: 15;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.option-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.option-icon {
  font-size: 2.5rem;
}

.option-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.option-features {
  list-style: none;
  margin-bottom: 2rem;
}

.option-features li {
  padding: 0.5rem 0;
  font-size: 1rem;
}

.option-rate {
  text-align: center;
  margin-bottom: 1rem;
}

.rate-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--success-color);
}

.rate-label {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-left: 0.5rem;
}

.bonus-info {
  text-align: center;
  margin-bottom: 1.5rem;
}

.bonus-text {
  background: linear-gradient(135deg, var(--warning-color), var(--error-color));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
}

.option-footer {
  text-align: center;
}

/* Features Section */
.features {
  padding: 6rem 0;
  background: linear-gradient(
    135deg,
    var(--bg-primary) 0%,
    var(--bg-secondary) 100%
  );
  position: relative;
}

.features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 30% 70%,
      rgba(102, 126, 234, 0.06) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 30%,
      rgba(118, 75, 162, 0.04) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.feature-card {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--gradient-card);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-primary);
  border-color: rgba(147, 51, 234, 0.5);
  background: rgba(45, 27, 105, 0.95);
}

.feature-card:hover::before {
  opacity: 0.05;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 8px rgba(30, 64, 175, 0.2));
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-secondary);
}

/* Stats Section */
.stats {
  padding: 6rem 0;
  background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(
      circle at 25% 75%,
      rgba(102, 126, 234, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 75% 25%,
      rgba(56, 178, 172, 0.12) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Animation for featured badge */
@keyframes pulse-glow {
  0% {
    box-shadow:
      0 4px 20px rgba(220, 38, 38, 0.5),
      0 2px 8px rgba(0, 0, 0, 0.3);
    transform: scale(1);
  }
  100% {
    box-shadow:
      0 6px 30px rgba(220, 38, 38, 0.8),
      0 4px 15px rgba(0, 0, 0, 0.4),
      0 0 25px rgba(220, 38, 38, 0.3);
    transform: scale(1.05);
  }
}

/* Responsive Design for Home Page */
@media (max-width: 1024px) {
  .features-grid {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .staking-options {
    grid-template-columns: 1fr;
  }

  .option-card.featured {
    transform: none;
  }

  .hero-actions {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

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