/* AetherRelay & WireGuard Aether Design System - Red Crystal Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800;900&display=swap');

:root {
    --bg-color: #08090d;
    --bg-surface: #12141f;
    --card-bg: rgba(22, 24, 36, 0.75);
    --card-border: rgba(255, 60, 75, 0.18);
    --card-hover-border: rgba(255, 60, 75, 0.5);
    --primary-gradient: linear-gradient(135deg, #ff3b47 0%, #e51b24 50%, #990012 100%);
    --accent-red: #ff3b47;
    --accent-red-bright: #ff6871;
    --accent-red-dark: #8b080f;
    --red-glow: rgba(255, 59, 71, 0.35);
    --red-glow-strong: rgba(255, 59, 71, 0.65);
    --text-primary: #ffffff;
    --text-secondary: #a4aab9;
    --text-muted: #6e7485;
    --nav-height: 80px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow-glow: 0 0 40px rgba(229, 27, 36, 0.3);
    --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.6);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

body.no-scroll {
    overflow: hidden;
}

/* Background Ambient Lighting */
body::before {
    content: '';
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 800px;
    background: radial-gradient(circle, rgba(229, 27, 36, 0.18) 0%, rgba(139, 8, 15, 0.08) 45%, rgba(8, 9, 13, 0) 75%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

/* Base Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Navigation */
nav {
    height: var(--nav-height);
    width: 100%;
    position: sticky;
    top: 0;
    background: rgba(8, 9, 13, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 60, 75, 0.12);
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo img, .logo svg {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 59, 71, 0.5));
    transition: transform 0.3s ease;
}

.logo:hover img, .logo:hover svg {
    transform: scale(1.05) rotate(3deg);
}

.logo span {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

.logo span .brand-red {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo span .badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(255, 59, 71, 0.15);
    border: 1px solid var(--accent-red);
    color: var(--accent-red-bright);
    -webkit-text-fill-color: var(--accent-red-bright);
    padding: 2px 7px;
    border-radius: 20px;
    margin-left: 5px;
    vertical-align: middle;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-links a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 59, 71, 0.4);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-nav-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--accent-red);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--accent-red);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1000;
    padding: 40px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 700;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: var(--accent-red);
}

.mobile-menu .btn {
    font-size: 18px;
    width: 100%;
    justify-content: center;
}

/* Hero Section */
.hero {
    padding: 90px 0 60px;
    text-align: center;
    position: relative;
    width: 100%;
}

.hero-brand-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-brand-icon img, .hero-brand-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 25px rgba(255, 59, 71, 0.65));
    animation: floatGlow 4s ease-in-out infinite alternate;
}

@keyframes floatGlow {
    0% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 20px rgba(255, 59, 71, 0.5));
    }
    100% {
        transform: translateY(-10px) scale(1.03);
        filter: drop-shadow(0 0 35px rgba(255, 59, 71, 0.85));
    }
}

.hero h1 {
    font-size: clamp(38px, 6.5vw, 68px);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero span.gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(229, 27, 36, 0.3));
}

.hero p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn {
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 25px rgba(229, 27, 36, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(229, 27, 36, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    border-color: var(--accent-red);
    box-shadow: var(--shadow-glow);
    color: white;
}

/* TV Frame & Hero Mockup */
.hero-mockup-wrapper {
    max-width: 950px;
    margin: 0 auto;
    position: relative;
}

.tv-frame {
    background: #000;
    border-radius: 28px;
    padding: 18px 18px 24px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 50px rgba(229, 27, 36, 0.25);
    position: relative;
    overflow: hidden;
}

.tv-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 26px;
    border: 1px solid rgba(255, 60, 75, 0.3);
    pointer-events: none;
    z-index: 2;
}

.tv-screen {
    border-radius: 16px;
    overflow: hidden;
    background: radial-gradient(circle at center, #141725 0%, #06070a 100%);
    position: relative;
    aspect-ratio: 16 / 9;
    max-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tv-screen img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.5s ease;
    margin: 0 auto;
}

.tv-screen:hover img {
    transform: scale(1.02);
}

.tv-stand {
    width: 220px;
    height: 12px;
    background: linear-gradient(180deg, #2a2d3b 0%, #151722 100%);
    margin: -2px auto 0;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: none;
}

/* Gallery Section */
.gallery-section {
    padding: 90px 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(8, 9, 13, 0) 0%, rgba(18, 20, 31, 0.6) 50%, rgba(8, 9, 13, 0) 100%);
}

.section-tag {
    color: var(--accent-red);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 14px;
    text-align: center;
}

.section-title {
    font-size: clamp(32px, 5vw, 46px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 620px;
    margin: 0 auto 50px;
}

/* Screenshots Showcase Grid */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.screenshot-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
}

.screenshot-card:hover {
    transform: translateY(-8px);
    border-color: var(--card-hover-border);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

.screenshot-img-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle at center, #161928 0%, #06070a 100%);
    margin-bottom: 20px;
    position: relative;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.screenshot-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.4s ease;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.screenshot-card:hover .screenshot-img-wrapper img {
    transform: scale(1.03);
}

.screenshot-info {
    padding: 8px 4px 4px;
}

.screenshot-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.screenshot-info h3 svg {
    color: var(--accent-red);
    width: 24px;
    height: 24px;
}

.screenshot-info p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.5;
}

/* Features Grid Section */
.features {
    padding: 80px 0 100px;
    width: 100%;
}

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

.feature-card {
    background: var(--card-bg);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--card-hover-border);
    box-shadow: var(--shadow-glow);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 59, 71, 0.12);
    border: 1px solid rgba(255, 59, 71, 0.25);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon svg, .feature-icon img {
    width: 34px;
    height: 34px;
    color: var(--accent-red);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

/* Call to Action Banner */
.cta-banner {
    margin: 40px 0 90px;
    padding: 60px 40px;
    background: radial-gradient(circle at center, rgba(229, 27, 36, 0.25) 0%, rgba(18, 20, 31, 0.9) 100%);
    border-radius: 32px;
    border: 1px solid var(--card-hover-border);
    text-align: center;
    box-shadow: var(--shadow-glow);
}

.cta-banner h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-banner p {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 580px;
    margin: 0 auto 32px;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 60, 75, 0.15);
    width: 100%;
    background: rgba(8, 9, 13, 0.95);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 16px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-red);
    font-weight: 800;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s, transform 0.2s;
}

.footer-column a:hover {
    color: white;
    transform: translateX(3px);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 769px) {
    #iosGrid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
}

/* Responsive Styles */
@media (max-width: 900px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 50px 0 30px;
    }
    
    .hero-brand-icon {
        width: 100px;
        height: 100px;
    }
    
    .hero h1 {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 17px;
        padding: 0 10px;
    }

    .tv-frame {
        padding: 10px 10px 14px;
        border-radius: 18px;
    }

    .tv-screen {
        max-height: 46vh;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #08090d;
    }

    .carousel-container {
        max-height: 46vh;
    }

    .carousel-slide img {
        max-height: 46vh;
        width: auto;
        max-width: 100%;
        object-fit: contain;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 28px 24px;
    }
    
    .cta-banner {
        padding: 40px 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }
    
    .footer-brand {
        max-width: 100%;
    }

    .footer-links {
        justify-content: center;
        gap: 40px;
        width: 100%;
    }

    .footer-column {
        align-items: center;
    }
}

/* ==========================================================================
   Hero TV Carousel & Lightbox Viewer
   ========================================================================== */

/* Hero TV Carousel Container */
.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    user-select: none;
    touch-action: pan-y;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    transition: transform 0.4s ease;
    margin: 0 auto;
}

.carousel-slide:hover img {
    transform: scale(1.02);
}

/* Glassmorphic Carousel Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: rgba(8, 9, 13, 0.75);
    border: 1px solid rgba(255, 59, 71, 0.4);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 12px rgba(255, 59, 71, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease, background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    z-index: 10;
}

.carousel-arrow.prev-arrow {
    left: 12px;
}

.carousel-arrow.next-arrow {
    right: 12px;
}

.carousel-container:hover .carousel-arrow {
    opacity: 1;
}

.carousel-arrow:hover {
    background: rgba(255, 59, 71, 0.85);
    border-color: #ff3b47;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(255, 59, 71, 0.6);
}

/* Zoom Hint Badge */
.zoom-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(8, 9, 13, 0.8);
    border: 1px solid rgba(255, 59, 71, 0.35);
    color: #e2e8f0;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
    opacity: 0.85;
    transition: opacity 0.3s ease, background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
}

.carousel-container:hover .zoom-badge {
    opacity: 1;
    background: rgba(255, 59, 71, 0.2);
    border-color: rgba(255, 59, 71, 0.6);
}

/* Carousel Pagination Dots */
.carousel-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    margin-top: 14px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.dot:hover {
    background: rgba(255, 59, 71, 0.6);
}

.dot.active {
    width: 28px;
    border-radius: 10px;
    background: var(--primary-gradient);
    border-color: rgba(255, 59, 71, 0.8);
    box-shadow: 0 0 12px rgba(255, 59, 71, 0.8);
}

/* Expandable Image Cursor */
.expandable-img, .screenshot-img-wrapper img {
    cursor: zoom-in;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 6, 9, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 92vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 16px;
    border: 1px solid rgba(255, 59, 71, 0.45);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 50px rgba(255, 59, 71, 0.3);
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.lightbox-modal.active .lightbox-content img {
    transform: scale(1);
}

.lightbox-caption {
    margin-top: 16px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    background: rgba(18, 20, 29, 0.8);
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 59, 71, 0.3);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: rgba(22, 25, 36, 0.85);
    border: 1px solid rgba(255, 59, 71, 0.4);
    color: #ffffff;
    border-radius: 50%;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 100001;
}

.lightbox-close:hover {
    background: #ff3b47;
    border-color: #ff3b47;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 0 20px rgba(255, 59, 71, 0.8);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(22, 25, 36, 0.85);
    border: 1px solid rgba(255, 59, 71, 0.4);
    color: #ffffff;
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 100001;
}

.lightbox-prev {
    left: 28px;
}

.lightbox-next {
    right: 28px;
}

.lightbox-nav:hover {
    background: #ff3b47;
    border-color: #ff3b47;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 59, 71, 0.8);
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { top: 16px; right: 16px; width: 38px; height: 38px; font-size: 18px; }
    .carousel-arrow { opacity: 0.85; width: 32px; height: 32px; font-size: 18px; }
}

/* ==========================================================================
   Platform Switcher (tvOS vs iOS)
   ========================================================================== */

.platform-switcher-container {
    display: flex;
    justify-content: center;
    margin: 24px 0 32px;
}

.platform-switcher {
    display: inline-flex;
    background: rgba(18, 20, 29, 0.85);
    border: 1px solid rgba(255, 59, 71, 0.35);
    padding: 6px;
    border-radius: 40px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 59, 71, 0.15);
    gap: 6px;
}

.platform-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 30px;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    outline: none;
}

.platform-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.platform-btn.active {
    background: var(--primary-gradient);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(255, 59, 71, 0.5);
}

.platform-icon {
    font-size: 16px;
    line-height: 1;
}

.showcase-grid-view {
    display: none !important;
}

.showcase-grid-view.active {
    display: grid !important;
    animation: fadeIn 0.4s ease forwards;
}

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

/* ==========================================================================
   App Store Download Modal & Mobile Responsive Carousel
   ========================================================================== */

.download-modal-card {
    background: rgba(14, 16, 26, 0.95);
    border: 1px solid rgba(255, 59, 71, 0.4);
    border-radius: 24px;
    padding: 28px;
    max-width: 480px;
    width: 90vw;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 45px rgba(255, 59, 71, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.lightbox-modal.active .download-modal-card {
    transform: scale(1);
}

.download-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.download-modal-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-modal-header h3 svg {
    color: var(--accent-red);
}

.download-modal-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.download-modal-close:hover {
    background: #ff3b47;
    border-color: #ff3b47;
    transform: scale(1.1);
}

.download-modal-sub {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 22px;
}

.download-options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-option-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 18px;
    background: rgba(22, 25, 38, 0.85);
    border: 1px solid rgba(255, 59, 71, 0.25);
    text-decoration: none;
    color: #ffffff;
    transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.download-option-btn:hover {
    background: rgba(255, 59, 71, 0.16);
    border-color: rgba(255, 59, 71, 0.6);
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(255, 59, 71, 0.25);
}

.platform-badge-icon {
    font-size: 26px;
    line-height: 1;
}

.download-option-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.download-option-text strong {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.download-option-text span {
    font-size: 13px;
    color: var(--text-secondary);
}

.download-option-arrow {
    font-size: 22px;
    color: var(--accent-red);
    font-weight: 600;
    transition: transform 0.2s ease;
}

.download-option-btn:hover .download-option-arrow {
    transform: translateX(3px);
}

/* Showcase Glass Navigation Arrows */
.showcase-wrapper {
    position: relative;
    width: 100%;
}

.showcase-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(14, 16, 26, 0.85);
    border: 1px solid rgba(255, 59, 71, 0.45);
    color: #ffffff;
    border-radius: 50%;
    display: none; /* Hide on desktop mode */
    align-items: center;
    justify-content: center;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 59, 71, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 30;
}

.showcase-arrow.showcase-prev {
    left: -24px;
}

.showcase-arrow.showcase-next {
    right: -24px;
}

.showcase-arrow:hover {
    background: #ff3b47;
    border-color: #ff3b47;
    color: #ffffff;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 0 30px rgba(255, 59, 71, 0.85);
}

.showcase-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

/* Mobile Responsive Screenshots Carousel */
@media (max-width: 768px) {
    .showcase-arrow {
        display: flex;
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .showcase-arrow.showcase-prev {
        left: 2px;
    }

    .showcase-arrow.showcase-next {
        right: 2px;
    }

    .showcase-grid-view {
        display: none !important;
    }

    .showcase-grid-view.active {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 14px !important;
        padding-bottom: 16px !important;
        padding-top: 6px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        align-items: stretch;
    }

    .showcase-grid-view.active::-webkit-scrollbar {
        display: none;
    }

    .showcase-grid-view.active .screenshot-card {
        min-width: 78vw;
        max-width: 82vw;
        max-height: 65vh;
        padding: 14px;
        scroll-snap-align: center;
        flex-shrink: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .showcase-grid-view.active .screenshot-img-wrapper {
        max-height: 38vh;
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #05070c;
        border-radius: var(--radius-sm);
        overflow: hidden;
    }

    .showcase-grid-view.active .screenshot-img-wrapper img {
        max-height: 38vh;
        width: auto;
        max-width: 100%;
        object-fit: contain;
        margin: 0 auto;
    }

    .showcase-grid-view.active .screenshot-info {
        padding: 2px 2px;
    }

    .showcase-grid-view.active .screenshot-info h3 {
        font-size: 15px;
        margin-bottom: 4px;
        gap: 6px;
    }

    .showcase-grid-view.active .screenshot-info h3 svg {
        width: 16px;
        height: 16px;
    }

    .showcase-grid-view.active .screenshot-info p {
        font-size: 12.5px;
        line-height: 1.35;
        color: var(--text-secondary);
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}


