/* Impactful Home Screen Design */

/* Hero Section */
.home-hero {
  padding: 80px 20px;
  min-height: calc(100vh - 160px);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 60px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08),
              0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Subtle gradient border effect */
.hero-container::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #e5e7eb 0%, #f3f4f6 100%);
  border-radius: 30px;
  z-index: -1;
  opacity: 0.5;
}

/* Enhanced hero image */
.hero-image-wrapper {
  position: relative;
  display: inline-block;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.hero-image-wrapper:hover::before {
  opacity: 1;
}

.hero-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08),
              0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  position: relative;
  /* Blend mode to make purple background more neutral */
  background-color: #f8f9fa;
  background-blend-mode: multiply;
}

.hero-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12),
              0 0 0 1px rgba(0, 0, 0, 0.04);
}

/* Hero content styling */
.hero-content {
  text-align: left;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #2f2258 0%, #871a67 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 30px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #6c757d;
  margin-bottom: 50px;
  line-height: 1.6;
  max-width: 600px;
}

/* Enhanced buttons */
.hero-buttons {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.hero-button {
  padding: 18px 40px;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.hero-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: width 0.3s ease;
}

.hero-button:hover::before {
  width: 100%;
}

.hero-button-primary {
  background: linear-gradient(135deg, #871a67 0%, #a84d8a 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 20px rgba(135, 26, 103, 0.3);
}

.hero-button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(135, 26, 103, 0.4);
  color: white;
}

.hero-button-secondary {
  background: transparent;
  color: #2f2258;
  border: 2px solid #2f2258;
}

.hero-button-secondary:hover {
  background: #2f2258;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(47, 34, 88, 0.3);
}

/* Features section enhancement */
.features-section {
  padding: 100px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #e9ecef 50%, transparent 100%);
}

.features-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #2f2258 0%, #871a67 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: #6c757d;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.feature-card {
  text-align: center;
  padding: 50px 40px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #871a67 0%, #2f2258 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #871a67 0%, #2f2258 100%);
  color: white;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
}

.feature-description {
  color: #6c757d;
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Dark mode enhancements */
html.dark-mode .home-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

html.dark-mode .hero-container {
  background: rgba(26, 26, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

html.dark-mode .hero-container::before {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  opacity: 0.5;
}

html.dark-mode .hero-title {
  background: linear-gradient(135deg, #a84d8a 0%, #871a67 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

html.dark-mode .hero-subtitle {
  color: #9ca3af;
}

html.dark-mode .hero-image-wrapper::before {
  background: linear-gradient(135deg, #4338ca 0%, #5b21b6 50%, #6d28d9 100%);
  opacity: 0;
}

html.dark-mode .hero-image-wrapper:hover::before {
  opacity: 0.3;
}

html.dark-mode .hero-image {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
              0 0 0 1px rgba(255, 255, 255, 0.1);
}

html.dark-mode .hero-image:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(255, 255, 255, 0.1);
}

html.dark-mode .hero-button-secondary {
  color: #a84d8a;
  border-color: #a84d8a;
}

html.dark-mode .hero-button-secondary:hover {
  background: linear-gradient(135deg, #871a67 0%, #a84d8a 100%);
  border-color: transparent;
}

html.dark-mode .features-section {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

html.dark-mode .features-section::before {
  background: linear-gradient(90deg, transparent 0%, #2a2a2a 50%, transparent 100%);
}

html.dark-mode .feature-card {
  background: #1a1a1a;
  border-color: #2a2a2a;
}

html.dark-mode .feature-card:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  border-color: #871a67;
}

html.dark-mode .feature-title {
  color: #e5e5e5;
}

html.dark-mode .feature-description {
  color: #9ca3af;
}

html.dark-mode .features-title {
  background: linear-gradient(135deg, #a84d8a 0%, #871a67 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

html.dark-mode .features-subtitle {
  color: #9ca3af;
}

/* License alert enhancement */
.license-alert {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border: none;
  padding: 60px;
  border-radius: 20px;
  margin: 80px auto;
  max-width: 700px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(255, 193, 7, 0.2);
  position: relative;
  overflow: hidden;
}

.license-alert::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.license-alert-error {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  box-shadow: 0 20px 60px rgba(220, 53, 69, 0.2);
}

.license-alert-error::before {
  background: radial-gradient(circle, rgba(220, 53, 69, 0.1) 0%, transparent 70%);
}

.license-alert .icon {
  font-size: 5rem;
  margin-bottom: 30px;
  animation: shake 2s ease-in-out infinite;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.license-alert h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 25px;
}

html.dark-mode .license-alert {
  background: linear-gradient(135deg, #3a3a2e 0%, #2a2a1e 100%);
  color: #ffc107;
  box-shadow: 0 20px 60px rgba(255, 193, 7, 0.1);
}

html.dark-mode .license-alert-error {
  background: linear-gradient(135deg, #3a2a2a 0%, #2a1a1a 100%);
  color: #f8d7da;
  box-shadow: 0 20px 60px rgba(220, 53, 69, 0.1);
}

/* Responsive design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding: 50px;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    max-width: 450px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .home-hero {
    padding: 40px 20px;
  }
  
  .hero-container {
    padding: 40px 30px;
    border-radius: 20px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-button {
    padding: 15px 30px;
    font-size: 1rem;
  }
  
  .features-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .feature-card {
    padding: 40px 30px;
  }
  
  .features-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-container {
    padding: 30px 20px;
    border-radius: 15px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
}

/* Entrance animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-image {
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.feature-card {
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }