/**
 * Redesigned Homepage Styles
 * 
 * Modern, professional design for Inspired Podcast Stories
 */

/* Remove default margins */
.site-main,
.home-redesigned {
  margin: 0;
  padding: 0;
}

/* Hero Section */
.hero-redesigned {
  position: relative;
  padding: 100px 0 120px;
  overflow: hidden;
  min-height: 700px;
  display: flex;
  align-items: center;
  margin-top: 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1a1a2e !important;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 20% 50%,
      rgba(26, 188, 156, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(52, 152, 219, 0.1) 0%,
      transparent 50%
    );
  animation: patternMove 20s ease-in-out infinite;
}

@keyframes patternMove {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

.hero-content-left {
  position: relative;
  color: #ffffff;
  padding-right: 20px;
}

.hero-content-left::before {
  content: "\f130";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  font-size: 400px;
  color: rgba(26, 188, 156, 0.03);
  left: -80px;
  top: 50%;
  transform: translateY(-50%) rotate(-15deg);
  z-index: -1;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(
    135deg,
    rgba(26, 188, 156, 0.15) 0%,
    rgba(52, 152, 219, 0.15) 100%
  );
  border: 2px solid rgba(26, 188, 156, 0.3);
  border-radius: 50px;
  color: #1abc9c;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(26, 188, 156, 0.2);
  animation: pulse 3s ease-in-out infinite;
}

.hero-badge::before {
  content: "\f130";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 16px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.hero-main-title {
  color: #ffffff !important;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  font-family: "Poppins", sans-serif;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, #1abc9c 0%, #3498db 50%, #9b59b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradient-shift 4s ease-in-out infinite;
  display: block;
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.hero-lead {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 25px;
  max-width: 540px;
}

.hero-features {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
}

.feature-item i {
  color: var(--podcast-accent);
  font-size: 18px;
}

.hero-cta-buttons {
  display: flex;
  gap: 18px;
  margin-bottom: 35px;
}

.btn-hero-primary,
.btn-hero-outline {
  padding: 16px 35px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: none;
}

.btn-hero-primary {
  background: var(--podcast-accent);
  color: #ffffff;
  border: 2px solid var(--podcast-accent);
}

.btn-hero-primary:hover {
  background: transparent;
  border-color: var(--podcast-accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(26, 188, 156, 0.3);
}

.btn-hero-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.hero-platforms {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.platforms-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
}

.platform-badges {
  display: flex;
  gap: 10px;
}

.platform-badge {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.platform-badge:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Hero Image */
.hero-content-right {
  position: relative;
  padding-left: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-image-container {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

/* Audio Waveform Animation */
.audio-waveform {
  position: absolute;
  top: 50%;
  left: -60px;
  transform: translateY(-50%);
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  z-index: 10;
}

.wave-bar {
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #1abc9c 0%, #3498db 100%);
  border-radius: 3px;
  animation: wave-bounce 1.2s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(26, 188, 156, 0.5);
}

@keyframes wave-bounce {
  0%,
  100% {
    height: 20%;
  }
  50% {
    height: 100%;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-image-decoration {
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background: radial-gradient(
    circle at center,
    rgba(26, 188, 156, 0.3) 0%,
    rgba(52, 152, 219, 0.2) 50%,
    transparent 70%
  );
  border-radius: 50%;
  opacity: 0.6;
  filter: blur(60px);
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.hero-image-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 10px,
    rgba(26, 188, 156, 0.1) 10px,
    rgba(26, 188, 156, 0.1) 12px
  );
  border-radius: 50%;
  animation: rotate 20s linear infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes morph {
  0%,
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  50% {
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  }
}

.hero-host-image {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 15px rgba(26, 188, 156, 0.1),
    0 0 0 30px rgba(26, 188, 156, 0.05);
  margin: 0 0 0 auto;
  display: block;
  border: 5px solid rgba(26, 188, 156, 0.3);
  transition: all 0.5s ease;
}

.hero-host-image:hover {
  border-radius: 50%;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 0 20px rgba(26, 188, 156, 0.15), 0 0 0 40px rgba(26, 188, 156, 0.08);
}

.floating-badge {
  position: absolute;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  padding: 18px 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(26, 188, 156, 0.1);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: floatBadge 4s ease-in-out infinite;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.floating-badge:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

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

.badge-1 {
  top: 15%;
  left: -40px;
  animation-delay: 0s;
}

.badge-2 {
  bottom: 12%;
  right: -40px;
  animation-delay: 2s;
}

.floating-badge i {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 15px rgba(26, 188, 156, 0.4);
  justify-content: center;
  font-size: 20px;
}

.badge-content {
  display: flex;
  flex-direction: column;
}

.badge-number {
  font-size: 22px;
  font-weight: 800;
  color: var(--podcast-dark);
  font-family: "Poppins", sans-serif;
}

.badge-label {
  font-size: 12px;
  color: #666;
  font-weight: 600;
}

.hero-wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.hero-wave-bottom svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.wave-fill {
  fill: #ffffff;
}

/* Stats Counter Section */
.stats-counter-section {
  padding: 100px 0;
  background: #f8f9fa;
}

.stats-counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-counter-item {
  text-align: center;
  padding: 20px;
}

.stat-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(
    135deg,
    var(--podcast-secondary) 0%,
    var(--podcast-accent) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--podcast-dark);
  margin-bottom: 10px;
  font-family: "Poppins", sans-serif;
}

.stat-description {
  font-size: 16px;
  color: #666;
  font-weight: 600;
}

/* Latest Episodes Section */
.latest-episodes-section {
  padding: 100px 20px 100px;
  background: #ffffff !important;
}

.section-header-center {
  text-align: center;
  margin-bottom: 70px;
}

.section-subtitle {
  display: inline-block;
  color: var(--podcast-secondary);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-title-large {
  font-size: 42px;
  font-weight: 800;
  color: var(--podcast-dark);
  margin-bottom: 15px;
  font-family: "Poppins", sans-serif;
}

.section-description {
  font-size: 18px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.episodes-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.episode-showcase-card {
  background: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.episode-showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.episode-showcase-thumbnail {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1abc9c 0%, #3498db 100%);
}

.episode-showcase-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.placeholder-thumbnail {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1abc9c 0%, #3498db 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 48px;
}

.episode-showcase-card:hover .episode-showcase-thumbnail img {
  transform: scale(1.1);
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.episode-showcase-card:hover .play-overlay {
  opacity: 1;
}

.play-overlay i {
  font-size: 24px;
  color: var(--podcast-secondary);
  margin-left: 3px;
}

.episode-industry-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 15px;
  background: var(--podcast-accent);
  color: #ffffff;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.episode-showcase-content {
  padding: 30px 25px;
}

.episode-showcase-title {
  margin-bottom: 12px;
}

.episode-showcase-title a {
  color: var(--podcast-dark);
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.episode-showcase-title a:hover {
  color: var(--podcast-secondary);
}

.episode-showcase-excerpt {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.episode-showcase-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-top: 20px;
  margin-top: 15px;
  border-top: 1px solid #e8e8e8;
}

.episode-listen-link {
  color: #ffffff;
  background: var(--podcast-secondary);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.episode-listen-link:hover {
  background: var(--podcast-accent);
  gap: 12px;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 188, 156, 0.4);
}

.section-cta-center {
  text-align: center;
  margin-top: 60px !important;
  padding-top: 40px !important;
  padding-bottom: 40px !important;
  border-top: 1px solid #e8e8e8;
}

.btn-large {
  padding: 16px 40px;
  font-size: 16px;
}

/* Newsletter CTA Section */
.newsletter-cta-section {
  padding: 100px 0 120px !important;
  background: linear-gradient(
    135deg,
    var(--podcast-dark) 0%,
    #1a252f 100%
  ) !important;
}

.newsletter-cta-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 50px !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-cta-content {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
}

.newsletter-icon {
  width: 80px;
  height: 80px;
  background: var(--podcast-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  color: #ffffff;
  flex-shrink: 0;
}

.newsletter-text h2 {
  color: #ffffff;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
  font-family: "Poppins", sans-serif;
}

.newsletter-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  margin: 0;
}

.newsletter-signup-form {
  display: flex;
  gap: 15px;
  max-width: 600px;
}

.newsletter-input {
  flex: 1;
  padding: 16px 25px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 15px;
  transition: all 0.3s ease;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--podcast-accent);
  background: rgba(255, 255, 255, 0.15);
}

.btn-newsletter {
  padding: 16px 35px;
  border-radius: 50px;
  background: var(--podcast-accent);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-newsletter:hover {
  background: #16a085;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(26, 188, 156, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 0 30px;
  }

  .hero-content-left {
    padding-right: 0;
  }

  .hero-content-left::before {
    font-size: 300px;
    left: -40px;
  }

  .hero-content-right {
    padding-left: 0;
    order: -1;
  }

  .hero-main-title {
    font-size: 42px;
  }

  .audio-waveform {
    left: 10px;
    top: 10px;
    transform: none;
    height: 80px;
  }

  .wave-bar {
    width: 4px;
    gap: 6px;
  }

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

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

@media (max-width: 768px) {
  .hero-redesigned {
    padding: 60px 0 80px;
  }

  .hero-grid {
    padding: 0 20px;
  }

  .stats-counter-section,
  .latest-episodes-section,
  .newsletter-cta-section {
    padding: 60px 0 80px;
  }

  .hero-main-title {
    font-size: 36px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-features {
    flex-wrap: wrap;
  }

  .hero-cta-buttons {
    flex-direction: column;
  }

  .platform-badges {
    flex-wrap: wrap;
  }

  .floating-badge {
    display: none;
  }

  .audio-waveform {
    display: none;
  }

  .hero-content-left::before {
    display: none;
  }

  .section-title-large {
    font-size: 32px;
  }

  .episodes-showcase-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-cta-content {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-signup-form {
    flex-direction: column;
  }
}

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

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