/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-green: #0f2;
  --dark-bg: #000;
  --text-primary: #f6f5f5;
  --text-secondary: #c4c4c4;
  --primary-pink: #ff3df2;
  --text-muted: #7C8079;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scroll Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll:nth-child(1) {
  transition-delay: 0.1s;
}
.animate-on-scroll:nth-child(2) {
  transition-delay: 0.2s;
}
.animate-on-scroll:nth-child(3) {
  transition-delay: 0.3s;
}
.animate-on-scroll:nth-child(4) {
  transition-delay: 0.4s;
}
.animate-on-scroll:nth-child(5) {
  transition-delay: 0.5s;
}
.animate-on-scroll:nth-child(6) {
  transition-delay: 0.6s;
}
.animate-on-scroll:nth-child(7) {
  transition-delay: 0.7s;
}
.animate-on-scroll:nth-child(8) {
  transition-delay: 0.8s;
}

.transition-delay-none {
  transition-delay: unset !important;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--dark-bg);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  height: 40px;
}

.logo {
  width: 100%;
}

.nav-mail {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 14px;

  img {
    height: 15px;
    width: 15px;
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-content {
  text-align: center;
  z-index: 2;
  position: relative;
  overflow: visible;
}

.hero-title {
  font-size: 96px;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.highlight {
  font-weight: 700;
  font-size: 80px;
}

.hero-subtitle {
  font-size: 34px;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.6;
  font-weight: 400;
}

.cta-button {
  background: var(--primary-green);
  color: var(--dark-bg);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 255, 8, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 255, 17, 0.4);
}

/* Lines Background */
.lines-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  overflow: visible;
  z-index: 1;
  object-fit: contain;
}

.lines-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transform: translate(0, 10%);
  object-fit: cover;
  filter: brightness(1.1);
}

/* Features Section */
.features {
  padding: 0 40px;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.feature-card {
  padding: 40px;
  border-radius: 32px;
  background: rgba(7, 3, 18, 0.04);
  box-shadow: 0 0 1px 0 rgba(255, 255, 255, 0.4) inset, 1px 1px 1px -0.5px rgba(0, 255, 34, 0.26) inset,
    0 32px 64px 0 rgba(0, 255, 34, 0.08) inset;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 410px;
  height: 210px;
  user-select: none;

  stop:nth-child(1) {
    stop-color: var(--primary-green);
  }
  stop:nth-child(2) {
    stop-color: #009914;
    stop-opacity: 0.2;
  }
  stop {
    transition: all 0.3s ease;
  }
}

.feature-card:hover {
  transform: rotateX(30deg) rotateY(-17.261deg) skewY(-2deg);
  box-shadow: 0 0 1px 0 rgba(255, 255, 255, 0.4) inset, 1px 1px 1px -0.5px rgba(255, 61, 242, 0.26) inset,
    0 32px 64px 0 rgba(255, 61, 242, 0.08) inset;
  h3 {
    color: var(--primary-pink);
  }
  stop:nth-child(1) {
    stop-color: var(--primary-pink);
  }
  stop:nth-child(2) {
    stop-color: var(--primary-pink);
    stop-opacity: 0.2;
  }
}

.feature-icon {
  width: 112px;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: absolute;
  bottom: 0px;
  right: 20px;
}

.feature-card h3 {
  font-size: 34px;
  font-weight: 400;
  color: var(--primary-green);
}

.feature-card p {
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
}

/* Library Section */
.library {
  padding: 6rem 2rem;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 24px;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-weight: 400;
}

.library .section-subtitle {
  padding-left: 6rem;
  text-align: left;
}

.library .section-title {
  padding-left: 6rem;
  text-align: left;
}

.library-showcase {
  max-width: 100%;
  margin: 0 auto;
  overflow: visible;
  position: relative;
  perspective: 1200px;
  transform-style: preserve-3d;
  transform: perspective(139vw) rotateX(2deg) rotateY(-7.261deg) skewY(-3deg) skewX(15deg);
}

.music-cards-raw-one,
.music-cards-raw-two {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 0;
  width: max-content;
  will-change: transform;
}

.music-cards-raw-one {
  animation: scrollRight 30s linear infinite;
}

.music-cards-raw-two {
  animation: scrollLeft 35s linear infinite;
}

.music-cards-raw-one:hover,
.music-cards-raw-two:hover {
  animation-play-state: paused;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 0.75rem));
  }
}

@keyframes scrollRight {
  0% {
    transform: translateX(calc(-50% - 0.75rem));
  }
  100% {
    transform: translateX(0);
  }
}

.music-card {
  width: 150px;
  height: 150px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  flex-shrink: 0;
  object-fit: cover;
}

.music-card:hover {
  transform: translateY(-10px) scale(1.4);
  z-index: 10;
}

/* Playlists Section */
.playlists {
  padding: 6rem 8rem;
  min-height: 100vh;
  flex-direction: column;
}

.playlists-content {
  display: flex;
  flex-direction: column;
  align-items: end;
}

.playlist-cards {
  display: flex;
  position: relative;
  align-self: flex-start;
  justify-self: flex-start;
  height: 30vh;
  width: 50%;
  margin-top: 4rem;
}

.playlist-card {
  width: 120px;
  height: 120px;
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.playlist-card:nth-child(1) {
  left: 0;
  top: 30%;
  width: auto;
  height: 50%;
}

.playlist-card:nth-child(2) {
  left: 28%;
  top: 0;
  height: 65%;
  width: auto;
  z-index: 5;
}

.playlist-card:nth-child(3) {
  left: 23%;
  top: 70%;
  width: auto;
  height: 40%;
}

.playlist-card:nth-child(4) {
  left: 50%;
  top: 60%;
  height: 65%;
  width: auto;
}

.playlist-card:nth-child(5) {
  left: 60%;
  top: -30%;
  height: 40%;
  width: auto;
}

.playlist-card:nth-child(6) {
  left: 80%;
  top: 0;
  height: 60%;
  width: auto;
}

.playlist-card:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* Pricing Section */
.pricing {
  padding: 6rem 2rem;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.pricing .section-title {
  text-align: center;
  margin-bottom: 4rem;
  padding: 0;
}

.pricing-cards {
  display: flex;
  justify-content: space-evenly;
  gap: 2rem;
  margin: 0 auto;
  flex-wrap: wrap;
  margin-bottom: 15rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 2rem;
  padding: 56px 60px;
  min-width: 280px;
  width: 27vw;
  transition: all 0.3s ease;
  position: relative;
  border-radius: 32px;
  background: rgba(7, 3, 18, 0.04);
  box-shadow: 0 0 1px 0 rgba(255, 255, 255, 0.4) inset, 1px 1px 1px -0.5px rgba(0, 255, 34, 0.26) inset,
    0 32px 64px 0 rgba(0, 255, 34, 0.08) inset;
}

.pricing-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.pricing-card.featured {
  background: #1f221e !important;
  box-shadow: none;
  transform: translateY(-2rem);
}

.pricing-card:hover {
  transform: translateY(-2rem);
}

.pricing-card.featured .cta-button {
  border-radius: 71px;
  background: #4e524b;
  box-shadow: unset;
}

.pricing-card.featured .cta-button:hover {
  transform: unset;
  box-shadow: unset;
}
.plan-type {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: 11px;
  background: rgba(147, 150, 145, 0.2);
  padding: 0.5rem 1rem;
}

.plan-access {
  color: var(--text-secondary);
  font-size: 16px;
}

.plan-price {
  margin-bottom: 1rem;
}

.price {
  font-size: 64px;
  font-weight: 700;
  color: var(--text-primary);
}

.period {
  color: var(--text-secondary);
  font-size: 48px;
}

.plan-save {
  color: var(--primary-green);
  font-size: 34px;
  font-weight: 400;
}

.pricing-note {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-note .logos {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding-top: 2rem;
}

/* Footer */
.footer {
  background: #1F221E;
  border-top: 1px solid #4e524b;
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  gap: 8rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 8rem;
}

.footer-column h4 {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--primary-green);
}

.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-green);
  color: var(--dark-bg);
  border-color: var(--primary-green);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--text-muted);
  color: var(--text-muted);
}

/* Green Particles Background */
.particles-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: var(--primary-green);
  border-radius: 50%;
  opacity: 0.6;
  animation: float 15s infinite linear;
}

.particle:nth-child(1) {
  width: 3px;
  height: 3px;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 12s;
}

.particle:nth-child(2) {
  width: 2px;
  height: 2px;
  left: 20%;
  animation-delay: 2s;
  animation-duration: 16s;
}

.particle:nth-child(3) {
  width: 4px;
  height: 4px;
  left: 30%;
  animation-delay: 4s;
  animation-duration: 14s;
}

.particle:nth-child(4) {
  width: 2px;
  height: 2px;
  left: 40%;
  animation-delay: 6s;
  animation-duration: 18s;
}

.particle:nth-child(5) {
  width: 3px;
  height: 3px;
  left: 50%;
  animation-delay: 8s;
  animation-duration: 12s;
}

.particle:nth-child(6) {
  width: 2px;
  height: 2px;
  left: 60%;
  animation-delay: 10s;
  animation-duration: 16s;
}

.particle:nth-child(7) {
  width: 4px;
  height: 4px;
  left: 70%;
  animation-delay: 12s;
  animation-duration: 14s;
}

.particle:nth-child(8) {
  width: 3px;
  height: 3px;
  left: 80%;
  animation-delay: 14s;
  animation-duration: 18s;
}

.particle:nth-child(9) {
  width: 2px;
  height: 2px;
  left: 90%;
  animation-delay: 16s;
  animation-duration: 12s;
}

.particle:nth-child(10) {
  width: 3px;
  height: 3px;
  left: 15%;
  animation-delay: 18s;
  animation-duration: 16s;
}

.particle:nth-child(11) {
  width: 2px;
  height: 2px;
  left: 25%;
  animation-delay: 20s;
  animation-duration: 14s;
}

.particle:nth-child(12) {
  width: 4px;
  height: 4px;
  left: 35%;
  animation-delay: 22s;
  animation-duration: 18s;
}

.particle:nth-child(13) {
  width: 2px;
  height: 2px;
  left: 45%;
  animation-delay: 24s;
  animation-duration: 12s;
}

.particle:nth-child(14) {
  width: 3px;
  height: 3px;
  left: 55%;
  animation-delay: 26s;
  animation-duration: 16s;
}

.particle:nth-child(15) {
  width: 2px;
  height: 2px;
  left: 65%;
  animation-delay: 28s;
  animation-duration: 14s;
}

.particle:nth-child(16) {
  width: 4px;
  height: 4px;
  left: 75%;
  animation-delay: 30s;
  animation-duration: 18s;
}

.particle:nth-child(17) {
  width: 3px;
  height: 3px;
  left: 85%;
  animation-delay: 32s;
  animation-duration: 12s;
}

.particle:nth-child(18) {
  width: 2px;
  height: 2px;
  left: 95%;
  animation-delay: 34s;
  animation-duration: 16s;
}

.particle:nth-child(19) {
  width: 3px;
  height: 3px;
  left: 5%;
  animation-delay: 36s;
  animation-duration: 14s;
}

.particle:nth-child(20) {
  width: 2px;
  height: 2px;
  left: 75%;
  animation-delay: 38s;
  animation-duration: 18s;
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* Animated Background SVG */
.cards-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  width: 80%;
  height: auto;
  max-width: 915px;
  opacity: 0.6;
  pointer-events: none;
  animation: floatAndPulse 6s ease-in-out infinite;
  filter: blur(1px);
}

@keyframes floatAndPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    opacity: 0.4;
  }
  25% {
    transform: translate(-48%, -52%) scale(1.05) rotate(1deg);
    opacity: 0.6;
  }
  50% {
    transform: translate(-52%, -48%) scale(1.1) rotate(-1deg);
    opacity: 0.8;
  }
  75% {
    transform: translate(-50%, -50%) scale(1.05) rotate(0.5deg);
    opacity: 0.6;
  }
}

/* Position the playlists section to accommodate the animated background */
.playlists {
  position: relative;
  overflow: hidden;
}

/* Enhance the playlist cards container to work with the background */
.playlist-cards {
  position: relative;
  z-index: 2;
}

/* Responsive Design */
@media (max-width: 900px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .nav {
    padding: 1rem;
  }

  .hero {
    padding: 0 1rem;
  }

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

  .features {
    padding: 4rem 1rem;
  }

  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }
}
