/* Enhanced Home Page Hero Styling for CheapOTT */

:root {
  --home-primary: #ff4757;
  --home-primary-rgb: 255, 71, 87;
  --home-secondary: #1e90ff;
  --home-secondary-rgb: 30, 144, 255;
  --home-accent: #7d5fff;
  --home-accent-rgb: 125, 95, 255;
  --home-success: #2ed573;
  --home-success-rgb: 46, 213, 115;
  --home-warning: #ffa502;
  --home-warning-rgb: 255, 165, 2;
  --home-danger: #ff6348;
  --home-danger-rgb: 255, 99, 72;
  --home-text: #2f3542;
  --home-text-light: #57606f;
  --home-bg-white: #ffffff;
  --home-bg-light: #f9f9f9;
  --home-bg-dark: #2f3542;
  --home-border: #e6e6e6;
  --home-transition: all 0.3s ease;
  --home-gradient-1: linear-gradient(135deg, #ff4757, #ff6b81);
  --home-gradient-2: linear-gradient(135deg, #1e90ff, #70a1ff);
  --home-gradient-3: linear-gradient(135deg, #7d5fff, #5f27cd);
  --home-gradient-4: linear-gradient(135deg, #2ed573, #7bed9f);
  --home-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Dark mode variables */
body.dark-mode {
  --home-text: #f1f2f6;
  --home-text-light: #ced6e0;
  --home-bg-white: #2f3542;
  --home-bg-light: #1e2430;
  --home-bg-dark: #1e2430;
  --home-border: #3d3d3d;
}

/* ===== Enhanced Hero Section ===== */
.home-hero {
  position: relative;
  background: var(--home-bg-light);
  background-image: radial-gradient(circle at 10% 20%, rgba(var(--home-primary-rgb), 0.03) 0%, rgba(var(--home-secondary-rgb), 0.03) 90%);
  padding: 8rem 0 6rem;
  overflow: hidden;
}

.home-hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.home-hero h1 {
  font-size: 4rem;
  color: var(--home-text);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0,0,0,0.05);
  animation: fadeInDown 1s ease-out;
}

.home-hero h2 {
  font-size: 3rem;
  color: var(--home-text);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  animation: fadeInDown 1s ease-out 0.2s;
  animation-fill-mode: both;
}

.highlight-text {
  color: var(--home-primary);
  position: relative;
  display: inline-block;
}

.highlight-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--home-gradient-1);
  border-radius: 4px;
  opacity: 0.3;
  z-index: -1;
}

.highlight-text-secondary {
  color: var(--home-secondary);
  position: relative;
  display: inline-block;
}

.highlight-text-secondary::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--home-gradient-2);
  border-radius: 4px;
  opacity: 0.3;
  z-index: -1;
}

.home-hero p {
  font-size: 1.3rem;
  color: var(--home-text-light);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.4s;
  animation-fill-mode: both;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  animation: fadeInUp 1s ease-out 0.6s;
  animation-fill-mode: both;
}

.btn-primary {
  background: var(--home-gradient-1);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 10px 20px rgba(var(--home-primary-rgb), 0.3);
  transition: all 0.3s ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(var(--home-primary-rgb), 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--home-text);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 2px solid var(--home-border);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-secondary:hover {
  background: rgba(var(--home-secondary-rgb), 0.1);
  border-color: var(--home-secondary);
  color: var(--home-secondary);
  transform: translateY(-3px);
}

.home-hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.home-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.home-shape-1 {
  top: 10%;
  left: 5%;
  width: 350px;
  height: 350px;
  background: rgba(var(--home-primary-rgb), 0.1);
  animation: float 15s ease-in-out infinite, rotate 30s linear infinite;
}

.home-shape-2 {
  top: 15%;
  right: 5%;
  width: 250px;
  height: 250px;
  background: rgba(var(--home-secondary-rgb), 0.1);
  animation: float 12s ease-in-out infinite 2s, rotate 25s linear infinite reverse;
}

.home-shape-3 {
  bottom: 10%;
  left: 10%;
  width: 200px;
  height: 200px;
  background: rgba(var(--home-accent-rgb), 0.1);
  animation: float 18s ease-in-out infinite 1s, rotate 35s linear infinite;
}

.home-shape-4 {
  bottom: 20%;
  right: 15%;
  width: 180px;
  height: 180px;
  background: rgba(var(--home-success-rgb), 0.1);
  animation: float 14s ease-in-out infinite 3s, rotate 28s linear infinite reverse;
}

.home-shape-5 {
  top: 40%;
  left: 30%;
  width: 300px;
  height: 300px;
  background: rgba(var(--home-warning-rgb), 0.05);
  animation: float 20s ease-in-out infinite, rotate 40s linear infinite;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Responsive Styles */
@media (max-width: 768px) {
  .home-hero {
    padding: 6rem 0 4rem;
  }
  
  .home-hero h1 {
    font-size: 2.8rem;
  }
  
  .home-hero h2 {
    font-size: 2.2rem;
  }
  
  .home-hero p {
    font-size: 1.1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    padding: 0.9rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .home-hero h1 {
    font-size: 2.2rem;
  }
  
  .home-hero h2 {
    font-size: 1.8rem;
  }
  
  .home-hero p {
    font-size: 1rem;
  }
}
