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

:root {
    --primary-gradient: linear-gradient(to right, #b5d4fe, #63a0f7);
    --primary-color: #63a0f7;
    --dark-bg: #0a0c11;
    --card-bg: rgba(25, 28, 35, 0.5);
    --text-color: #dbdbdb;
    --highlight-color: #63a0f7;
    --button-hover: #000000;
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --glow-color-1: rgba(99, 160, 247, 0.15);
    --glow-color-2: rgba(99, 160, 247, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Gradient background effect */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 15% 25%, var(--glow-color-1) 0%, transparent 25%),
                radial-gradient(circle at 85% 75%, var(--glow-color-2) 0%, transparent 30%);
    opacity: 0.8;
    pointer-events: none;
}

/* Alert banner */
.alert-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #8C1515;
    color: white;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.alert-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    text-align: center;
}

.alert-text {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Navbar styles */
.navbar {
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    padding: 16px 24px;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(10, 12, 17, 0.8);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    width: 28px;
    height: 28px;
}

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

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

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    opacity: 1;
    color: var(--highlight-color);
}

.github-nav-link {
    color: var(--text-color);
    opacity: 0.7;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.github-nav-link:hover {
    opacity: 1;
}

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

/* Main content styles */
main {
    padding-top: 120px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Hero section */
.hero {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-height: 80vh;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 5%;
}

.hero-content {
    flex: 1;
    text-align: left;
    max-width: 600px;
}

h1 { 
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.5;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--highlight-color) 0%, rgba(99, 160, 247, 0.2) 30%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

.feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: none;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    background-color: transparent;
    cursor: pointer;
}

.feature-image:hover {
    /* No hover effect - will be handled by overlay */
}

/* Image overlay for zoom effect */
.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-overlay.show {
    display: flex;
    opacity: 1;
}

.image-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.image-overlay.show img {
    transform: scale(1);
}

/* Download section */
.download-section {
    margin-top: 2.5rem;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 1.2rem;
    justify-content: flex-start;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0 24px;
    gap: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    text-decoration: none;
    width: auto;
    min-width: 0;
    transition: all 0.2s ease;
    background-color: rgba(19, 22, 28, 0.6);
    backdrop-filter: blur(5px);
    height: 46px;
    white-space: nowrap;
  }

/* macOS Button */
.mac-btn {
    color: #ffffff;
}

.mac-btn:hover {
    background-color: rgba(30, 34, 42, 0.8);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.mac-btn:active {
    transform: translateY(0);
}

.mac-btn img {
    width: 18px;
    height: 18px;
    opacity: 0.9;
}

/* Windows Button */
.win-btn {
    color: rgba(219, 219, 219, 0.8);
    opacity: 0.8;
    cursor: default;
}

.win-btn img {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.download-note {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-top: 1rem;
}

/* Features section */
.features {
    background-color: transparent;
    backdrop-filter: none;
    padding: 5rem 2rem;
    position: relative;
    z-index: 1;
    margin-top: 2rem;
}

.feature-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background-color: rgba(19, 22, 28, 0.5);
    padding: 2.5rem;
    border-radius: 12px;
    width: 320px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
}

.feature-item:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    display: flex;
    justify-content: center;
}

.icon-img {
    width: 48px;
    height: 48px;
    opacity: 0.8;
}

.feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: var(--text-color);
    font-weight: 600;
}

.feature-item p {
    font-size: 1rem;
    opacity: 0.7;
    line-height: 1.5;
}

/* Audio.fm CTA Section */
.audiofm-cta {
    padding: 80px 5% 100px 5%;
    text-align: center;
}

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

.audiofm-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.audiofm-highlight {
    background: linear-gradient(to right, #c40039, #8c1539);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cta-description {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(to right, #c40039, #8c1539);
    color: white;
    text-decoration: none;
    padding: 10px 40px;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

/* Footer */
footer {
    background-color: transparent;
    padding: 1.5rem;
    text-align: center;
    margin-top: auto;
}

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

.footer-content p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.github-link {
    color: var(--text-color);
    text-decoration: none;
}

.github-link:hover {
    text-decoration: underline;
}

.separator {
    opacity: 0.5;
}

#slideshow {
    opacity: 1;
    transition: opacity 1s ease-in-out;
  }
  
/* Gradient background for page */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 15% 25%, var(--glow-color-1) 0%, transparent 25%),
                radial-gradient(circle at 85% 75%, var(--glow-color-2) 0%, transparent 30%);
    opacity: 0.8;
    pointer-events: none;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    h1 {
        font-size: 2.8rem;
    }

    .hero-image::before {
        top: -25px;
        left: 0;
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0;
    }
    
    .navbar {
        padding: 15px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }

    h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-image img {
        max-width: 100%;
        height: auto;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        width: 100%;
        max-width: 250px;
    }

    .feature-item {
        width: 100%;
        max-width: 350px;
    }
    
    .hero-image::before {
        width: 150px;
        height: 150px;
        filter: blur(30px);
    }
    }
    
.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.btn-icon {
    width: 16px;
    height: 16px;
    opacity: 0.9;
    display: block;
}