:root {
    --primary: #8b5cf6;
    --primary-light: #a78bfa;
    --primary-dark: #7c3aed;
    --secondary: #06b6d4;
    --accent: #f472b6;
    --bg-dark: #0f0f1a;
    --bg-card: #1a1a2e;
    --bg-card-hover: #252542;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(139, 92, 246, 0.2);
    --gradient: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 50%, #f472b6 100%);
    --gradient-text: linear-gradient(135deg, #a78bfa, #06b6d4);
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.quantum-particle {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.particle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.particle-2 {
    width: 300px;
    height: 300px;
    top: 50%;
    right: -150px;
    animation-delay: -5s;
}

.particle-3 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: 20%;
    animation-delay: -10s;
}

.orbital {
    position: absolute;
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
}

.orbital-1 {
    width: 600px;
    height: 600px;
    top: 10%;
    left: -200px;
}

.orbital-2 {
    width: 800px;
    height: 800px;
    bottom: -200px;
    right: -300px;
    animation-direction: reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

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

    to {
        transform: rotate(360deg);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(15, 15, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

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

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-light);
}

.nav-links a.btn-nav {
    color: white !important;
}

.nav-links a.btn-nav:hover {
    color: white !important;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-nav {
    background: var(--primary);
    color: white !important;
    padding: 10px 20px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    border: none;
}

.btn-nav:hover {
    background: var(--primary-dark);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--primary-light);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-showcase {
    position: relative;
}

.phone-frame {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 40px;
    padding: 20px;
    width: 280px;
    height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.app-preview-icon {
    width: 100px;
    height: 100px;
    border-radius: 24px;
}

.app-name {
    font-size: 1.5rem;
    font-weight: 700;
}

.app-tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--primary);
    opacity: 0.2;
    filter: blur(100px);
    border-radius: 50%;
    z-index: 1;
}

/* Hero 3D Carousel */
.hero-phones-display {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 650px;
    padding: 20px 0;
    perspective: 1500px;
}

.hero-mockup {
    position: absolute;
    height: auto;
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
    will-change: transform, opacity, z-index;
}

/* Center/Active position */
.hero-mockup.active {
    max-height: 580px;
    z-index: 10;
    transform: translateX(0) translateZ(0) rotateY(0deg) scale(1);
    opacity: 1;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.5));
    animation: heroFloat 6s ease-in-out infinite;
    pointer-events: auto;
}

/* Portrait image (center) - make it bigger */
.hero-mockup.active[src*="portrait"] {
    max-height: 700px;
}

/* Left position */
.hero-mockup[data-position="0"]:not(.active) {
    max-height: 450px;
    z-index: 3;
    transform: translateX(-220px) translateZ(-150px) rotateY(25deg) scale(0.85);
    opacity: 0.5;
    pointer-events: none;
}

/* Right position */
.hero-mockup[data-position="2"]:not(.active) {
    max-height: 450px;
    z-index: 3;
    transform: translateX(220px) translateZ(-150px) rotateY(-25deg) scale(0.85);
    opacity: 0.5;
    pointer-events: none;
}

/* Center (non-active) */
.hero-mockup[data-position="1"]:not(.active) {
    max-height: 450px;
    z-index: 3;
    opacity: 0.5;
    pointer-events: none;
}

.hero-mockup:hover {
    filter: drop-shadow(0 40px 80px rgba(139, 92, 246, 0.5));
    opacity: 1 !important;
}

.hero-glow-orb {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(6, 182, 212, 0.1) 50%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Zigzag Feature Showcase */
.zigzag-showcase {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.03) 50%, transparent 100%);
}

.zigzag-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.zigzag-row:last-child {
    margin-bottom: 0;
}

.zigzag-row-reverse {
    direction: rtl;
}

.zigzag-row-reverse>* {
    direction: ltr;
}

.zigzag-content {
    padding: 20px;
}

.zigzag-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: inline-block;
    animation: iconBounce 3s ease-in-out infinite;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-5px) rotate(-5deg);
    }

    75% {
        transform: translateY(-5px) rotate(5deg);
    }
}

.zigzag-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.zigzag-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.zigzag-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.feature-tag {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--primary-light);
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(139, 92, 246, 0.25);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.zigzag-phone {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-image {
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4));
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mockup-image:hover {
    transform: scale(1.05) translateY(-10px);
    filter: drop-shadow(0 40px 80px rgba(139, 92, 246, 0.4));
}

.phone-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.zigzag-phone:hover .phone-glow {
    opacity: 1;
}

/* Gallery Showcase Section */
.gallery-showcase {
    padding: 120px 0;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.02) 0%, transparent 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 40px 0;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    animation: galleryFadeIn 0.6s ease-out forwards;
    animation-delay: var(--delay, 0s);
    opacity: 0;
    transform: translateY(20px);
}

@keyframes galleryFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-mockup {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
    cursor: pointer;
    transition: filter 0.3s ease;
}

.gallery-item:hover .gallery-mockup {
    filter: drop-shadow(0 20px 40px rgba(139, 92, 246, 0.35));
}

.gallery-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-light);
    background: rgba(139, 92, 246, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-label {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--primary);
}

/* Story Steps Section */
.story-steps {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.03) 0%, transparent 50%, rgba(6, 182, 212, 0.03) 100%);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.step-item {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.step-item-reverse {
    direction: rtl;
}

.step-item-reverse>* {
    direction: ltr;
}

.step-content {
    padding: 10px;
}

.step-number {
    display: inline-block;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.6;
    margin-bottom: 12px;
}

.step-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.step-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.step-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-image {
    max-width: 600px;
    height: auto;
    filter: drop-shadow(0 35px 70px rgba(0, 0, 0, 0.5));
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step-image:hover {
    transform: scale(1.05) translateY(-10px);
    filter: drop-shadow(0 45px 90px rgba(139, 92, 246, 0.5));
}

/* App Preview Section */
.app-preview {
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.03) 0%, transparent 50%, rgba(6, 182, 212, 0.03) 100%);
    overflow: hidden;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-top: 16px;
}

.phone-carousel {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: center;
    position: relative;
    perspective: 2000px;
    padding: 20px 0;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    perspective: 2000px;
    position: relative;
}

/* Add gradient fade on edges */
.carousel-track-container::before,
.carousel-track-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 20;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.carousel-track-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark) 0%, transparent 100%);
}

.carousel-track-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark) 0%, transparent 100%);
}

@media (max-width: 768px) {

    .carousel-track-container::before,
    .carousel-track-container::after {
        width: 50px;
    }
}

.carousel-track {
    display: flex;
    gap: 50px;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 60px 40px;
    transform-style: preserve-3d;
    align-items: center;
}

.phone-mockup {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
    position: relative;
}

.phone-mockup::before {
    content: attr(data-label);
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-light);
    background: rgba(139, 92, 246, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
}

.phone-mockup:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

/* Enhanced 3D effects for different angles */
.phone-mockup[data-angle="left"] .phone-frame-s24 {
    transform: perspective(1500px) rotateY(-8deg) rotateX(2deg);
}

.phone-mockup[data-angle="right"] .phone-frame-s24 {
    transform: perspective(1500px) rotateY(8deg) rotateX(2deg);
}

.phone-mockup[data-angle="portrait"] .phone-frame-s24 {
    transform: perspective(1500px) rotateY(0deg) rotateX(0deg);
}

/* Samsung Galaxy S24 Ultra Style Frame */
.phone-frame-s24 {
    /* S24 Ultra has flat titanium frame with minimal bezels */
    background: linear-gradient(180deg, #2d2d35 0%, #1c1c24 100%);
    border: 2px solid #4a4a58;
    /* S24 Ultra has very subtle corner radius - almost square */
    border-radius: 12px;
    padding: 6px;
    /* Bigger size */
    width: 300px;
    height: 620px;
    position: relative;
    /* Titanium frame effect */
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3),
        0 0 50px rgba(139, 92, 246, 0.2);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
}

/* Titanium frame side highlights */
.phone-frame-s24::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 15%,
            transparent 85%,
            rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
}

.phone-frame-s24:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 100px rgba(139, 92, 246, 0.4),
        20px 20px 80px -20px rgba(139, 92, 246, 0.35);
}

/* Dynamic angle-based hover effects */
.phone-mockup[data-angle="left"] .phone-frame-s24:hover {
    transform: translateY(-20px) rotateY(-12deg) rotateX(5deg) scale(1.05);
}

.phone-mockup[data-angle="right"] .phone-frame-s24:hover {
    transform: translateY(-20px) rotateY(12deg) rotateX(5deg) scale(1.05);
}

.phone-mockup[data-angle="portrait"] .phone-frame-s24:hover {
    transform: translateY(-20px) rotateY(0deg) rotateX(5deg) scale(1.05);
}

/* S24 Ultra speaker (small slit at top) */
.phone-speaker {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #1a1a22;
    border-radius: 2px;
    z-index: 10;
}

/* S24 Ultra front camera (punch hole) */
.phone-camera {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #0a0a10 40%, #1a1a22 60%, #2a2a32 100%);
    border-radius: 50%;
    z-index: 10;
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.8);
}

/* Camera lens reflection */
.phone-camera::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

/* S24 Ultra side buttons */
.phone-buttons {
    position: absolute;
    right: -2px;
    top: 120px;
    width: 3px;
    height: 80px;
    background: linear-gradient(180deg, #5a5a68, #4a4a58, #5a5a68);
    border-radius: 0 2px 2px 0;
}

.phone-buttons::before {
    content: '';
    position: absolute;
    right: 0;
    top: -50px;
    width: 3px;
    height: 35px;
    background: linear-gradient(180deg, #5a5a68, #4a4a58, #5a5a68);
    border-radius: 0 2px 2px 0;
}

/* S24 Ultra screen (flat, minimal corners) */
.phone-screen-inner {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #0f0f1a;
    position: relative;
}

.phone-screen-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
}

.phone-frame-s24:hover .phone-screen-inner img {
    transform: scale(1.03);
}

/* Glow effect on active/center phone */
.phone-mockup.center-active .phone-frame-s24 {
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3),
        0 0 60px rgba(139, 92, 246, 0.3),
        0 0 100px rgba(6, 182, 212, 0.2);
}

/* Carousel navigation buttons */
.carousel-btn {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10;
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: var(--gradient);
    border-color: var(--primary);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

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

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 80px;
    padding: 20px;
}

.carousel-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.2);
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.carousel-dot:hover {
    background: var(--primary-light);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.carousel-dot.active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: dotPulse 1.5s infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.5;
    }
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-light);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
}

/* About */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
}

.about-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.main-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary-light);
}

.main-card p {
    color: var(--text-muted);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-grid .about-card {
    text-align: center;
}

.card-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.about-grid h4 {
    margin-bottom: 8px;
}

.about-grid p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Why Quantum */
.why-quantum {
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.03) 50%, transparent 100%);
}

.mission-statement {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.mission-statement blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.mission-statement cite {
    color: var(--primary-light);
    font-style: normal;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-weight: 500;
    margin-bottom: 8px;
}

.stat-source {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.opportunity-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.opportunity-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
}

.opportunity-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.opp-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.opportunity-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary-light);
}

.opportunity-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.feature-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.05));
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

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

/* CTA Section */
.cta-section {
    padding: 100px 0;
}

.cta-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.cta-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-light);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-muted);
}

.cta-contact h3 {
    margin-bottom: 24px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
    transform: translateX(5px);
}

.contact-label {
    font-weight: 600;
}

.contact-value {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.contact-note {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.platform-note {
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    font-size: 0.9375rem;
}

.contact-card.support {
    background: rgba(255, 199, 0, 0.1);
    border-color: rgba(255, 199, 0, 0.3);
}

.contact-card.support:hover {
    background: rgba(255, 199, 0, 0.2);
    border-color: rgba(255, 199, 0, 0.5);
}


/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.footer-name {
    font-size: 1.25rem;
    font-weight: 700;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 40px;
    }

    .phone-frame {
        width: 240px;
        height: 480px;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .opportunity-cards {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card.featured {
        grid-column: span 2;
    }

    .cta-card {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .phone-frame-s24 {
        width: 260px;
        height: 540px;
    }

    .carousel-track {
        gap: 30px;
    }

    .carousel-track-container {
        max-width: 800px;
    }

    /* Hero container responsive */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .hero-cta {
        justify-content: center;
    }

    /* Hero 3D carousel responsive */
    .hero-phones-display {
        min-height: 500px;
    }

    .hero-mockup.active {
        max-height: 450px;
    }

    .hero-mockup[data-position="0"]:not(.active),
    .hero-mockup[data-position="2"]:not(.active) {
        transform: translateX(-150px) translateZ(-100px) rotateY(20deg) scale(0.8);
    }

    .hero-mockup[data-position="2"]:not(.active) {
        transform: translateX(150px) translateZ(-100px) rotateY(-20deg) scale(0.8);
    }

    .hero-phone-left,
    .hero-phone-right {
        display: none;
    }

    /* Zigzag responsive */
    .zigzag-row {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 80px;
    }

    .zigzag-row-reverse {
        direction: ltr;
    }

    .zigzag-content {
        text-align: center;
    }

    .zigzag-features {
        justify-content: center;
    }

    .mockup-image {
        max-width: 340px;
    }

    /* Gallery responsive */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .gallery-mockup {
        max-width: 240px;
    }

    /* Story steps responsive */
    .step-item {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .step-item-reverse {
        direction: ltr;
    }

    .step-content {
        text-align: center;
    }

    .step-image {
        max-width: 500px;
    }

    /* Hero phones responsive */
    .hero-phones-display {
        gap: 20px;
        min-height: 550px;
    }

    .hero-mockup-center,
    .hero-mockup.active {
        max-height: 500px;
    }

    .hero-mockup-side,
    .hero-mockup:not(.active) {
        max-height: 420px;
    }

    /* Lightbox responsive */
    .lightbox-content {
        margin: 0 80px;
        max-width: calc(100vw - 160px);
    }

    .lightbox-image {
        max-height: 85vh;
    }

    .lightbox-nav {
        width: 50px;
        height: 50px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .navbar {
        padding: 12px 0;
    }

    .nav-links {
        display: none;
    }

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

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .section-title {
        font-size: 2rem;
    }

    section {
        padding: 80px 0;
    }

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

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

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

    .feature-card.featured {
        grid-column: span 1;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Lightbox mobile */
    .lightbox-content {
        margin: 0 !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
        width: 100vw !important;
        height: 100vh !important;
        padding: 0 !important;
    }

    .lightbox-image {
        max-width: 100vw !important;
        max-height: 95vh !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .lightbox-nav {
        display: none !important;
    }

    .lightbox-hint.desktop-hint {
        display: none;
    }

    .lightbox-hint.mobile-hint {
        display: block !important;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .lightbox-hint {
        bottom: 20px;
        font-size: 0.75rem;
        padding: 0 20px;
    }

    /* Zigzag responsive 768 */
    .zigzag-showcase {
        padding: 80px 0;
    }

    .zigzag-content h3 {
        font-size: 1.75rem;
    }

    .zigzag-content p {
        font-size: 1rem;
    }

    .zigzag-icon {
        font-size: 2.5rem;
    }

    /* Gallery responsive 768 */
    .gallery-showcase {
        padding: 80px 0;
    }

    .gallery-mockup {
        max-width: 160px;
    }

    .gallery-label {
        font-size: 0.75rem;
        padding: 4px 12px;
    }

    /* Story steps 768 */
    .story-steps {
        padding: 80px 0;
    }

    .steps-container {
        gap: 60px;
    }

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

    .step-content h3 {
        font-size: 1.75rem;
    }

    .step-content p {
        font-size: 1rem;
    }

    .step-image {
        max-width: 400px;
    }

    /* Hero phones 768 */
    .hero-phones-display {
        gap: 15px;
        min-height: 450px;
    }

    .hero-mockup-center,
    .hero-mockup.active {
        max-height: 400px;
    }

    .hero-mockup-side,
    .hero-mockup:not(.active) {
        max-height: 340px;
    }

    /* Hero container mobile */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .hero-cta {
        justify-content: center;
    }

    /* Hero 3D carousel mobile - show only active */
    .hero-phones-display {
        min-height: 400px;
        perspective: none;
    }

    .hero-mockup {
        position: relative;
    }

    .hero-mockup:not(.active) {
        display: none;
    }

    .hero-mockup.active {
        max-height: 380px;
        transform: none;
        animation: none;
    }

    .hero-glow-orb {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero {
        padding: 90px 0 50px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-label {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    section {
        padding: 60px 0;
    }

    .cta-card {
        padding: 24px;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    /* Lightbox mobile small */
    .lightbox-content {
        margin: 0 !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
        width: 100vw !important;
        height: 100vh !important;
        padding: 0 !important;
    }

    .lightbox-image {
        max-width: 100vw !important;
        max-height: 95vh !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .lightbox-nav {
        display: none !important;
    }

    .lightbox-hint.desktop-hint {
        display: none;
    }

    .lightbox-hint.mobile-hint {
        display: block !important;
        font-size: 0.7rem;
        bottom: 15px;
        padding: 0 15px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }

    .lightbox-close svg {
        width: 18px;
        height: 18px;
    }

    .lightbox-hint {
        bottom: 20px;
        font-size: 0.65rem;
        padding: 0 15px;
    }

    /* Hero 480 */
    .hero-phones-display {
        min-height: 380px;
    }

    .hero-mockup:not(.active) {
        display: none !important;
    }

    .hero-mockup.active {
        max-height: 360px;
        max-width: 90%;
        position: relative;
        transform: none !important;
    }

    .hero-glow-orb {
        width: 250px;
        height: 250px;
    }

    /* Zigzag 480 */
    .zigzag-showcase {
        padding: 60px 0;
    }

    .zigzag-row {
        margin-bottom: 60px;
    }

    .zigzag-content h3 {
        font-size: 1.5rem;
    }

    .zigzag-icon {
        font-size: 2rem;
    }

    .feature-tag {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .mockup-image {
        max-width: 90%;
        width: 340px;
    }

    /* Gallery 480 */
    .gallery-showcase {
        padding: 60px 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-mockup {
        max-width: 100%;
    }

    .gallery-label {
        font-size: 0.6rem;
        padding: 3px 6px;
    }

    /* Story steps 480 */
    .story-steps {
        padding: 60px 0;
    }

    .steps-container {
        gap: 50px;
    }

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

    .step-content h3 {
        font-size: 1.5rem;
    }

    .step-image {
        max-width: 90%;
        width: 340px;
    }

    /* Navbar mobile */
    .logo-text {
        font-size: 1.25rem;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
    }

    /* About cards mobile */
    .about-card {
        padding: 24px;
    }

    .main-card h3 {
        font-size: 1.25rem;
    }

    /* Stats mobile */
    .stat-card {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Features mobile */
    .feature-card {
        padding: 20px;
    }

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

    /* Contact cards mobile */
    .contact-card {
        padding: 16px;
    }

    /* Mission statement mobile */
    .mission-statement blockquote {
        font-size: 1.125rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .gallery-grid {
        gap: 15px;
    }

    .gallery-mockup {
        max-width: 140px;
    }
}

/* Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    cursor: zoom-out;
    backdrop-filter: blur(20px);
    overflow: visible;
}

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

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    transform-style: preserve-3d;
    perspective: 1000px;
    overflow: visible;
    padding: 0;
    isolation: isolate;
    margin: 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 40px 100px rgba(139, 92, 246, 0.5));
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center center;
    opacity: 1;
    transform: translateX(0) scale(1);
    position: relative;
    z-index: 2;
    background: transparent;
    display: block;
}

.lightbox-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(6, 182, 212, 0.2) 30%, transparent 60%);
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.8;
    transition: opacity 0.5s ease;
}

/* Animation states for lightbox navigation */
.lightbox-image.slide-out-left {
    animation: slideOutLeft 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.lightbox-image.slide-out-right {
    animation: slideOutRight 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.lightbox-image.slide-in-left {
    animation: slideInLeft 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.lightbox-image.slide-in-right {
    animation: slideInRight 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slideOutLeft {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: drop-shadow(0 40px 100px rgba(139, 92, 246, 0.5)) blur(0px);
    }

    100% {
        opacity: 0;
        transform: translateX(-80px) scale(0.95);
        filter: drop-shadow(0 20px 50px rgba(139, 92, 246, 0.2)) blur(2px);
    }
}

@keyframes slideOutRight {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: drop-shadow(0 40px 100px rgba(139, 92, 246, 0.5)) blur(0px);
    }

    100% {
        opacity: 0;
        transform: translateX(80px) scale(0.95);
        filter: drop-shadow(0 20px 50px rgba(139, 92, 246, 0.2)) blur(2px);
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(80px) scale(0.95);
        filter: drop-shadow(0 20px 50px rgba(139, 92, 246, 0.2)) blur(2px);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: drop-shadow(0 40px 100px rgba(139, 92, 246, 0.5)) blur(0px);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(-80px) scale(0.95);
        filter: drop-shadow(0 20px 50px rgba(139, 92, 246, 0.2)) blur(2px);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: drop-shadow(0 40px 100px rgba(139, 92, 246, 0.5)) blur(0px);
    }
}

.lightbox-close {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(139, 92, 246, 0.3);
    border-color: var(--primary);
    transform: rotate(90deg);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2;
}

.lightbox-hint {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    text-align: center;
}

@media (max-width: 768px) {
    .lightbox-hint {
        font-size: 0.8rem;
        bottom: 20px;
        padding: 0 20px;
    }
}

/* Lightbox Navigation Buttons */
.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: rgba(139, 92, 246, 0.4);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav svg {
    width: 28px;
    height: 28px;
    stroke: white;
    stroke-width: 2.5;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}