:root {
    --bg-dark: #0f111a;
    --bg-darker: #08090d;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-main: #ffffff;
    --text-muted: #a0a5ba;
    --accent-pink: #ff2a75;
    --accent-green: #1db954; /* Spotify green flavor */
    --accent-blue: #4facfe;
    
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Blobs for Modern Aesthetic */
.blob-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-pink) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    top: -10%;
    left: -10%;
    z-index: -1;
    animation: float 20s infinite alternate ease-in-out;
}

.blob-2 {
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
    top: 40%;
    right: -20%;
    left: auto;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

h1 span {
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-pink), #ff5e95);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 42, 117, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 42, 117, 0.6);
}

.btn-secondary {
    background: var(--bg-card);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--bg-dark);
}

.btn-nav {
    padding: 0.6rem 1.5rem;
    background: var(--bg-card);
    color: white;
    border: 1px solid var(--glass-border);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    backdrop-filter: blur(15px);
    background: rgba(15, 17, 26, 0.8);
    border-bottom: 1px solid var(--glass-border);
    transition: padding 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
}

.logo span {
    color: var(--accent-pink);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-pink);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Phone Mockup */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: #111;
    border-radius: 40px;
    border: 8px solid #333;
    position: relative;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.5), inset 0 0 20px rgba(255,255,255,0.05);
    margin: 0 auto;
    overflow: hidden;
    transform: rotate(-5deg);
    transition: transform 0.5s ease;
}

.phone-mockup:hover {
    transform: translateY(-10px) rotate(0deg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    border-radius: 32px;
    padding: 2rem 1.5rem;
    position: relative;
}

.app-ui {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-header {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
    color: white;
}

.app-card {
    background: var(--bg-card);
    padding: 1rem;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    animation: slideUp 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.app-card:nth-child(2) { animation-delay: 0.2s; }
.app-card:nth-child(3) { animation-delay: 0.4s; }

.app-card h4 { font-size: 0.9rem; margin-bottom: 0.2rem; }
.app-card p { font-size: 0.8rem; margin: 0; color: var(--text-muted); }

.play-btn-mockup {
    width: 50px;
    height: 50px;
    background: var(--accent-pink);
    border-radius: 50%;
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    box-shadow: 0 4px 15px rgba(255, 42, 117, 0.4);
}

@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Features */
.section {
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.icon-wrap.pink { background: rgba(255, 42, 117, 0.2); color: var(--accent-pink); }
.icon-wrap.green { background: rgba(29, 185, 84, 0.2); color: var(--accent-green); }
.icon-wrap.blue { background: rgba(79, 172, 254, 0.2); color: var(--accent-blue); }

.feature-card h3 { margin-bottom: 1rem; font-size: 1.5rem; }
.feature-card p { margin-bottom: 0; }

/* How it works */
.dark-overlay {
    background: linear-gradient(to bottom, transparent, var(--bg-darker));
}

.steps {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 42, 117, 0.3);
}

/* Footer */
.footer {
    padding: 5rem 0 2rem;
    background: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Animations Triggered by JS */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .nav-links {
        display: none; /* In a real app, add a hamburger menu */
    }
}

@media (max-width: 600px) {
    h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; text-align: center; }
    .store-buttons { flex-direction: column; }
}
