/* ===================================
   Dictator Website - Main Styles
   Modern dark theme with purple accents
   =================================== */

/* CSS Variables */
:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-card: rgba(26, 26, 37, 0.7);
    --bg-card-hover: rgba(35, 35, 50, 0.8);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);

    --accent-primary: #8B5CF6;
    --accent-secondary: #7C3AED;
    --accent-tertiary: #6D28D9;
    --accent-glow: rgba(139, 92, 246, 0.3);

    --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #6366F1 50%, #3B82F6 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #12121a 100%);

    --border-color: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.05);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px var(--accent-glow);

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   Navigation
   =================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.nav.scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 15, 0.95);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    padding: 10px 24px !important;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: var(--text-primary) !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 24px;
    padding-left: 24px;
    border-left: 1px solid var(--border-light);
}

.lang-btn {
    width: 28px;
    height: 28px;
    padding: 2px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
}

.lang-btn img {
    width: 20px;
    height: 14px;
    object-fit: contain;
    border-radius: 2px;
}

.lang-btn:hover {
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.1);
}

.active {
    opacity: 1;
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
}

@media (max-width: 768px) {
    .language-switcher {
        margin-left: auto;
        margin-right: 12px;
        padding-left: 0;
        border-left: none;
    }
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        var(--bg-primary);
    z-index: -2;
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    max-width: 560px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px var(--accent-glow);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
}

/* Platform Icons */
.hero-platforms {
    display: flex;
    align-items: center;
    gap: 16px;
}

.platform-label {
    font-size: 14px;
    color: var(--text-muted);
}

.platform-icons {
    display: flex;
    gap: 12px;
}

.platform-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.platform-icon svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
}

.platform-icon:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.platform-icon:hover svg {
    color: var(--text-primary);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-device-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.hero-device {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.desktop-preview {
    width: 100%;
}

.desktop-preview img {
    width: 100%;
    height: auto;
}

.mobile-preview {
    position: absolute;
    bottom: -30px;
    right: -40px;
    width: 140px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.mobile-preview img {
    width: 100%;
    height: auto;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 13px;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator svg {
    width: 20px;
    height: 20px;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* ===================================
   Section Styles
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   Features Section
   =================================== */
.features {
    padding: var(--section-padding) 0;
    background: var(--gradient-dark);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md), 0 0 30px rgba(139, 92, 246, 0.1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--text-primary);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-description {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* ===================================
   Screenshots Section
   =================================== */
.screenshots {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.screenshots-category {
    margin-bottom: 80px;
}

.screenshots-category:last-child {
    margin-bottom: 0;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 32px;
    padding-left: 16px;
    border-left: 3px solid var(--accent-primary);
}

.category-title svg {
    width: 28px;
    height: 28px;
    color: var(--accent-primary);
}

.screenshots-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 0;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
}

.screenshots-slider::-webkit-scrollbar {
    display: none;
}

.screenshot-card {
    flex: 0 0 400px;
    scroll-snap-align: start;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.screenshot-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.screenshot-card.mobile {
    flex: 0 0 280px;
}

.screenshot-image {
    width: 100%;
    background: var(--bg-secondary);
    padding: 16px;
    display: flex;
    justify-content: center;
}

.screenshot-image img {
    border-radius: var(--radius-sm);
    max-height: 300px;
    object-fit: contain;
}

.screenshot-card.mobile .screenshot-image img {
    max-height: 400px;
}

.screenshot-info {
    padding: 20px 24px;
}

.screenshot-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.screenshot-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Slider Navigation */
.slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.slider-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.slider-btn svg {
    width: 20px;
    height: 20px;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--accent-primary);
}

/* ===================================
   Download Section
   =================================== */
.download {
    padding: calc(var(--section-padding) + 40px) 0 var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.download-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 20% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.download .container {
    position: relative;
    z-index: 1;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.download-card {
    position: relative;
    padding: 72px 32px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all var(--transition-normal);
}

.download-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.download-card.featured {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.download-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 18px;
    background: var(--gradient-primary);
    border-radius: 0 0 14px 14px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
}

.badge-icon {
    width: 16px;
    height: 16px;
}

.download-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-tertiary);
}

.download-icon svg {
    width: 36px;
    height: 36px;
}

.download-icon.windows svg {
    color: #00A4EF;
}

.download-icon.ios svg {
    color: #ffffff;
}

.download-icon.android svg {
    color: #3DDC84;
}

.download-icon.macos svg {
    color: #ffffff;
}

.download-platform {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.download-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
}

.download-requirements {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.download-requirements span {
    padding: 4px 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--text-muted);
}

.btn-download {
    width: 100%;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    padding: 14px 24px;
    background: var(--gradient-primary);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
}

.btn-download:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-download.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    box-shadow: none;
    pointer-events: none;
}

.btn-download svg {
    width: 18px;
    height: 18px;
}

/* Compact Get Key CTA */
.get-key-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 16px 24px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.get-key-compact .key-icon {
    font-size: 1.5rem;
}

.get-key-compact .key-text {
    color: var(--text-secondary);
    font-size: 14px;
}

.get-key-compact .key-text strong {
    color: var(--text-primary);
}

.btn-key {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #0088cc 0%, #0077b5 100%);
    color: var(--text-primary);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: all var(--transition-normal);
}

.btn-key:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

@media (max-width: 768px) {
    .get-key-compact {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

.get-key-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 32px 40px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(99, 102, 241, 0.15) 50%, rgba(59, 130, 246, 0.1) 100%);
    border: 2px solid var(--accent-primary);
    border-radius: var(--radius-xl);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.2), inset 0 0 60px rgba(139, 92, 246, 0.05);
    position: relative;
    overflow: hidden;
}

.get-key-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.03) 50%, transparent 60%);
    animation: ctaShine 3s ease-in-out infinite;
}

@keyframes ctaShine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
}

.cta-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px 5px rgba(139, 92, 246, 0.2);
    }
}

.cta-icon svg {
    width: 32px;
    height: 32px;
    color: var(--text-primary);
}

.cta-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-text p {
    color: var(--text-secondary);
    font-size: 15px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #0088cc 0%, #0077b5 100%);
    color: var(--text-primary);
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.3);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 136, 204, 0.4);
}

.btn-cta svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .get-key-cta {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .cta-content {
        flex-direction: column;
    }

    .btn-cta {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 60px 0 24px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-light);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 12px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===================================
   Lightbox Modal
   =================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 10;
}

.lightbox-close:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.lightbox-caption {
    margin-top: 16px;
    padding: 12px 24px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 15px;
    text-align: center;
    max-width: 600px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.lightbox-nav:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.lightbox-nav svg {
    width: 24px;
    height: 24px;
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

/* Screenshot clickable */
.screenshot-image {
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.screenshot-image:hover {
    transform: scale(1.02);
}

.screenshot-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(139, 92, 246, 0);
    border-radius: var(--radius-sm);
    transition: background var(--transition-normal);
    pointer-events: none;
}

.screenshot-image:hover::after {
    background: rgba(139, 92, 246, 0.1);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-platforms {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-device-wrapper {
        max-width: 500px;
    }

    .mobile-preview {
        width: 120px;
        right: -20px;
        bottom: -20px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
        max-width: 100%;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 16px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 70px;
        right: 16px;
        width: 200px;
        height: auto;
        flex-direction: column;
        background: rgba(18, 18, 26, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        padding: 12px;
        gap: 4px;
        z-index: 999;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.2s ease;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    }

    .nav-links.mobile-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links a {
        padding: 12px 16px;
        border-radius: 8px;
        display: block;
        text-align: left;
        font-size: 15px;
        color: var(--text-secondary);
    }

    .nav-links a:hover,
    .nav-links a:active {
        background: rgba(139, 92, 246, 0.15);
        color: var(--text-primary);
    }

    .nav-links .nav-cta {
        margin-top: 4px;
        text-align: center;
        background: var(--gradient-primary);
        color: var(--text-primary) !important;
    }

    /* Overlay to close menu */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 998;
        background: transparent;
    }

    .mobile-menu-overlay.active {
        display: block;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .download-cards {
        grid-template-columns: 1fr;
    }

    .download-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }

    .screenshot-card {
        flex: 0 0 320px;
    }

    .screenshot-card.mobile {
        flex: 0 0 240px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-brand {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .download-card {
        padding: 32px 24px;
    }

    .download-note {
        flex-direction: column;
        text-align: center;
    }

    .download-note svg {
        margin: 0 auto;
    }
}

/* ===================================
   Lightbox (VK-style Gallery)
   =================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.95);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: opacity 0.15s ease, transform 0.15s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-caption {
    margin-top: 20px;
    padding: 16px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 14px;
    text-align: center;
    max-width: 600px;
    backdrop-filter: blur(10px);
}

.lightbox-caption strong {
    color: var(--text-primary);
    font-weight: 600;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
}

.lightbox-close:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--text-primary);
    transform: scale(1.05);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
}

/* Navigation buttons hidden - using VK-style click navigation instead */
.lightbox-nav {
    display: none !important;
}

/* Lightbox click zone indicators (subtle) */
.lightbox-content::before,
.lightbox-content::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 80px;
    /* Exclude caption area */
    width: 40%;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 5;
}

.lightbox-content::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.03), transparent);
}

.lightbox-content::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.03), transparent);
}

.lightbox-content:hover::before,
.lightbox-content:hover::after {
    opacity: 1;
}

/* Lightbox responsive */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95vw;
        max-height: 80vh;
    }

    .lightbox-content img {
        max-height: 65vh;
        border-radius: var(--radius-md);
    }

    .lightbox-caption {
        padding: 12px 20px;
        margin-top: 16px;
        font-size: 13px;
        max-width: 90%;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }

    .lightbox-close svg {
        width: 20px;
        height: 20px;
    }

    .lightbox-nav {
        width: 44px;
        height: 44px;
    }

    .lightbox-nav.prev {
        left: 10px;
    }

    .lightbox-nav.next {
        right: 10px;
    }

    .lightbox-nav svg {
        width: 22px;
        height: 22px;
    }
}