/* ==========================================
   SHUBHAM MUSIC — PREMIUM COSMIC ESSENTIALS
   ========================================== */

/* Design Tokens & Theme Variables */
:root {
    --bg-dark: #0f0b18;
    --bg-card: rgba(30, 25, 45, 0.45);
    --primary: #d0bcff;
    --primary-glow: rgba(208, 188, 255, 0.35);
    --secondary: #8a2be2;
    --secondary-glow: rgba(138, 43, 226, 0.25);
    --text-main: #ffffff;
    --text-muted: #cac4d0;
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-head: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

/* Glowing Atmosphere Background Elements */
.glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
    transition: var(--transition);
}

.orb-1 {
    top: -200px;
    right: -100px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
}

.orb-2 {
    top: 600px;
    left: -200px;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
}

/* Navigation Bar */
nav.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 11, 24, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-svg {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Button UI kit */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn-sm {
    padding: 10px 18px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 17px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #b099f7 100%);
    color: #121016;
    box-shadow: 0 8px 30px var(--primary-glow);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(208, 188, 255, 0.5);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(208, 188, 255, 0.1);
}

/* Hero Section */
.hero-section {
    padding: 150px 24px 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1f 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tagline-badge {
    background: rgba(208, 188, 255, 0.1);
    border: 1px solid rgba(208, 188, 255, 0.2);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-family: var(--font-head);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--primary) 30%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 36px;
    max-width: 520px;
}

.cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.icon-svg {
    width: 20px;
    height: 20px;
}

.meta-info {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* Beautiful Interactive Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    border-radius: 44px;
    border: 10px solid #2e2840;
    background: #14111d;
    box-shadow: 0 25px 75px rgba(0, 0, 0, 0.8), 0 0 40px rgba(138, 43, 226, 0.25);
    overflow: hidden;
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
}

.mock-icon {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.mock-title {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
}

/* Mock Vinyl spinning animation */
.mock-artwork-container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 800px;
}

.mock-artwork {
    position: relative;
    width: 190px;
    height: 190px;
}

.mock-album-art {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 12px 35px rgba(0,0,0,0.5);
    z-index: 2;
    position: relative;
}

.mock-vinyl {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, #2d263f 0%, #000 70%);
    position: absolute;
    top: 5px;
    right: -45px;
    z-index: 1;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    border: 3px solid #2d263f;
    animation: spin 6s linear infinite;
    animation-play-state: running;
}

/* Visualizer Bars */
.mock-visualizer {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 5px;
    height: 35px;
    margin: 15px 0;
}

.mock-visualizer .bar {
    width: 3px;
    height: 100%;
    background: var(--primary);
    border-radius: 10px;
    transform-origin: bottom;
    animation: pulse 1.2s ease-in-out infinite alternate;
}

/* Dynamic height animations for audio bars */
.mock-visualizer .bar:nth-child(1) { animation-delay: 0.1s; }
.mock-visualizer .bar:nth-child(2) { animation-delay: 0.4s; }
.mock-visualizer .bar:nth-child(3) { animation-delay: 0.2s; }
.mock-visualizer .bar:nth-child(4) { animation-delay: 0.6s; }
.mock-visualizer .bar:nth-child(5) { animation-delay: 0.3s; }
.mock-visualizer .bar:nth-child(6) { animation-delay: 0.5s; }
.mock-visualizer .bar:nth-child(7) { animation-delay: 0.1s; }
.mock-visualizer .bar:nth-child(8) { animation-delay: 0.4s; }
.mock-visualizer .bar:nth-child(9) { animation-delay: 0.2s; }

.mock-info {
    text-align: center;
    margin-bottom: 12px;
}

.mock-song-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.mock-song-artist {
    font-size: 13px;
    color: var(--text-muted);
}

.mock-progress {
    margin-bottom: 16px;
}

.mock-slider-track {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    position: relative;
    margin-bottom: 8px;
}

.mock-slider-fill {
    width: 48%;
    height: 100%;
    background: var(--primary);
    border-radius: 10px;
}

.mock-slider-thumb {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    position: absolute;
    top: -3px;
    left: 47%;
    box-shadow: 0 0 10px var(--primary);
}

.mock-time {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
}

.mock-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.m-btn {
    width: 24px;
    height: 24px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

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

.m-btn.small {
    width: 18px;
    height: 18px;
    opacity: 0.6;
}

.mock-play-pause {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--primary);
    color: #121016;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(208, 188, 255, 0.4);
    transition: var(--transition);
}

.mock-play-pause:hover {
    transform: scale(1.08);
}

.mock-play-pause svg {
    width: 22px;
    height: 22px;
}

/* Features Grid Section */
.features-section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-family: var(--font-head);
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.section-header h2 span {
    color: var(--primary);
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 32px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(208, 188, 255, 0.25);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.f-icon {
    font-size: 36px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.5;
}

/* Installation Guide Section */
.install-section {
    padding: 100px 24px;
    background: linear-gradient(180deg, transparent 0%, rgba(208, 188, 255, 0.03) 100%);
    border-top: 1px solid var(--glass-border);
}

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

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

.step-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 32px 32px 32px;
}

.step-num {
    position: absolute;
    top: -24px;
    left: 32px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #121016;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 8px 20px var(--primary-glow);
}

.step-card h3 {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Bottom CTA Banner */
.download-banner {
    max-width: 1100px;
    margin: 80px auto;
    padding: 80px 40px;
    background: radial-gradient(circle at center, rgba(138, 43, 226, 0.25) 0%, rgba(30, 25, 45, 0.3) 100%);
    border: 1px solid rgba(208, 188, 255, 0.15);
    border-radius: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--primary);
    filter: blur(140px);
    opacity: 0.15;
    top: -100px;
    z-index: -1;
}

.download-banner h2 {
    font-family: var(--font-head);
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    max-width: 600px;
}

.download-banner p {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 620px;
    margin-bottom: 40px;
}

/* Footer styles */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 24px;
    background: #09070f;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

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

/* CSS Animations Keyframes */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scaleY(0.15); }
    100% { transform: scaleY(1); }
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .hero-section {
        padding: 120px 20px 60px 20px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .hero-desc {
        max-width: 100%;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 34px;
        letter-spacing: -1px;
    }
    
    .features-section {
        padding: 60px 16px;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .install-section {
        padding: 60px 16px;
    }
    
    .step-card {
        padding: 40px 24px 24px 24px;
    }
    
    .download-banner {
        padding: 60px 20px;
        margin: 40px 16px;
        border-radius: 24px;
    }
    
    .download-banner h2 {
        font-size: 28px;
    }
    
    .download-banner p {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 30px;
    }
    
    .hero-desc {
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    .cta-group {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-lg {
        width: 100%;
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .meta-info {
        flex-direction: column;
        gap: 6px;
    }
    
    .phone-mockup {
        width: 280px;
        height: 560px;
        border-width: 6px;
        border-radius: 32px;
    }
    
    .mock-artwork {
        width: 160px;
        height: 160px;
    }
    
    .mock-vinyl {
        width: 150px;
        height: 150px;
        right: -35px;
    }
    
    .mock-song-title {
        font-size: 16px;
    }
    
    .mock-play-pause {
        width: 42px;
        height: 42px;
    }
    
    .glow-orb {
        width: 300px;
        height: 300px;
    }
}
