/* Landing Page Styles */

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

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

:root {
    --primary-color: #854DE6;
    --secondary-color: #191414;
    --accent-color: #A569F0;
    --background-color: #0f0f0f;
    --surface-color: #1a1a1a;
    --surface-elevated: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #666666;
    --border-color: #333333;
    --success-color: #1DB954;
    --warning-color: #ffaa00;
    --error-color: #ff4444;
    
    --border-radius: 12px;
    --box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    --gradient-surface: linear-gradient(135deg, var(--background-color), #1a1a2e);
    
    /* Legacy variables for compatibility */
    --background-dark: #121212;
    --background-darker: #0d1117;
    --card-background: #1e1e1e;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background-dark);
}

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

/* Navigation - Using Dashboard Header Style */
.navbar {
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(51, 51, 51, 0.3);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: flex-end;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(133, 77, 230, 0.15);
}

.nav-link i {
    font-size: 0.9rem;
}

/* Auth Buttons */
.nav-cta {
    margin-left: 1.5rem;
    padding-left: 1rem;
    border-left: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.login-btn {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    border: 1px solid var(--border-color);
}

.login-btn:hover {
    color: var(--primary-color);
    background: rgba(133, 77, 230, 0.15);
    border-color: var(--primary-color);
}

.login-btn i {
    font-size: 0.9rem;
}

.cta-btn {
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-darker) 100%);
    position: relative;
    overflow: hidden;
}

/* Advanced floating particles animation */
.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.floating-particles::before,
.floating-particles::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(133, 77, 230, 0.5);
}

.floating-particles::before {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
    opacity: 0.7;
}

.floating-particles::after {
    top: 70%;
    right: 12%;
    animation-delay: 4s;
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1); 
        opacity: 0.5;
    }
    25% { 
        transform: translateY(-30px) rotate(90deg) scale(1.2); 
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-15px) rotate(180deg) scale(0.8); 
        opacity: 1;
    }
    75% { 
        transform: translateY(-40px) rotate(270deg) scale(1.1); 
        opacity: 0.6;
    }
}

/* Global background particles that activate on scroll */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(133, 77, 230, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(165, 105, 240, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(133, 77, 230, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.3s ease;
}

body.scrolling::before {
    animation: backgroundPulse 3s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { 
        opacity: 0.5;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.02);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(133, 77, 230, 0.1);
    border: 1px solid rgba(133, 77, 230, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.badge-icon {
    font-size: 1rem;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(133, 77, 230, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(133, 77, 230, 0); }
    100% { box-shadow: 0 0 0 0 rgba(133, 77, 230, 0); }
}

/* Typewriter Animation */
.typewriter {
    position: relative;
}

.typewriter::after {
    content: '|';
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}



/* Hero Features Quick - 3 items per row */
.hero-features-quick {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
    max-width: 500px;
}

.quick-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

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

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

.quick-feature:hover {
    background: rgba(133, 77, 230, 0.15);
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(133, 77, 230, 0.3);
    border-color: rgba(133, 77, 230, 0.4);
}

.quick-feature i {
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.quick-feature:hover i {
    transform: scale(1.2) rotate(5deg);
}

@media (max-width: 768px) {
    .hero-features-quick {
        grid-template-columns: 1fr;
        max-width: none;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title br {
    display: block;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-primary {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.4);
}

/* Pulse animation for CTA button */
.pulse-animation {
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    from { box-shadow: 0 0 20px rgba(133, 77, 230, 0.4); }
    to { box-shadow: 0 0 30px rgba(133, 77, 230, 0.8), 0 0 40px rgba(133, 77, 230, 0.4); }
}

/* Button particles effect */
.button-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.button-particles::before,
.button-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: button-float 3s linear infinite;
}

.button-particles::before {
    left: 20%;
    animation-delay: 0s;
}

.button-particles::after {
    right: 20%;
    animation-delay: 1.5s;
}

@keyframes button-float {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}

.cta-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.cta-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Interactive Demo */
.interactive-demo {
    width: 100%;
    max-width: 500px;
    background: var(--card-background);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.demo-tabs {
    display: flex;
    background: var(--background-darker);
    border-bottom: 1px solid var(--border-color);
}

.demo-tab {
    flex: 1;
    padding: 12px 8px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.demo-tab.active {
    color: var(--primary-color);
    background: rgba(133, 77, 230, 0.1);
}

.demo-tab:hover {
    background: rgba(255, 255, 255, 0.05);
}

.demo-content {
    min-height: 300px;
    position: relative;
}

.demo-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.demo-panel.active {
    opacity: 1;
    transform: translateX(0);
}

/* Upload Simulation */
.upload-simulation {
    text-align: center;
}

.upload-zone {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 40px 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-zone:hover {
    border-color: var(--primary-color);
    background: rgba(133, 77, 230, 0.05);
}

.upload-zone i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
}

.track-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--background-darker);
    border-radius: 10px;
}

.track-cover {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 8px;
}

.track-details {
    flex: 1;
    text-align: left;
}

.track-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.track-artist {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Analysis Simulation */
.analysis-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 0;
    gap: 20px;
}

.analysis-label {
    font-weight: 600;
    color: var(--text-primary);
    flex-shrink: 0;
    min-width: 100px;
}

.analysis-value {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-bar {
    width: 120px;
    height: 8px;
    background: var(--background-darker);
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    animation: progress-fill 2s ease-out;
}

@keyframes progress-fill {
    from { width: 0%; }
}

.ai-insight {
    margin-top: 20px;
    padding: 15px;
    background: rgba(133, 77, 230, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-insight i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Matches Simulation */
.matches-simulation {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.match-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--background-darker);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.match-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.match-cover {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    border-radius: 8px;
}

.match-info {
    flex: 1;
}

.match-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.match-followers {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.score-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-color) 0deg 340deg, var(--border-color) 340deg 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.9rem;
    position: relative;
}

.score-circle::before {
    content: '';
    position: absolute;
    inset: 4px;
    background: var(--background-darker);
    border-radius: 50%;
    z-index: -1;
}

/* Pitch Simulation */
.pitch-simulation {
    text-align: center;
}

.pitch-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.pitch-header i {
    font-size: 1.2rem;
}

.pitch-content {
    background: var(--background-darker);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.pitch-line {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.pitch-body {
    color: var(--text-secondary);
    line-height: 1.6;
}

.pitch-send {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}

.pitch-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(133, 77, 230, 0.4);
}

.dashboard-preview {
    width: 100%;
    max-width: 500px;
    background: var(--card-background);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.preview-header {
    background: var(--background-darker);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.preview-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f57; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #28ca42; }

.preview-title {
    font-weight: 600;
    color: var(--text-secondary);
}

.preview-content {
    padding: 20px;
}

.playlist-card-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

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

.playlist-cover-preview {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 8px;
}

.playlist-info-preview {
    flex: 1;
}

.playlist-name-preview {
    height: 16px;
    background: var(--text-secondary);
    border-radius: 4px;
    margin-bottom: 8px;
    width: 70%;
}

.playlist-followers-preview {
    height: 12px;
    background: var(--border-color);
    border-radius: 4px;
    width: 50%;
}

.match-circle-preview {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-color) 270deg, var(--border-color) 270deg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    position: relative;
}

.match-circle-preview::before {
    content: '';
    position: absolute;
    width: 36px;
    height: 36px;
    background: var(--card-background);
    border-radius: 50%;
}

.match-circle-preview span {
    position: relative;
    z-index: 1;
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.toggle-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.toggle-label.monthly-active,
.toggle-label.yearly-active {
    color: var(--primary-color);
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 32px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--border-color);
    transition: 0.3s;
    border-radius: 32px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 4px;
    background: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--primary-color);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(28px);
}

.save-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    margin-left: 8px;
}

.yearly-savings {
    text-align: center;
    margin-top: 8px;
}

.yearly-savings small {
    color: var(--primary-color);
    font-weight: 600;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(20, 25, 40, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.floating-particles-section {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(133, 77, 230, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(165, 105, 240, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 60% 20%, rgba(133, 77, 230, 0.04) 0%, transparent 50%);
    animation: floatParticles 20s ease-in-out infinite;
}

@keyframes floatParticles {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-20px) scale(1.1);
        opacity: 1;
    }
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(133, 77, 230, 0.1);
    border: 1px solid rgba(133, 77, 230, 0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(133, 77, 230, 0.7);
    }
    50% { 
        opacity: 0.7;
        transform: scale(1.2);
        box-shadow: 0 0 0 10px rgba(133, 77, 230, 0);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary) 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: var(--card-background);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(133, 77, 230, 0.05) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(133, 77, 230, 0.2);
    border-color: rgba(133, 77, 230, 0.6);
}

.feature-icon {
    width: 100px;
    height: 100px;
    position: relative;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.feature-card:hover .icon-background {
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 0 30px rgba(133, 77, 230, 0.6);
}

.feature-icon i {
    font-size: 40px;
    color: white;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.2) rotate(-180deg);
}

.icon-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover .icon-particles {
    opacity: 1;
}

.icon-particles::before,
.icon-particles::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

.icon-particles::before {
    top: 20%;
    left: 20%;
    animation: particleBounce 2s ease-in-out infinite;
}

.icon-particles::after {
    bottom: 20%;
    right: 20%;
    animation: particleBounce 2s ease-in-out infinite 1s;
}

@keyframes particleBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.5); }
}

.feature-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-stats {
    margin-top: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(133, 77, 230, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 20px;
}

.feature-card:hover .hover-overlay {
    opacity: 1;
}

.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: white;
    text-align: center;
}

.overlay-content i {
    font-size: 3rem;
    animation: bounce 1s ease-in-out infinite;
}

.overlay-content span {
    font-size: 1.2rem;
    font-weight: 600;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* How It Works */
.how-it-works {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--background-dark) 0%, rgba(15, 20, 35, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.bg-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: floatBackground 15s ease-in-out infinite;
}

.bg-element-1 {
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.bg-element-2 {
    width: 150px;
    height: 150px;
    background: rgba(165, 105, 240, 0.8);
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.bg-element-3 {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    bottom: 20%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes floatBackground {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    50% { 
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.2;
    }
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}



.step {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 60px;
    align-items: flex-start;
    position: relative;
    padding: 40px;
    background: var(--card-background);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateX(10px);
    border-color: rgba(133, 77, 230, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.step:nth-child(even) {
    margin-left: auto;
    margin-right: 0;
    max-width: 90%;
}

.step:nth-child(odd) {
    margin-left: 0;
    margin-right: auto;
    max-width: 90%;
}

.step-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
}

.step-number {
    width: 100px;
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    z-index: 2;
}

.step-number span {
    position: relative;
    z-index: 2;
}

.number-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: numberGlow 3s ease-in-out infinite;
}

@keyframes numberGlow {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(133, 77, 230, 0.7);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 0 0 20px rgba(133, 77, 230, 0);
    }
}

.step-icon {
    width: 120px;
    height: 120px;
    background: var(--card-background);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.step:hover .step-icon {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(133, 77, 230, 0.3);
}

.step-icon i {
    font-size: 3rem;
    color: var(--primary-color);
    z-index: 2;
    position: relative;
}

.step-content {
    text-align: left;
    position: relative;
    z-index: 5;
}

.step h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.step-features {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(133, 77, 230, 0.1);
    border-radius: 15px;
    font-size: 0.9rem;
    color: var(--primary-color);
    border: 1px solid rgba(133, 77, 230, 0.3);
}

.step-demo {
    padding: 16px;
    background: var(--card-background);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.demo-progress {
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 89%;
    background: var(--gradient-primary);
    border-radius: 3px;
    animation: progressMove 2s ease-in-out infinite;
}

@keyframes progressMove {
    0% { width: 0%; }
    100% { width: 89%; }
}

.artist-suggestions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.suggestion {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--border-color);
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.suggestion.active,
.suggestion:hover {
    background: var(--primary-color);
    color: white;
}

.match-preview {
    text-align: center;
}

.match-header {
    color: var(--primary-color);
    margin-bottom: 8px;
}

.match-stats {
    display: flex;
    justify-content: space-around;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.results-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 200px;
    z-index: 1;
    opacity: 0.8;
}

.result-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.7rem;
}

.result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px;
    background: rgba(133, 77, 230, 0.1);
    border-radius: 4px;
    font-size: 0.7rem;
}

.match-score {
    font-weight: 700;
    color: var(--primary-color);
}

.playlist-info {
    text-align: right;
}

.playlist-info small {
    display: block;
    color: var(--text-secondary);
    font-size: 0.6rem;
}

@media (max-width: 768px) {
    .step {
        grid-template-columns: 1fr;
        text-align: center;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .step-visual {
        order: 1;
        flex-direction: row;
        justify-content: center;
    }
    
    .step-content {
        order: 2;
        text-align: center;
    }
    

}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--background-darker);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.pricing-card {
    background: var(--card-background);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(29, 185, 84, 0.1);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.features-list {
    list-style: none;
    margin-bottom: 40px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-secondary);
}

.features-list i {
    color: var(--primary-color);
    font-size: 18px;
}

.pricing-btn {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pricing-btn.primary {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
}

.pricing-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

/* Footer */
.footer {
    background: var(--background-darker);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-brand-logo {
    height: 40px;
    width: auto;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--card-background);
    margin: 5% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    border: 1px solid var(--border-color);
    animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
    padding: 30px 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
}

.close {
    color: var(--text-secondary);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 30px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--background-dark);
    color: var(--text-primary);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 2px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: none;
}

.signup-btn {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.modal-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.modal-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.modal-divider span {
    background: var(--card-background);
    padding: 0 16px;
    color: var(--text-secondary);
    position: relative;
}

.social-signup {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: transparent;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-btn:hover {
    border-color: var(--primary-color);
}

.social-btn.google:hover {
    border-color: #db4437;
    color: #db4437;
}

.social-btn.spotify:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .cta-primary, .cta-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    border-top: 1px solid #333333;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 32px;
    width: auto;
}

.footer-logo span {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
}

.footer-description {
    color: #b3b3b3;
    font-size: 14px;
    line-height: 1.6;
    max-width: 280px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b3b3b3;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #854DE6;
}

.footer-links i {
    font-size: 12px;
    color: #854DE6;
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 30px;
    text-align: center;
}

.footer-copyright p {
    color: #666666;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-description {
        max-width: none;
    }
}