:root {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --primary-color: #6C5DD3;
    --secondary-color: #1f1f1f;
    --accent-gradient: linear-gradient(135deg, #6C5DD3, #FF4D97);
}

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

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: absolute;
    width: 100%;
    z-index: 10;
}

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

.links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    transition: opacity 0.3s;
}

.links a:hover {
    opacity: 0.8;
}

.btn-primary {
    background: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    color: white !important;
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: scale(1.05);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    background: radial-gradient(circle at top right, #1a1a2e, var(--bg-color) 60%);
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

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

.hero p {
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-bottom: 2rem;
    max-width: 500px;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.btn-secondary {
    padding: 0.8rem 1.5rem;
    border: 1px solid #333;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    perspective: 1000px;
}

/* Phone Mockup */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    border: 8px solid #333;
    position: relative;
    box-shadow: 0 20px 50px rgba(108, 93, 211, 0.3);
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
    transform: rotateY(-10deg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #121212;
    /* Dark theme background */
    padding: 20px;
    display: flex;
    flex-direction: column;
    color: white;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 20px;
    color: #aaa;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.album-art-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: #222;
    border-radius: 20px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.art-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #6C5DD3, #FF4D97);
    opacity: 0.8;
}

.track-info {
    margin-bottom: 20px;
}

.track-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.track-artist {
    color: #aaa;
    font-size: 14px;
}

.progress-container {
    margin-bottom: 30px;
}

.progress-bar {
    height: 4px;
    background: #333;
    border-radius: 2px;
    margin-bottom: 8px;
    position: relative;
}

.progress-current {
    width: 35%;
    height: 100%;
    background: white;
    border-radius: 2px;
    position: relative;
}

.progress-current::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -3px;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.time-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #666;
}

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

.control-btn {
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

.play-btn {
    width: 64px;
    height: 64px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(108, 93, 211, 0.4);
    cursor: pointer;
}

.control-btn {
    font-size: 32px !important;
    /* Material icon size */
    color: #fff;
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.control-btn:hover {
    opacity: 1;
}

.status-icons {
    display: flex;
    gap: 4px;
}

@keyframes float {
    0% {
        transform: rotateY(-10deg) translateY(0px);
    }

    50% {
        transform: rotateY(-10deg) translateY(-20px);
    }

    100% {
        transform: rotateY(-10deg) translateY(0px);
    }
}

.features {
    padding: 5rem 10%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    background: var(--secondary-color);
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.download-container {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.download-box {
    background: var(--secondary-color);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid #333;
    margin-top: 2rem;
}

footer {
    padding: 2rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column-reverse;
        /* Changed from column to column-reverse for better mobile flow */
        text-align: center;
        padding-top: 100px;
    }

    .hero-content {
        padding-right: 0;
        margin-top: 3rem;
    }

    .cta-group {
        justify-content: center;
    }

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

    .phone-mockup {
        width: 250px;
        height: 500px;
    }
}