:root {
    --bg-primary: #050505;
    --bg-secondary: #111111;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-color: #dc2626;
    --accent-hover: #ef4444;
    --accent-glow: rgba(220, 38, 38, 0.5);
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-color);
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background-image: url('cineviomlogo.jpg');
    background-size: cover;
    background-position: center;
    display: inline-block;
    box-shadow: 0 0 15px var(--accent-glow);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:not(.btn):hover {
    color: var(--text-primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 10rem 0 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
}

.glow-1 {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: var(--accent-color);
}

.glow-2 {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: #f97316;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    background: rgba(220, 38, 38, 0.1);
    color: var(--accent-hover);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(to right, var(--accent-color), #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item strong {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Mockup Visual */
.mockup-card {
    width: 100%;
    height: 550px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.mockup-card:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.mockup-header {
    height: 40px;
    background: rgba(0,0,0,0.3);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 0.5rem;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #444;
}

.mockup-dots span:nth-child(1) { background: #ff5f56; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #27c93f; }

.mockup-url {
    margin-left: auto;
    margin-right: auto;
    background: rgba(255,255,255,0.05);
    padding: 4px 40px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.mockup-body {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: linear-gradient(180deg, rgba(20,20,20,0.8) 0%, rgba(5,5,5,0.9) 100%);
}

.mockup-featured {
    height: 60%;
    border-radius: 12px;
    background: linear-gradient(45deg, var(--bg-secondary), var(--accent-color));
    position: relative;
    overflow: hidden;
}

.mockup-featured::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.mockup-carousel {
    display: flex;
    gap: 1rem;
    height: 40%;
}

.mockup-movie {
    flex: 1;
    border-radius: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
}

/* Features */
.features {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header h2 span {
    color: var(--accent-color);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

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

.feature-card {
    padding: 2.5rem;
    transition: transform 0.3s, background 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(220, 38, 38, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(220, 38, 38, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Download CTA */
.download-cta {
    padding: 5rem 0 8rem;
}

.cta-box {
    padding: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(20,20,20,0.8) 0%, rgba(220, 38, 38, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSJub25lIi8+CjxyZWN0IHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz4KPC9zdmc+') repeat;
    opacity: 0.5;
    z-index: 1;
}

.cta-content, .cta-actions {
    position: relative;
    z-index: 2;
}

.cta-content {
    max-width: 500px;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.platforms {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.platforms span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.platform-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.divider {
    width: 1px;
    height: 20px;
    background: var(--glass-border);
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.version-info {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1.5rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    justify-content: space-between;
}

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

.link-column h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.link-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.link-column a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay { transition-delay: 0.2s; }
.reveal-delay-1 { transition-delay: 0.2s; }
.reveal-delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        max-width: 100%;
        margin: 0 auto 2.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }

    .mockup-card {
        margin-top: 2rem;
        height: 400px;
        transform: none;
    }
    
    .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
        gap: 3rem;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .platform-icons {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-brand p {
        margin: 1.5rem auto 0;
    }
    
    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 2rem;
        gap: 2rem;
        border-bottom: 1px solid var(--glass-border);
        clip-path: circle(0% at 100% 0);
        transition: all 0.5s ease-out;
    }
    
    .nav-links.active {
        clip-path: circle(150% at 100% 0);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding-top: 8rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Pricing Section */
.pricing {
    padding: 8rem 0;
    position: relative;
    background: linear-gradient(to bottom, transparent, rgba(220, 38, 38, 0.03), transparent);
}

/* Toggle Switch */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.toggle-label {
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.toggle-label.active {
    color: var(--text-primary);
}

.toggle-switch {
    width: 60px;
    height: 32px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 4px;
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.toggle-switch.annual .toggle-slider {
    transform: translateX(26px);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.popular {
    transform: scale(1.05);
    border-color: rgba(220, 38, 38, 0.5);
    background: linear-gradient(to bottom, rgba(220, 38, 38, 0.05), var(--glass-bg));
    z-index: 10;
}

@media (max-width: 992px) {
    .pricing-card.popular {
        transform: scale(1);
    }
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-color), #f97316);
    color: white;
    padding: 0.4rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.plan-name {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.plan-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    min-height: 45px;
}

.plan-price {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-end;
    gap: 0.2rem;
}

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.plan-price .period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 0.8rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.plan-features li svg {
    color: var(--accent-color);
    flex-shrink: 0;
}

.plan-features li.disabled {
    color: var(--text-secondary);
    opacity: 0.5;
}

.plan-features li.disabled svg {
    color: var(--text-secondary);
}

.pricing-action {
    width: 100%;
    margin-top: auto;
}

.pricing-quote {
    text-align: center;
    max-width: 800px;
    margin: 6rem auto 0;
    font-size: 1.4rem;
    font-weight: 300;
    font-style: italic;
    color: var(--text-secondary);
    position: relative;
    padding: 0 3rem;
    line-height: 1.6;
}

.pricing-quote::before {
    content: '"';
    font-size: 6rem;
    color: rgba(220, 38, 38, 0.15);
    position: absolute;
    top: -30px;
    left: 0;
    font-family: serif;
    line-height: 1;
}

/* Modals */
.modal-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content {
    transform: scale(0.95); transition: transform 0.3s ease;
    width: 100%; max-width: 400px; padding: 2.5rem 2rem;
    position: relative;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(20,20,20,1) 100%);
}
.modal-overlay.active .modal-content { transform: scale(1); }
.close-btn {
    position: absolute; top: 1rem; right: 1.5rem;
    background: none; border: none; color: var(--text-secondary);
    cursor: pointer; font-size: 1.5rem; transition: var(--transition);
}
.close-btn:hover { color: var(--text-primary); }
.form-group { margin-bottom: 1.2rem; text-align: left; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.75rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; font-weight: 600;}
.form-group input { width: 100%; padding: 0.8rem 1rem; border-radius: 12px; background: rgba(0,0,0,0.5); border: 1px solid var(--glass-border); color: white; outline: none; transition: var(--transition); font-family: var(--font-main); }
.form-group input:focus { border-color: var(--accent-color); box-shadow: 0 0 10px rgba(220,38,38,0.2); }
.modal-switch button { background: none; border: none; color: white; font-weight: 500; cursor: pointer; text-decoration: underline; margin-left: 0.5rem; font-family: var(--font-main); }

/* OAuth */
.oauth-divider { display: flex; align-items: center; text-align: center; margin: 1.5rem 0; color: var(--text-muted); font-size: 0.85rem; }
.oauth-divider::before, .oauth-divider::after { content: ''; flex: 1; border-bottom: 1px solid var(--glass-border); }
.oauth-divider span { padding: 0 0.8rem; }

.btn-oauth {
    width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border); border-radius: 12px;
    color: var(--text-primary); font-weight: 600; cursor: pointer; transition: all 0.3s ease; font-family: var(--font-main);
}
.btn-oauth:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }

@keyframes spin { 100% { transform: rotate(360deg); } }
.spin { animation: spin 1s linear infinite; }

/* Profile Modal */
.user-profile-btn:hover { background: rgba(255,255,255,0.15) !important; }
.profile-info { display: flex; align-items: center; gap: 1rem; padding: 1.5rem; background: rgba(0,0,0,0.3); border-radius: 12px; border: 1px solid var(--glass-border); margin-bottom: 1.5rem; text-align: left; }
.profile-avatar { width: 60px; height: 60px; min-width: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-color), #f43f5e); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: bold; color: white; }
.profile-details h4 { margin: 0; font-size: 1.1rem; color: white; }
.profile-details span { font-size: 0.85rem; color: var(--text-secondary); }

.profile-plan { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; background: rgba(220, 38, 38, 0.05); border: 1px solid rgba(220, 38, 38, 0.2); border-radius: 12px; margin-bottom: 1.5rem; text-align: left; gap: 1rem; }
.plan-badge { display: inline-block; padding: 0.3rem 0.8rem; background: var(--accent-color); color: white; font-size: 0.75rem; font-weight: bold; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px; }
.plan-badge.premium { background: linear-gradient(135deg, #f59e0b, #d97706); } 

.profile-code-section { padding: 1.5rem; background: rgba(0,0,0,0.3); border-radius: 12px; border: 1px dashed var(--glass-border); text-align: left; }
.profile-code-section h4 { margin: 0 0 0.5rem 0; font-size: 0.95rem; color: var(--text-primary); }
.profile-code-section p { margin: 0 0 1rem 0; font-size: 0.8rem; color: var(--text-secondary); line-height: 1.4; }
.code-box { display: flex; align-items: center; justify-content: space-between; background: rgba(0,0,0,0.5); border: 1px solid var(--glass-border); padding: 0.8rem 1rem; border-radius: 8px; }
.code-box span { font-family: monospace; font-size: 1.2rem; font-weight: bold; letter-spacing: 2px; color: var(--text-primary); }
.btn-copy { background: none; border: none; color: var(--text-secondary); cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; padding: 0.5rem; border-radius: 4px;}
.btn-copy:hover { color: white; background: rgba(255,255,255,0.1); }

/* Minimalist App Gallery Section */
.gallery { padding: 8rem 0; position: relative; overflow: hidden; background: transparent; }
.gallery-wrapper { position: relative; width: 100%; margin: 0 auto; max-width: 1400px; }
.gallery-container { width: 100%; overflow-x: auto; padding: 3rem 0; scroll-behavior: smooth; scroll-snap-type: x mandatory; -ms-overflow-style: none; scrollbar-width: none; }
.gallery-container::-webkit-scrollbar { display: none; }

.gallery-track { display: flex; gap: 4rem; padding: 0 4rem; width: max-content; margin: 0 auto; }

.gallery-item.view-mockup {
    display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
    scroll-snap-align: center;
}

/* Authentic Phone Frame */
.phone-frame {
    flex: 0 0 auto;
    width: 290px; height: 600px;
    border-radius: 45px;
    padding: 12px; /* Screen bezels */
    background: #111; /* Deep black frame */
    box-shadow: 
        0 0 0 2px #2a2a2a, /* Metallic rim */
        0 30px 60px rgba(0,0,0,0.6), /* Depth shadow */
        inset 0 0 10px rgba(255,255,255,0.1); /* Inner glass shine */
    position: relative;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-frame:hover { transform: translateY(-20px) scale(1.02); }

/* Dynamic Island */
.dynamic-island {
    position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
    width: 100px; height: 28px; border-radius: 20px;
    background: #000; z-index: 10;
    box-shadow: inset 0 -1px 2px rgba(255,255,255,0.15);
}

/* Screen Image */
.gallery-img { 
    width: 100%; height: 100%; object-fit: cover; 
    border-radius: 34px; filter: brightness(0.85); 
    transition: filter 0.5s ease; 
}
.phone-frame:hover .gallery-img { filter: brightness(1.05); }

/* Minimalist Label below Phone */
.phone-label {
    font-size: 0.95rem; font-weight: 600; color: var(--text-secondary);
    letter-spacing: 2px; text-transform: uppercase;
    transition: color 0.4s ease;
}
.gallery-item:hover .phone-label { color: var(--text-primary); }

/* Sleek Arrows */
.gallery-nav-btn {
    position: absolute; top: 45%; margin-top: -28px;
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    display: flex; align-items: center; justify-content: center;
    color: white; cursor: pointer; z-index: 20; transition: all 0.3s;
}
.gallery-nav-btn:hover { background: var(--accent-color); border-color: transparent; transform: scale(1.1); box-shadow: 0 10px 25px rgba(220,38,38,0.5); }
.gallery-nav-btn.prev { left: 10px; }
.gallery-nav-btn.next { right: 10px; }

@media (max-width: 768px) {
    .gallery-track { padding: 0 1.5rem; gap: 2rem; }
    .phone-frame { width: 250px; height: 520px; }
    .gallery-nav-btn { display: none; }
}
