.ss-mobile-showcase-wrapper {
    position: relative;
    background: #000000;
    /* Don't use min-height: 100vh as it can push footer off screen */
    min-height: auto;
    padding-bottom: 50px; /* Add some padding at bottom */
}

#starCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.cosmic-dust {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 10, 0.3) 100%);
    z-index: 2;
    pointer-events: none;
}

.mobile-hero {
    position: relative;
    z-index: 10;
    padding: 60px 0 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.125rem;
    color: #b0b0b0;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-app-buttons {
    margin-top: 2rem;
    text-align: center;
}

.app-cta-text {
    display: block;
    font-size: 0.9rem;
    color: #b0b0b0;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.app-download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-store-button,
.google-play-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #000;
    color: #fff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.app-store-button:hover,
.google-play-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.store-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.small-text {
    font-size: 0.75rem;
    opacity: 0.9;
}

.main-text {
    font-size: 1.125rem;
    font-weight: 600;
}

.mobile-features {
    position: relative;
    z-index: 10;
    padding: 60px 0;
}

.feature-categories {
    margin-bottom: 3rem;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.category-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.category-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: #ffffff;
}

.mobile-showcase-gallery {
    position: relative;
    z-index: 10;
    padding: 20px 0 60px;
}

.showcase-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-category {
    animation: fadeIn 0.5s ease;
}

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

.phones-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    position: relative;
    padding: 2rem 2rem 8rem 2rem;
}

.phone-mockup {
    display: none;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-mockup.active {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    transform: scale(1);
}

.showcase-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 10;
    padding-bottom: 2rem;
}

.nav-prev,
.nav-next {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-prev:hover,
.nav-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.nav-dots {
    display: flex;
    gap: 0.5rem;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.nav-dot.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 30px;
    border-radius: 5px;
}

.mobile-features-detailed {
    position: relative;
    z-index: 10;
    padding: 80px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(102, 126, 234, 0.02) 50%, transparent 100%);
}

.section-title {
    font-size: 2.5rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 8rem;
    padding: 0 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.feature-row.left-aligned {
    flex-direction: row;
}

.feature-row.right-aligned {
    flex-direction: row-reverse;
}

.mobile-features-detailed .feature-image {
    flex: 0 0 auto;
    max-width: 350px;
}

.mobile-features-detailed .phone-frame {
    max-width: 320px;
    margin: 0 auto;
}

.feature-content {
    flex: 1;
    max-width: 600px;
}

.feature-content h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-content p {
    font-size: 1.125rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.5;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

.phone-frame {
    position: relative;
    max-width: 320px;
    margin: 0 auto;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.6),
        0 0 120px rgba(102, 126, 234, 0.15),
        inset 0 0 30px rgba(255, 255, 255, 0.05),
        inset 0 2px 5px rgba(255, 255, 255, 0.1);
}

.phone-screen {
    position: relative;
    background: #000;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 
        inset 0 0 20px rgba(0, 0, 0, 0.8),
        inset 0 2px 3px rgba(0, 0, 0, 0.9);
}

.phone-screen img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 32px;
}

.phone-info {
    text-align: center;
    margin-top: 1.5rem;
    padding: 0 1rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.phone-info h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.phone-info p {
    color: #b0b0b0;
    font-size: 1rem;
}

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

.phone-info h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.phone-info p {
    color: #b0b0b0;
    font-size: 1rem;
}


.mobile-cta {
    position: relative;
    z-index: 10;
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

/* Ensure footer shows properly */
body.page-template-page-mobile-showcase footer {
    position: relative !important;
    z-index: 20 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #1a1a1a; /* Add a background to make it visible */
}

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

.cta-content h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: #b0b0b0;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

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

@media (max-width: 1024px) {
    .feature-row {
        flex-direction: column !important;
        gap: 2rem;
        text-align: center;
    }
    
    .feature-image {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .feature-content {
        max-width: 100%;
    }
    
    .feature-list li {
        text-align: left;
    }
}

/* FAQ Section */
.mobile-faq {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
}

.mobile-faq .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(247, 157, 101, 0.2);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(247, 157, 101, 0.4);
    transform: translateY(-2px);
}

.faq-question {
    color: var(--ss-accent-orange, #F79D65);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.faq-answer {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .mobile-hero {
        padding: 80px 20px 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .category-tabs {
        gap: 0.5rem;
    }
    
    .category-tab {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .phone-frame {
        max-width: 280px;
    }
    
    .showcase-navigation {
        gap: 1rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .faq-item {
        padding: 20px;
    }
    
    .faq-question {
        font-size: 1.1rem;
    }
    
    .mobile-faq .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .phones-container {
        min-height: 600px;
        padding: 1rem;
    }
    
    .phone-frame {
        max-width: 240px;
        padding: 10px;
    }
}
