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

html, body {
    height: 100%;
    font-family: 'Space Grotesk', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 217, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 217, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 168, 204, 0.04) 0%, transparent 70%),
        #000;
    color: #e0e0e0;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 217, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, 0.03) 1px, transparent 1px);
    background-size: 100px 100px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 217, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    padding: 15px 40px;
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 4px 30px rgba(0, 217, 255, 0.1);
}

.logo {
    font-family: 'Audiowide', cursive;
    font-size: 1.8rem;
    color: #00D9FF;
    text-decoration: none;
    background: linear-gradient(135deg, #00D9FF 0%, #00A8CC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.3));
    transition: filter 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(0 0 30px rgba(0, 217, 255, 0.5));
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00D9FF, #00A8CC);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #00D9FF;
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(135deg, #00D9FF 0%, #00A8CC 100%);
    color: #000;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(0, 217, 255, 0.15) 100%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.cta-button:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(0, 217, 255, 0.4),
        0 0 40px rgba(0, 217, 255, 0.2);
}

.cta-button:active {
    transform: translateY(0);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 20px 60px;
    position: relative;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top, rgba(0, 217, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

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

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

.hero-image::before {
    content: '';
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.15) 0%, transparent 70%);
    animation: heroGlow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroGlow {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.hero-phone {
    max-width: 100%;
    height: auto;
    width: 400px;
    filter: drop-shadow(0 20px 60px rgba(0, 217, 255, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px);
    }
    50% { 
        transform: translateY(-20px);
    }
}

h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tagline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: #ffffff;
    margin-bottom: 50px;
    font-weight: 400;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.app-store-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.app-store-btn {
    background: transparent;
    border: none;
    color: #00D9FF;
    padding: 0;
    border-radius: 12px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Space Grotesk', sans-serif;
    position: relative;
    line-height: 0;
}

.app-store-btn:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 10px 30px rgba(0, 217, 255, 0.3));
}

.app-store-btn:active {
    transform: translateY(-2px);
}

.app-store-btn img {
    height: 70px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

.app-store-btn:hover img {
    filter: brightness(1.1);
}

/* Sections */
section {
    padding: 100px 20px;
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #ffffff;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 600;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #00D9FF 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 6s ease-in-out infinite;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00D9FF, transparent);
    border-radius: 2px;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 217, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 217, 255, 0.4);
    box-shadow: 
        0 20px 60px rgba(0, 217, 255, 0.15),
        0 0 40px rgba(0, 217, 255, 0.1);
}

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

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border: 1px solid rgba(0, 217, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.5), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(0, 217, 255, 0.5);
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.3);
}

.feature-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    font-family: 'Space Grotesk', sans-serif;
    color: #b0b0b0;
    font-size: 1rem;
    line-height: 1.6;
}

/* How It Works Section */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.step {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 50px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(0, 217, 255, 0.05) 100%);
    border-radius: 24px;
    border: 1px solid rgba(0, 217, 255, 0.2);
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.6), transparent);
    opacity: 0.7;
}

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

.step:hover::after {
    left: 100%;
}

.step.visible {
    opacity: 1;
    transform: translateX(0);
}

.step:nth-child(even) {
    flex-direction: row-reverse;
    transform: translateX(50px);
}

.step:hover {
    border-color: rgba(0, 217, 255, 0.4);
    box-shadow: 
        0 10px 60px rgba(0, 217, 255, 0.2),
        0 0 40px rgba(0, 217, 255, 0.1);
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(0, 217, 255, 0.07) 100%);
}

.step-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 5rem;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.3) 0%, rgba(0, 217, 255, 0.1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    min-width: 100px;
    text-align: center;
    filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.2));
    transition: all 0.3s ease;
}

.step:hover .step-number {
    filter: drop-shadow(0 0 30px rgba(0, 217, 255, 0.4));
    transform: scale(1.05);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 600;
}

.step-content p {
    font-family: 'Space Grotesk', sans-serif;
    color: #a0f0ff;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Commercial Rights Banner */
.rights-banner {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    margin: 60px auto;
    max-width: 1000px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 20px 60px rgba(0, 217, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.rights-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.8), transparent);
}

.rights-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    background: radial-gradient(circle at center, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
    opacity: 0.5;
}

.rights-banner > * {
    position: relative;
    z-index: 1;
}

.rights-banner h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #00D9FF;
    margin-bottom: 20px;
    font-weight: 600;
}

.rights-banner p {
    font-family: 'Space Grotesk', sans-serif;
    color: #a0f0ff;
    font-size: 1.2rem;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 100px 20px;
}

.cta-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #ffffff;
    margin-bottom: 30px;
    font-weight: 600;
    background: linear-gradient(135deg, #ffffff 0%, #00D9FF 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 6s ease-in-out infinite;
}

.cta-section p {
    font-family: 'Space Grotesk', sans-serif;
    color: #a0f0ff;
    font-size: 1.3rem;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    padding: 50px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-links a {
    color: #808080;
    text-decoration: none;
    font-size: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

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

.footer-links a:hover::after {
    width: 100%;
}

.footer-copyright {
    color: #606060;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle:focus {
    outline: 2px solid #00D9FF;
    outline-offset: 4px;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #00D9FF;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 80px 20px 20px;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    width: 100%;
}

.mobile-nav-links li {
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-overlay.active .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(5) { transition-delay: 0.3s; }

.mobile-nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    padding: 15px;
    border-radius: 10px;
}

.mobile-nav-links a:hover,
.mobile-nav-links a:focus {
    color: #00D9FF;
    background: rgba(0, 217, 255, 0.1);
    outline: none;
}

.mobile-nav-links .mobile-cta {
    background: linear-gradient(135deg, #00D9FF 0%, #00A8CC 100%);
    color: #000;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 50px;
    margin-top: 20px;
    display: inline-block;
}

.mobile-nav-links .mobile-cta:hover,
.mobile-nav-links .mobile-cta:focus {
    color: #000;
    background: linear-gradient(135deg, #00F0FF 0%, #00C8DC 100%);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
    }

    .cta-button {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        padding: 80px 20px 40px;
        min-height: auto;
        display: block;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
    }

    .hero-image {
        order: 1;
    }

    .hero-phone {
        width: 280px;
    }

    .hero-buttons {
        justify-content: center;
        margin-bottom: 20px;
    }

    .app-store-buttons {
        justify-content: center;
    }

    h1 {
        margin-bottom: 15px;
    }

    .subtitle {
        margin-bottom: 30px;
    }

    .step,
    .step:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .step-number {
        font-size: 3rem;
    }

    .rights-banner {
        padding: 40px 20px;
    }

    .footer-links {
        gap: 20px;
    }

    .feature-card {
        padding: 30px;
    }

    .step {
        padding: 30px;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        gap: 40px;
    }

    .hero-phone {
        width: 320px;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        gap: 40px;
    }

    .hero-phone {
        width: 350px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #000;
    border-left: 1px solid rgba(0, 217, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(0, 217, 255, 0.3), rgba(0, 168, 204, 0.3));
    border-radius: 5px;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(0, 217, 255, 0.5), rgba(0, 168, 204, 0.5));
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

/* Keyboard Focus Indicators */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: 2px solid #00D9FF;
    outline-offset: 3px;
    border-radius: 4px;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid #00D9FF;
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(0, 217, 255, 0.2);
}

.nav-links a:focus-visible {
    outline: 2px solid #00D9FF;
    outline-offset: 5px;
}

.control-btn:focus-visible {
    outline: 3px solid #00D9FF;
    outline-offset: 4px;
    box-shadow: 0 0 0 6px rgba(0, 217, 255, 0.3);
}

.progress-bar:focus-visible {
    outline: 2px solid #00D9FF;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(0, 217, 255, 0.2);
}

.volume-slider:focus-visible {
    outline: 2px solid #00D9FF;
    outline-offset: 2px;
}

.playlist-item:focus-visible {
    outline: 2px solid #00D9FF;
    outline-offset: -2px;
    box-shadow: 0 0 0 4px rgba(0, 217, 255, 0.2);
}

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 20px;
    background: #00D9FF;
    color: #000;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    text-decoration: none;
    z-index: 9999;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 20px;
    outline: 3px solid #fff;
    outline-offset: 3px;
}

/* Selection Styling */
::selection {
    background: rgba(0, 217, 255, 0.3);
    color: #ffffff;
}

::-moz-selection {
    background: rgba(0, 217, 255, 0.3);
    color: #ffffff;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Performance optimizations */
.hero-phone,
.vinyl-record,
.feature-card,
.step,
.cta-button,
.control-btn,
.progress-handle {
    will-change: transform;
}

nav {
    will-change: padding, background, box-shadow;
}

.progress-fill {
    will-change: width;
}

/* Use GPU acceleration */
.hero-phone,
.vinyl-record,
.feature-icon,
.step-number,
.cta-button::before {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Music Player Section */
.music-section {
    padding: 100px 20px;
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.section-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    color: #808080;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 400;
}

.music-player-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.music-player {
    flex: 1;
    min-width: 400px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 217, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.music-player::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 217, 255, 0.1) 0%, transparent 60%);
    opacity: 0.5;
    pointer-events: none;
}

.player-info {
    text-align: center;
    margin-bottom: 40px;
}

.album-art {
    margin-bottom: 30px;
}

.album-cover {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    position: relative;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2) 0%, rgba(255, 255, 255, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 20px 60px rgba(0, 217, 255, 0.2),
        inset 0 0 30px rgba(0, 217, 255, 0.1);
    transition: all 0.3s ease;
}

.album-cover::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.5), rgba(0, 168, 204, 0.3));
    z-index: -1;
    filter: blur(10px);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.vinyl-record.playing ~ .album-cover::before {
    opacity: 1;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.vinyl-record {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: repeating-radial-gradient(circle at center,
        #111 0px,
        #111 15px,
        #222 15px,
        #222 16px
    );
    position: relative;
    animation: spin 8s linear infinite;
    animation-play-state: paused;
}

.vinyl-record.playing {
    animation-play-state: running;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.vinyl-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00D9FF 0%, #00A8CC 100%);
    box-shadow: 
        0 0 20px rgba(0, 217, 255, 0.6),
        0 0 40px rgba(0, 217, 255, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
}

.vinyl-record.playing .vinyl-center {
    box-shadow: 
        0 0 30px rgba(0, 217, 255, 0.8),
        0 0 60px rgba(0, 217, 255, 0.6),
        inset 0 0 15px rgba(255, 255, 255, 0.5);
}

.track-info {
    position: relative;
    z-index: 1;
}

.track-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 600;
}

.track-artist {
    font-family: 'Space Grotesk', sans-serif;
    color: #a0f0ff;
    font-size: 1.1rem;
    margin: 0;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.control-btn {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #00D9FF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 217, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.control-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.control-btn svg {
    width: 24px;
    height: 24px;
}

.control-btn:hover {
    background: rgba(0, 217, 255, 0.15);
    border-color: rgba(0, 217, 255, 0.4);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.control-btn:active {
    transform: scale(0.95);
}

.play-btn {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 2px solid rgba(0, 217, 255, 0.3);
}

.play-btn::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.play-btn:hover::before {
    opacity: 1;
}

.play-btn svg {
    width: 32px;
    height: 32px;
}

.play-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.4);
    border-color: rgba(0, 217, 255, 0.5);
}

.play-btn:active {
    transform: scale(1.05);
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.time-display {
    font-family: 'Space Grotesk', sans-serif;
    color: #a0f0ff;
    font-size: 0.9rem;
    min-width: 50px;
    text-align: center;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.progress-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00D9FF 0%, #00A8CC 50%, #00D9FF 100%);
    background-size: 200% 100%;
    border-radius: 4px;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
    animation: progressShine 3s linear infinite;
}

@keyframes progressShine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.progress-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: #00D9FF;
    border-radius: 50%;
    box-shadow: 
        0 0 15px rgba(0, 217, 255, 0.6),
        0 0 30px rgba(0, 217, 255, 0.4);
    left: 0%;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.progress-handle:hover {
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 
        0 0 20px rgba(0, 217, 255, 0.8),
        0 0 40px rgba(0, 217, 255, 0.6);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.volume-icon {
    width: 24px;
    height: 24px;
    color: #a0f0ff;
}

.volume-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #00D9FF;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
    transition: transform 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #00D9FF;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

.volume-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
}

/* Playlist */
.playlist {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 217, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.playlist::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 217, 255, 0.1) 0%, transparent 60%);
    opacity: 0.3;
    pointer-events: none;
}

.playlist h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: #00D9FF;
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.playlist-items {
    list-style: none;
    position: relative;
    z-index: 1;
}

.playlist-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 10px;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.playlist-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #00D9FF, #00A8CC);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.playlist-item:hover::before {
    opacity: 0.5;
}

.playlist-item.active::before {
    opacity: 1;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.playlist-item:hover {
    background: rgba(0, 217, 255, 0.05);
    border-color: rgba(0, 217, 255, 0.2);
    transform: translateX(5px);
}

.playlist-item.active {
    background: rgba(0, 217, 255, 0.12);
    border-color: rgba(0, 217, 255, 0.4);
    box-shadow: 
        0 0 30px rgba(0, 217, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.song-number {
    font-family: 'Space Grotesk', sans-serif;
    color: rgba(0, 217, 255, 0.4);
    font-size: 1.2rem;
    min-width: 40px;
}

.playlist-item.active .song-number {
    color: #00D9FF;
}

.song-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.song-title {
    font-family: 'Space Grotesk', sans-serif;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
}

.song-genre {
    font-family: 'Space Grotesk', sans-serif;
    color: #a0f0ff;
    font-size: 0.85rem;
}

.song-duration {
    font-family: 'Space Grotesk', sans-serif;
    color: #80d0e0;
    font-size: 0.9rem;
    min-width: 60px;
    text-align: right;
}

/* Audio Error Message */
.audio-error-message {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    max-width: 500px;
    width: 90%;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.error-content {
    background: linear-gradient(135deg, rgba(255, 50, 50, 0.95) 0%, rgba(200, 0, 0, 0.95) 100%);
    border: 1px solid rgba(255, 100, 100, 0.5);
    border-radius: 15px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow:
        0 10px 40px rgba(255, 0, 0, 0.3),
        0 0 20px rgba(255, 50, 50, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
}

.error-icon {
    width: 24px;
    height: 24px;
    color: #fff;
    flex-shrink: 0;
}

.error-text {
    font-family: 'Space Grotesk', sans-serif;
    color: #fff;
    font-size: 0.95rem;
    margin: 0;
    flex: 1;
}

.error-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.error-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.error-close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Music Player Mobile Responsive */
@media (max-width: 768px) {
    .music-player-container {
        flex-direction: column;
    }
    
    .music-player,
    .playlist {
        min-width: 100%;
        padding: 30px;
    }
    
    .album-cover {
        width: 150px;
        height: 150px;
    }
    
    .vinyl-record {
        width: 130px;
        height: 130px;
    }
    
    .track-title {
        font-size: 1.4rem;
    }
    
    .control-btn {
        width: 50px;
        height: 50px;
    }
    
    .play-btn {
        width: 70px;
        height: 70px;
    }
    
    .playlist-item {
        padding: 15px;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-phone {
        animation: none;
    }
    
    .vinyl-record {
        animation: none;
    }
    
    .hero::before,
    .progress-bar::before,
    .progress-fill {
        animation: none;
    }
}
