* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --primary-green: #1db954;
    --secondary-green: #1ed760;
    --accent-purple: #8b5cf6;
    --accent-blue: #3b82f6;
    --dark-bg: #121212;
    --darker-bg: #000000;
    --card-bg: #181818;
    --text-light: #ffffff;
    --text-muted: #b3b3b3;
    --spotify-green: #1db954;
    --gradient-1: linear-gradient(90deg, #8C67FF 0%, #FF7E47 100%);
    --gradient-2: linear-gradient(90deg, #3b82f6 0%, #1ed760 100%);
    --gradient-3: linear-gradient(90deg, #8b5cf6 0%, #1db954 100%);
    --gradient-4: linear-gradient(135deg, #8C67FF 0%, #FF7E47 100%);
    --gradient-spotify: linear-gradient(90deg, #1db954 0%, #1ed760 100%);
}

body {
    font-family: var(--font-primary);
    background: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background-color: transparent;
    /* Added semi-transparent background */
    backdrop-filter: blur(5px);
    /* Added blur effect */
}

.header.scrolled {
    background-color: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-secondary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    position: relative;
    text-decoration: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: rgba(30, 30, 30);
    z-index: 1001;
    padding: 80px 40px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
}

.mobile-menu a {
    text-decoration: none;
    text-align: center;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.mobile-nav-links a {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 500;
}

.mobile-header-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (max-width: 992px) {

    .nav-links,
    .header-buttons {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.2;
    background: radial-gradient(circle at 20% 30%, rgba(29, 185, 84, 0.15) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.15) 0%, transparent 50%), radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 120px;
    height: 120px;
    background: var(--gradient-spotify);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--gradient-2);
    top: 50%;
    right: 5%;
    animation-delay: -7s;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: var(--gradient-3);
    bottom: 10%;
    left: 15%;
    animation-delay: -14s;
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-30px) rotate(120deg);
    }

    66% {
        transform: translateY(20px) rotate(240deg);
    }
}

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

.music-note {
    position: absolute;
    color: var(--primary-green);
    opacity: 0.3;
    animation: noteFloat 12s infinite linear;
    font-size: 2rem;
}

.music-note:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.music-note:nth-child(2) {
    left: 20%;
    animation-delay: -2s;
    font-size: 1.5rem;
    color: var(--accent-purple);
}

.music-note:nth-child(3) {
    left: 30%;
    animation-delay: -4s;
    font-size: 2.5rem;
}

.music-note:nth-child(4) {
    left: 40%;
    animation-delay: -6s;
    font-size: 1.8rem;
    color: var(--accent-blue);
}

.music-note:nth-child(5) {
    left: 50%;
    animation-delay: -8s;
    font-size: 2.2rem;
}

.music-note:nth-child(6) {
    left: 60%;
    animation-delay: -10s;
    font-size: 1.6rem;
    color: var(--secondary-green);
}

.music-note:nth-child(7) {
    left: 70%;
    animation-delay: -12s;
    font-size: 2.4rem;
}

.music-note:nth-child(8) {
    left: 80%;
    animation-delay: -14s;
    font-size: 1.7rem;
    color: var(--accent-purple);
}

.music-note:nth-child(9) {
    left: 90%;
    animation-delay: -16s;
    font-size: 2.1rem;
}

@keyframes noteFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.4;
    }

    90% {
        opacity: 0.4;
    }

    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-btn {
    padding: 0.75rem 1.5rem;
    /* background: var(--gradient-spotify); */
    border: 2px solid var(--accent-purple);
    border-radius: 8px;
    color: var(--accent-purple);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    /* box-shadow: 0 4px 15px rgba(29, 185, 84, 0.3); */
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 185, 84, 0.4);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 2rem;
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.1) 0%, rgba(18, 18, 18, 0.7) 30%, rgba(0, 0, 0, 0.8) 100%), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><defs><pattern id="musicPattern" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="%231db954" opacity="0.3"/><path d="M40 10 Q45 15 40 20 Q35 15 40 10" fill="%238b5cf6" opacity="0.2"/><circle cx="70" cy="70" r="1.5" fill="%233b82f6" opacity="0.25"/><path d="M80 40 L85 45 L80 50 L75 45 Z" fill="%231ed760" opacity="0.2"/></pattern></defs><rect width="100%" height="100%" fill="%23121212"/><rect width="100%" height="100%" fill="url(%23musicPattern)" opacity="0.6"/><circle cx="400" cy="200" r="300" fill="url(%23grad1)" opacity="0.4"><animate attributeName="r" values="300;400;300" dur="8s" repeatCount="indefinite"/></circle><circle cx="1520" cy="880" r="250" fill="url(%23grad2)" opacity="0.3"><animate attributeName="r" values="250;350;250" dur="10s" repeatCount="indefinite"/></circle></svg>') center/cover;
    background-attachment: fixed;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.hero-content::after {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(29, 185, 84, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: heroGlow 4s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% {
        transform: translateX(-50%) scale(1);
        opacity: 0.6;
    }

    100% {
        transform: translateX(-50%) scale(1.3);
        opacity: 0.9;
    }
}

.hero .gradient-1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    border: 2px solid var(--accent-purple);
    color: var(--accent-purple);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent-purple);
    border-color: var(--accent-purple);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-purple);
    border-color: var(--accent-purple);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(109, 74, 255, 0.2);
}

.cta-btn {
    padding: 1rem 3rem;
    background: var(--gradient-2);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 1rem 1rem 0;
    display: inline-block;
    text-decoration: none;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.4);
}

.how-it-works {
    padding: 8rem 2rem;
    background: var(--dark-bg);
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid rgba(29, 185, 84, 0.2);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--spotify-green);
    box-shadow: 0 10px 30px rgba(29, 185, 84, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-spotify);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

.features {
    padding: 8rem 2rem;
    background: var(--darker-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(29, 185, 84, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(29, 185, 84, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(29, 185, 84, 0.2);
    border-color: var(--spotify-green);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    animation: pulse 2s infinite ease-in-out;
}

.feature-card:hover .feature-icon {
    animation: none;
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.demo-section {
    padding: 8rem 2rem;
    background: var(--darker-bg);
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.demo-card {
    text-align: center;
}

.demo-card h3 {
    font-size: 1.2rem;
    color: var(--spotify-green);
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(29, 185, 84, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--spotify-green);
}

.playlist-demo {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1rem;
    margin: 2rem auto;
    max-width: 300px;
    border: 1px solid rgba(29, 185, 84, 0.3);
    position: relative;
    overflow: hidden;
}

.playlist-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-spotify);
}

.playlist-header {
    text-align: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.playlist-header h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.playlist-header span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.playlist-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.playlist-item:last-child {
    border-bottom: none;
}

.song-artwork {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.song-info {
    flex: 1;
}

.song-title {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

.song-artist {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stats {
    padding: 6rem 2rem;
    background: var(--dark-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.final-cta {
    padding: 8rem 2rem;
    background: var(--darker-bg);
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.final-cta p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer {
    background: var(--darker-bg);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .header {
        padding: 1rem;
    }

    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .features,
    .stats,
    .final-cta {
        padding: 4rem 1rem;
    }

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

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