@font-face {
    font-family: 'UKIJ Ekran';
    src: url('ukij_ekran.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

:root {
    --primary-purple: #8b5cf6;
    --primary-orange: #f97316;
    --primary-green: #22c55e;
    --primary-red: #ef4444;
    --primary-blue: #3b82f6;
    --primary-gold: #eab308;
    --primary-pink: #ec4899;
    --primary-cyan: #06b6d4;
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
}

body {
    font-family: 'UKIJ Ekran', 'Noto Sans SC', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    direction: rtl;
}

/* 动态背景 */
.bg-animated {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
    overflow: hidden;
}

.bg-animated::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
    animation: bgMove 20s ease-in-out infinite;
}

@keyframes bgMove {

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

    33% {
        transform: translate(5%, 5%) rotate(1deg);
    }

    66% {
        transform: translate(-5%, -5%) rotate(-1deg);
    }
}

/* 粒子效果 */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(139, 92, 246, 0.6);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {

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

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(139, 92, 246, 0.2);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #8b5cf6, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6, #f97316);
    transition: width 0.3s ease;
}

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

.nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary-purple);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 50%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    animation: fadeInUp 1s ease 0.6s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #8b5cf6, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Products Section */
.products-section {
    padding: 100px 20px;
    position: relative;
}

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

.section-header h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.product-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(249, 115, 22, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
}

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

.product-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 20px;
    object-fit: cover;
    position: relative;
    z-index: 1;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.product-card.purple .product-icon {
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.product-card.orange .product-icon {
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4);
}

.product-card.green .product-icon {
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
}

.product-card.red .product-icon {
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
}

.product-card.blue .product-icon {
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.product-card.gold .product-icon {
    box-shadow: 0 10px 30px rgba(234, 179, 8, 0.4);
}

.product-card.pink .product-icon {
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.4);
}

.product-card.cyan .product-icon {
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
}

/* 产品标签 */
.product-label {
    display: block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 12px;
    margin-top: 8px;
    margin-bottom: 15px;
    text-align: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.product-label.developing {
    background: rgba(249, 115, 22, 0.2);
    border: 1px solid rgba(249, 115, 22, 0.4);
    color: #f97316;
}

/* 开发中提示 */
.developing-notice {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.developing-notice .icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.product-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.product-card.purple .product-name {
    color: var(--primary-purple);
}

.product-card.orange .product-name {
    color: var(--primary-orange);
}

.product-card.green .product-name {
    color: var(--primary-green);
}

.product-card.red .product-name {
    color: var(--primary-red);
}

.product-card.blue .product-name {
    color: var(--primary-blue);
}

.product-card.gold .product-name {
    color: var(--primary-gold);
}

.product-card.pink .product-name {
    color: var(--primary-pink);
}

.product-card.cyan .product-name {
    color: var(--primary-cyan);
}

.product-desc {
    color: var(--text-secondary);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.tag {
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(139, 92, 246, 0.2);
    color: var(--text-primary);
}

.product-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-orange));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    border: none;
    cursor: pointer;
    margin-right: 10px;
}

.product-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.product-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.website-link {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.website-link:hover {
    border-color: var(--primary-purple);
    color: var(--text-primary);
    background: rgba(139, 92, 246, 0.1);
}

/* Download Channels */
.download-channels {
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.channel-section {
    margin-bottom: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 12px;
}

.channel-title {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
}

/* 移动端下载按钮容器 - 强制单行显示 */
.channel-grid.download-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.channel-grid.download-buttons .channel-item {
    flex: 1;
    min-width: 120px;
    max-width: 160px;
}

.channel-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 8px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.channel-item:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.channel-qrcode {
    width: 60px;
    height: 60px;
    margin: 0 auto 6px;
    border-radius: 6px;
    background: white;
    padding: 3px;
}

.channel-qrcode img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.channel-name {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.channel-item.button-only {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.channel-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.channel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

/* 移动端下载按钮样式 - 科技感风格 */
.channel-btn.download-primary {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(30, 30, 50, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 10px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.channel-btn.download-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.channel-btn.download-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.channel-btn.download-primary:hover::before {
    left: 100%;
}

/* 安卓按钮 */
.channel-btn.download-android {
    border-color: rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(20, 60, 40, 0.9) 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 20px rgba(16, 185, 129, 0.1);
}

.channel-btn.download-android:hover {
    border-color: rgba(16, 185, 129, 0.8);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 30px rgba(16, 185, 129, 0.3);
}

/* 苹果按钮 */
.channel-btn.download-ios {
    border-color: rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(30, 30, 60, 0.9) 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 20px rgba(99, 102, 241, 0.1);
}

.channel-btn.download-ios:hover {
    border-color: rgba(99, 102, 241, 0.8);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 30px rgba(99, 102, 241, 0.3);
}

/* 平台图标 */
.channel-btn .platform-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

.channel-btn span {
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

/* 其他平台按钮样式 - 紧凑型 */
.channel-btn.platform-only {
    padding: 6px 10px;
    font-size: 0.7rem;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.channel-btn.platform-only .platform-icon {
    width: 16px;
    height: 16px;
}

.channel-btn.platform-only span {
    font-size: 0.65rem;
}

/* 其他平台网格 - 换行显示 */
.channel-grid.platform-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.channel-grid.platform-grid .channel-item {
    flex: 1;
    min-width: 100%;
}

.channel-btn.secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 官方渠道 - 现代化样式 */
.official-channels-compact {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 5px;
}

.official-channel-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(249, 115, 22, 0.1));
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.official-channel-icon:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(249, 115, 22, 0.2));
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.official-channel-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.official-channel-icon:hover::before {
    opacity: 1;
}

.official-channel-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.official-channel-icon:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.official-channel-icon .tooltip {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.official-channel-icon:hover .tooltip {
    opacity: 1;
}

/* 图标弹窗 */
.channel-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.channel-popup.active {
    display: flex;
}

.channel-popup-content {
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    max-width: 400px;
    animation: modalZoom 0.3s ease;
}

.channel-popup-qrcode {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    background: white;
    padding: 10px;
    border-radius: 10px;
}

.channel-popup-qrcode img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.channel-popup-title {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.channel-popup-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.channel-popup-close {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-orange));
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 20px;
    font-family: 'UKIJ Ekran', 'Noto Sans SC', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.channel-popup-close:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.4);
}

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

/* App Screenshots */
.product-screenshots {
    margin-top: 25px;
    position: relative;
    z-index: 1;
}

.screenshots-title {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-weight: 500;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.screenshot-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 9/16;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.screenshot-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
    z-index: 10;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 400px;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    animation: modalZoom 0.3s ease;
}

@keyframes modalZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* يۇمشاق دىتال ئىچىش مودۇلى */
.custom-dev-section {
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.custom-dev-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(249, 115, 22, 0.05));
    z-index: 0;
}

.custom-dev-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.custom-dev-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(249, 115, 22, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary-purple);
    margin-bottom: 20px;
}

.custom-dev-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 50%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.custom-dev-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.custom-dev-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.custom-dev-cta {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #8b5cf6, #f97316);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.custom-dev-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
}

/* Footer */
.footer {
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #8b5cf6, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.footer-logo-image {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-info {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-company {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-beian {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-beian a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-beian a:hover {
    color: var(--primary-purple);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .screenshots-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .screenshot-item {
        border-radius: 8px;
    }

    .product-buttons {
        flex-direction: column;
    }

    .product-btn,
    .website-link {
        width: 100%;
        text-align: center;
    }

    .modal-content {
        max-width: 85vw;
    }

    .channel-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .channel-qrcode {
        width: 70px;
        height: 70px;
    }

    .channel-name {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .product-icon {
        width: 60px;
        height: 60px;
    }

    .product-name {
        font-size: 1.5rem;
    }

    .screenshots-grid {
        gap: 6px;
    }

    .product-btn,
    .website-link {
        padding: 10px 20px;
    }

    .channel-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .channel-qrcode {
        width: 60px;
        height: 60px;
    }

    .channel-name {
        font-size: 0.7rem;
    }

    .channel-btn {
        font-size: 0.75rem;
        padding: 8px 12px;
    }
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b5cf6, #f97316);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}