/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Logo-Inspired Color Palette */
    --logo-orange: #FFB84D;
    --logo-orange-dark: #FF6B35;
    --logo-red: #E94A4A;
    --logo-red-dark: #C73E1D;
    
    /* Retro Color Palette */
    --neon-pink: #ff0080;
    --neon-blue: #00ffff;
    --neon-purple: #8000ff;
    --neon-green: #00ff00;
    --retro-orange: #ff6b00;
    --vhs-pink: #ff69b4;
    --disco-gold: #ffd700;
    
    /* Logo Gradients */
    --logo-gradient: linear-gradient(135deg, var(--logo-orange) 0%, var(--logo-orange-dark) 35%, var(--logo-red) 65%, var(--logo-red-dark) 100%);
    --logo-gradient-subtle: linear-gradient(135deg, var(--logo-orange) 0%, var(--logo-red) 100%);
    --logo-gradient-reverse: linear-gradient(315deg, var(--logo-orange) 0%, var(--logo-orange-dark) 35%, var(--logo-red) 65%, var(--logo-red-dark) 100%);
    
    /* Background Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --bg-card: rgba(26, 26, 26, 0.8);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    
    /* Fonts */
    --font-heading: 'Orbitron', monospace;
    --font-body: 'Space Grotesk', sans-serif;
    
    /* Shadows */
    --neon-glow: 0 0 20px currentColor;
    --retro-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Reduce 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;
    }
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 1; /* Ensure body is always visible */
}

/* Ensure hero content is visible by default */
.hero-content,
.hero-title,
.hero-subtitle,
.hero-cta,
.logo-container {
    opacity: 1;
    visibility: visible;
}

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

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
}

.sticky-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.sticky-cta .cta-button {
    background: var(--logo-gradient);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 182, 77, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sticky-cta .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--logo-gradient-reverse);
    transition: left 0.3s ease;
}

.sticky-cta .cta-button:hover::before {
    left: 0;
}

.sticky-cta .cta-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at 20% 80%, var(--neon-purple) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, var(--neon-pink) 0%, transparent 50%),
                linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    overflow: hidden;
}

.retro-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.mood-bubble {
    position: absolute;
    font-size: 2rem;
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

.bubble-1 { top: 20%; left: 10%; animation-delay: 0s; }
.bubble-2 { top: 30%; right: 15%; animation-delay: 1s; }
.bubble-3 { bottom: 30%; left: 20%; animation-delay: 2s; }
.bubble-4 { top: 60%; right: 25%; animation-delay: 3s; }
.bubble-5 { bottom: 20%; right: 10%; animation-delay: 4s; }

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

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.logo-container {
    position: relative;
    margin-bottom: 2rem;
    display: inline-block;
}

.logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(255, 0, 128, 0.5);
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% { box-shadow: 0 0 30px rgba(255, 0, 128, 0.5); }
    100% { box-shadow: 0 0 50px rgba(0, 255, 255, 0.7); }
}

.crt-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 255, 0.1) 2px,
        rgba(0, 255, 255, 0.1) 4px
    );
    pointer-events: none;
    border-radius: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.glitch-text {
    position: relative;
    display: block;
    color: var(--text-primary);
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    animation: glitch-1 0.5s infinite;
    color: var(--neon-pink);
    z-index: -1;
}

.glitch-text::after {
    animation: glitch-2 0.5s infinite;
    color: var(--neon-blue);
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 14%, 15%, 49%, 50%, 99%, 100% { transform: translate(0); }
    1%, 13% { transform: translate(-2px, 2px); }
    16%, 48% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 20%, 21%, 62%, 63%, 99%, 100% { transform: translate(0); }
    1%, 19% { transform: translate(2px, -2px); }
    22%, 61% { transform: translate(-2px, 2px); }
}

.neon-text {
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-blue), var(--neon-purple));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
    display: block;
    text-shadow: 0 0 30px rgba(255, 0, 128, 0.5);
}

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

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    color: var(--neon-pink);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.primary-cta, .secondary-cta {
    position: relative;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.primary-cta {
    background: var(--logo-gradient);
    color: white;
    box-shadow: 0 8px 32px rgba(255, 182, 77, 0.4);
    position: relative;
}

.primary-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--logo-gradient-reverse);
    transition: left 0.4s ease;
    z-index: -1;
}

.primary-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 45px rgba(255, 107, 53, 0.5);
}

.primary-cta:hover::before {
    left: 0;
}

.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.primary-cta:hover .button-glow {
    left: 100%;
}

.secondary-cta {
    background: transparent;
    color: var(--logo-orange);
    border: 2px solid var(--logo-orange);
    position: relative;
    overflow: hidden;
}

.secondary-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--logo-gradient-subtle);
    transition: left 0.4s ease;
    z-index: -1;
    opacity: 0.1;
}

.secondary-cta:hover {
    color: var(--logo-red);
    border-color: var(--logo-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 182, 77, 0.3);
}

.secondary-cta:hover::before {
    left: 0;
}

.secondary-cta:hover {
    color: var(--logo-red);
    border-color: var(--logo-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 182, 77, 0.3);
}

.social-proof-mini {
    text-align: center;
}

.counter {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.count {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
}

.label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.vinyl-player {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    z-index: 1;
}

.vinyl-record {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #1a1a1a 20%, #333 21%, #333 40%, #1a1a1a 41%);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.spinning {
    animation: spin 8s linear infinite;
}

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

.vinyl-hole {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--bg-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* Section Titles */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--logo-gradient);
    border-radius: 2px;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step::before {
    content: attr(data-step);
    position: absolute;
    top: -10px;
    left: -10px;
    width: 40px;
    height: 40px;
    background: var(--logo-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 182, 77, 0.4);
}

.step:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
    border-color: rgba(255, 182, 77, 0.3);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    position: relative;
}

/* Retro Icons */
.cassette-tape {
    width: 100%;
    height: 60px;
    background: #333;
    border-radius: 8px;
    position: relative;
    border: 2px solid #666;
}

.cassette-reel {
    width: 20px;
    height: 20px;
    background: #111;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid #666;
}

.cassette-reel.left { left: 15px; }
.cassette-reel.right { right: 15px; }

.cassette-reel {
    animation: spin 3s linear infinite;
}

.floppy-disk {
    width: 60px;
    height: 60px;
    background: #1a1a1a;
    border-radius: 4px;
    position: relative;
    border: 2px solid #666;
}

.floppy-label {
    width: 40px;
    height: 30px;
    background: #333;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.floppy-slider {
    width: 30px;
    height: 4px;
    background: #666;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.disco-ball {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--disco-gold) 30%, #333 31%);
    border-radius: 50%;
    position: relative;
    animation: spin 4s linear infinite;
}

.disco-sparkle {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent 0px,
        rgba(255, 215, 0, 0.3) 2px,
        transparent 4px
    );
    border-radius: 50%;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.step h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--neon-blue);
}

.step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.demo-video {
    text-align: center;
}

.video-placeholder {
    background: var(--bg-card);
    border: 2px dashed var(--neon-pink);
    border-radius: 20px;
    padding: 4rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.video-placeholder:hover {
    border-color: var(--neon-blue);
    transform: scale(1.02);
}

.play-button {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 0, 128, 0.5);
}

.play-icon {
    width: 0;
    height: 0;
    border-left: 20px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 5px;
}

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

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px) rotateY(5deg);
    border-color: var(--logo-orange);
    box-shadow: 0 20px 40px rgba(255, 182, 77, 0.25);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--logo-gradient-subtle);
    opacity: 0.05;
    transition: left 0.5s;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    position: relative;
}

/* More Retro Icons */
.polaroid-stack {
    position: relative;
    width: 60px;
    height: 60px;
}

.polaroid {
    position: absolute;
    width: 50px;
    height: 60px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.polaroid::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    height: 30px;
    background: #ddd;
}

.p1 { transform: rotate(-10deg); z-index: 1; }
.p2 { transform: rotate(5deg); z-index: 2; }
.p3 { transform: rotate(-5deg); z-index: 3; }

.gameboy {
    width: 50px;
    height: 70px;
    background: #9bb0a3;
    border-radius: 8px;
    position: relative;
}

.gameboy-screen {
    width: 35px;
    height: 30px;
    background: #1a1a1a;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
}

.gameboy-buttons {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 8px;
    background: #333;
    border-radius: 4px;
}

.vhs-tape {
    width: 70px;
    height: 45px;
    background: #1a1a1a;
    border-radius: 4px;
    position: relative;
}

.vhs-label {
    width: 50px;
    height: 20px;
    background: #333;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.vhs-reels {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 15px;
    background: repeating-linear-gradient(
        90deg,
        #666 0px,
        #666 8px,
        transparent 8px,
        transparent 12px
    );
}

.lava-lamp {
    width: 40px;
    height: 70px;
    background: linear-gradient(180deg, #333 0%, #666 50%, #333 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.lava-blob {
    position: absolute;
    background: var(--neon-pink);
    border-radius: 50%;
    animation: lavaMove 4s ease-in-out infinite;
}

.blob1 {
    width: 15px;
    height: 15px;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.blob2 {
    width: 20px;
    height: 20px;
    top: 50%;
    left: 40%;
    transform: translateX(-50%);
    animation-delay: 1s;
}

.blob3 {
    width: 12px;
    height: 12px;
    bottom: 20%;
    right: 30%;
    animation-delay: 2s;
}

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

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--neon-green);
}

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

/* Social Proof Section */
.social-proof {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto 4rem;
    position: relative;
    min-height: 200px;
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.5s ease;
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.testimonial.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-content p {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author .name {
    display: block;
    font-weight: 600;
    color: var(--neon-blue);
    margin-bottom: 0.5rem;
}

.testimonial-author .title {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

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

.stat {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: slideInScale 0.6s ease-out forwards;
}

.stat:nth-child(1) { animation-delay: 0.1s; }
.stat:nth-child(2) { animation-delay: 0.2s; }
.stat:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideInScale {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

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

.stat:hover {
    transform: translateY(-5px);
    border-color: var(--neon-pink);
    box-shadow: 0 10px 30px rgba(255, 0, 128, 0.3);
}

.stat:hover::before {
    left: 100%;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neon-pink);
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px var(--neon-pink);
    transition: all 0.3s ease;
    min-height: 1.2em; /* Prevent layout shift during animation */
}

.stat-number.animating {
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.stat:hover .stat-number {
    color: var(--neon-blue);
    text-shadow: 0 0 15px var(--neon-blue);
    transform: scale(1.1);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

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

/* Nostalgia Timeline */
.nostalgia-timeline {
    padding: 100px 0;
    background: var(--bg-primary);
    overflow: hidden;
}

.timeline-container {
    position: relative;
    overflow-x: auto;
    padding: 2rem 0;
}

.timeline-track {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    min-width: max-content;
}

.timeline-item {
    flex-shrink: 0;
    width: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: scale(1.05);
}

.timeline-content {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.timeline-content:hover {
    border-color: var(--neon-pink);
    box-shadow: 0 10px 30px rgba(255, 0, 128, 0.3);
}

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

.timeline-content:hover::before {
    left: 100%;
}

.year {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-blue);
    margin-bottom: 1rem;
}

.trend {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.preview {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
    animation: bounce 2s ease-in-out infinite;
}

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

/* Conversion Section */
.conversion {
    padding: 100px 0;
    background: radial-gradient(circle at center, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.conversion-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.conversion h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.conversion p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.signup-form {
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.form-group input {
    flex: 1;
    min-width: 250px;
    padding: 18px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--neon-pink);
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.3);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.submit-btn {
    padding: 18px 30px;
    background: var(--logo-gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--logo-gradient-reverse);
    transition: left 0.4s ease;
    z-index: -1;
}

.submit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.5);
}

.submit-btn:hover::before {
    left: 0;
}

.social-login {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.social-btn {
    padding: 15px 25px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 1rem;
}

.social-btn:hover {
    border-color: var(--logo-orange);
    box-shadow: 0 0 20px rgba(255, 182, 77, 0.4);
    transform: translateY(-2px);
}

.trust-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    padding: 10px 20px;
    background: var(--bg-card);
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* Enhanced Footer */
.footer {
    padding: 80px 0 20px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a1a1a 100%);
    border-top: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--logo-gradient);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo-main {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(255, 182, 77, 0.3);
    transition: all 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(255, 182, 77, 0.3));
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 300px;
    font-size: 1rem;
}

.footer-newsletter {
    background: rgba(255, 182, 77, 0.05);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 182, 77, 0.2);
    margin-top: 1rem;
}

.footer-newsletter h4 {
    color: var(--logo-orange);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--logo-orange);
    box-shadow: 0 0 0 2px rgba(255, 182, 77, 0.2);
}

.newsletter-btn {
    padding: 12px 20px;
    background: var(--logo-gradient);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links h4 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    position: relative;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--logo-gradient);
    border-radius: 1px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    padding: 0.25rem 0;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--logo-gradient);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--logo-orange);
    transform: translateX(5px);
}

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

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-social h4 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    position: relative;
}

.footer-social h4::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--logo-gradient);
    border-radius: 1px;
}

.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    text-decoration: none;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--logo-gradient);
    transition: left 0.3s ease;
    opacity: 0.1;
}

.social-icon:hover::before {
    left: 0;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 182, 77, 0.3);
    border-color: var(--logo-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--logo-gradient);
}

/* Enhanced Micro-Interactions */
.step, .feature-card {
    cursor: pointer;
    will-change: transform;
}

.logo-container {
    cursor: pointer;
    will-change: transform;
}

/* Smooth transitions for all interactive elements */
.primary-cta, .secondary-cta, .submit-btn, .cta-button,
.step, .feature-card, .social-icon, .newsletter-btn {
    will-change: transform;
}

/* Enhanced focus states for accessibility */
.primary-cta:focus, .secondary-cta:focus, .submit-btn:focus, 
.newsletter-btn:focus, .social-icon:focus {
    outline: 2px solid var(--logo-orange);
    outline-offset: 2px;
}

/* Improved loading states */
.submit-btn:disabled, .newsletter-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Enhanced scroll indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--logo-gradient);
    transform: scaleX(0);
    transform-origin: left;
    z-index: 9999;
    transition: transform 0.1s ease-out;
}

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* Enhanced glassmorphism effects */
.footer::before {
    backdrop-filter: blur(20px);
}

.newsletter-form {
    backdrop-filter: blur(10px);
}

/* Performance optimizations */
.hero, .section {
    contain: layout style paint;
}

/* Comprehensive Mobile Optimization */

/* Large tablets and small laptops */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content {
        max-width: 600px;
    }
    
    .vinyl-player {
        right: 2%;
    }
    
    .vinyl-record {
        width: 150px;
        height: 150px;
    }
    
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline-track {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

/* Standard tablets */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    /* Hero Section Mobile */
    .hero {
        padding: 3rem 0;
        text-align: center;
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 20px 15px;
        max-width: 100%;
    }
    
    .logo {
        width: 100px;
        height: 100px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.2rem);
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .primary-cta, .secondary-cta {
        width: 100%;
        max-width: 280px;
        padding: 16px 30px;
        font-size: 1rem;
    }
    
    .vinyl-player {
        display: none;
    }
    
    /* Navigation and Sticky CTA */
    .sticky-cta {
        bottom: 15px;
        right: 15px;
    }
    
    .sticky-cta .cta-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    /* Section Optimizations */
    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 2rem;
    }
    
    .section-title::after {
        width: 60px;
        height: 2px;
    }
    
    /* How It Works Section */
    .how-it-works {
        padding: 60px 0;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .step {
        padding: 1.5rem;
        margin: 0 10px;
    }
    
    .step::before {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        top: -8px;
        left: -8px;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .step h3 {
        font-size: 1.2rem;
    }
    
    /* Features Section */
    .features {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        margin: 0 10px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    /* Social Proof Section */
    .social-proof {
        padding: 60px 0;
    }
    
    .testimonials-carousel {
        margin-bottom: 3rem;
    }
    
    .testimonial {
        padding: 1.5rem;
        margin: 0 10px;
    }
    
    .testimonial-content p {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
    }
    
    .stat {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Timeline Section */
    .nostalgia-timeline {
        padding: 60px 0;
    }
    
    .timeline-container {
        padding: 1rem 0;
    }
    
    .timeline-track {
        padding: 1rem;
        gap: 1.5rem;
    }
    
    .timeline-item {
        width: 160px;
        min-width: 160px;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .year {
        font-size: 1.3rem;
    }
    
    .trend {
        font-size: 0.9rem;
    }
    
    .preview {
        font-size: 1.8rem;
    }
    
    /* Conversion Section */
    .conversion {
        padding: 60px 0;
    }
    
    .conversion h2 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    
    .conversion p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .form-group {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .form-group input {
        min-width: auto;
        width: 100%;
        padding: 16px 18px;
    }
    
    .submit-btn {
        width: 100%;
        padding: 16px 25px;
        min-width: auto;
    }
    
    .social-login {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .social-btn {
        width: 100%;
        padding: 14px 20px;
    }
    
    .trust-badges {
        gap: 0.5rem;
    }
    
    .badge {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    /* Footer */
    .footer {
        padding: 60px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .footer-description {
        max-width: none;
    }
    
    .footer-newsletter {
        max-width: 400px;
        margin: 1rem auto 0;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-input {
        padding: 14px 16px;
    }
    
    .newsletter-btn {
        padding: 14px 20px;
    }
    
    .footer-links {
        gap: 0.8rem;
    }
    
    .footer-links a {
        font-size: 1rem;
        padding: 0.5rem 0;
    }
    
    .social-icons {
        justify-content: center;
        gap: 1rem;
    }
    
    .social-icon {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
        border-radius: 12px;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    /* Interactive elements mobile optimization */
    .sticky-cta {
        bottom: 10px;
        right: 10px;
    }
    
    .sticky-cta .cta-button {
        padding: 10px 16px;
        font-size: 0.85rem;
        border-radius: 40px;
    }
    
    /* Animation optimizations for mobile */
    .mood-bubble {
        font-size: 1.5rem;
    }
    
    .floating-elements {
        display: none; /* Hide on very small screens for performance */
    }
    
    /* Touch-device specific styles */
    .touch-active {
        transform: scale(0.98) !important;
        transition: transform 0.1s ease !important;
    }

    .primary-cta:active,
    .secondary-cta:active,
    .submit-btn:active,
    .newsletter-btn:active {
        transform: scale(0.95) !important;
    }

    .social-icon:active {
        transform: scale(0.9) !important;
        box-shadow: 0 4px 15px rgba(255, 182, 77, 0.4) !important;
    }

    .step:active,
    .feature-card:active {
        transform: translateY(-2px) scale(0.98) !important;
    }
}

/* iPhone SE and very small screens */
@media (max-width: 375px) {
    .hero-title {
        font-size: clamp(1.6rem, 12vw, 2.2rem);
    }
    
    .hero-subtitle {
        font-size: clamp(0.8rem, 5vw, 1rem);
    }
    
    .primary-cta,
    .secondary-cta {
        max-width: 220px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: clamp(1.4rem, 10vw, 1.8rem);
    }
    
    .timeline-item {
        width: 120px;
        min-width: 120px;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .year {
        font-size: 1.1rem;
    }
    
    .trend {
        font-size: 0.8rem;
    }
    
    .preview {
        font-size: 1.3rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* Landscape mode optimizations for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 1.5rem 0;
    }
    
    .hero-content {
        padding: 10px;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin-bottom: 1.2rem;
    }
    
    .hero-cta {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    
    .primary-cta,
    .secondary-cta {
        max-width: 200px;
        padding: 12px 25px;
    }
}

/* High DPI and Retina Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi) {
    .logo, .social-icon img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    /* Ensure crisp borders and shadows on high DPI */
    .primary-cta, .secondary-cta, .submit-btn, .newsletter-btn {
        border: 1px solid transparent;
        background-clip: padding-box;
    }
    
    .step, .feature-card {
        border: 1px solid rgba(255, 255, 255, 0.1);
        background-clip: padding-box;
    }
}

/* Loading states for mobile */
.loading-state {
    position: relative;
    overflow: hidden;
}

.loading-state::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 182, 77, 0.3),
        transparent
    );
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Better focus management for mobile */
@media (max-width: 768px) {
    /* Remove outline for touch interactions, but keep for keyboard */
    *:focus:not(:focus-visible) {
        outline: none;
    }
    
    *:focus-visible {
        outline: 3px solid var(--logo-orange);
        outline-offset: 2px;
    }
    
    /* Ensure proper contrast for accessibility */
    .primary-cta, .secondary-cta {
        color: #000;
        font-weight: 600;
    }
    
    .hero-title, .section-title {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
}

/* Dark mode support for mobile systems */
@media (prefers-color-scheme: dark) {
    /* Already dark by default, but ensure consistency */
    meta[name="theme-color"] {
        content: "#0a0a0a";
    }
}
