/* ============================================ */
/* СТРАНИЦА "ВОЗМОЖНОСТИ" (features.html) */
/* ============================================ */

/* --- ГЕРОЙ С IFRAME (фиксированная панорама) --- */
.features-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-iframe-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}

.hero-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(0px);
    z-index: 1;
}

.features-hero .container {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 40px 20px;
}

.features-hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
	 font-weight: 500;
}

.features-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* --- БЛОКИ С ВОЗМОЖНОСТЯМИ --- */
.feature-block {
    position: relative;
    z-index: 3;
    //background: var(--bg-dark);
	//background: radial-gradient(circle at 80% 10%, rgba(237,102,24,0.15) 0%, #141e29 70%);
	background: linear-gradient(90deg, #141e29 50%, rgba(112, 65, 38,0.8) 100%);
	backdrop-filter: blur(5px);
    //padding: 60px 0;
   // border-bottom: 1px solid rgba(255,255,255,0.1);
}

.feature-block:last-child {
    border-bottom: none;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
	padding: 60px 0;
	 border-bottom: 1px solid rgba(255,255,255,0.1);
}

.feature-text h2 {
    font-size: 2.0rem;
	font-weight: 500;
    margin-bottom: 20px;
    color: #ffffff;
}

.feature-text p {
    color: #94a3b8; 
	font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 8px 0;
	font-size: 1.2rem;
    padding-left: 24px;
    position: relative;
    color: #cbd5e1;
}

.feature-list span {
     font-size: 1.0rem;
	 font-style: italic;
    color: #475569;
}


.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ed6618;
    font-weight: bold;
}

.feature-screenshot {
    background: rgba(255,255,255,0.03);
    border-radius: 24px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.08);
}

.screenshot-wrapper {
    position: relative;
    width: 100%;
	 
} 

.screenshot-wrapper img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

.screenshot-wrapper2 {
    position: relative;
    width: 100%;
	 
}

.screenshot-wrapper2 img {
    width: 100%;
    border-radius: 16px;
    display: block;
}



.demo-link {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange-color);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    text-decoration: none;
	font-size: 16px; 
    font-weight: 300;
    transition: background 0.2s;
    z-index: 2;
}

.demo-link:hover {
    background: #b44a0c;
}

.screenshot-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    //background: rgba(0,0,0,0);
	background: rgba(0,0,0,0.2);
    border-radius: 16px;
    transition: background 0.3s;
    pointer-events: none;
}

.screenshot-wrapper:hover::after {
    background: rgba(0,0,0,0.0);
}

/* --- АДАПТАВНОСТЬ --- */
@media (max-width: 768px) {
    .features-hero h1 {
        font-size: 1.8rem;
    }
    
    .features-hero p {
        font-size: 1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .feature-block {
        padding: 40px 0;
    }
    
    .feature-text h2 {
        font-size: 1.4rem;
    }
    
    .demo-link {
        padding: 8px 18px;
        font-size: 0.9rem;
    }
}



 /* ============================================ */
/* БЫСТРАЯ НАВИГАЦИЯ */
/* ============================================ */
 


/* Базовые стили (ПК) */
.quick-nav {
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 16px 0;
    position: sticky;
    top: 60px;
    z-index: 5;
    backdrop-filter: blur(10px);
}

.container-nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}


.container-nav img {
    width: auto;
    height: 20px;
    display: block;
}


.quick-nav-link {
    display: inline-flex;  /* меняем с inline-block на inline-flex */
    align-items: center;   /* центрируем иконку и текст по вертикали */
    gap: 10px;             /* отступ 10px между иконкой и текстом */
    padding: 8px 18px;
    background: rgba(255,255,255,0.05);
    border-radius: 40px;
    color: var(--text-link);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap;
}

.quick-nav-link img {
    width: auto;
    height: 20px;
    display: block;  /* убирает лишние отступы у картинки */
}

.quick-nav-link:hover {
   // background: var(--orange-color, #ed6618);
    border-color: var(--orange-color, #ed6618);
    transform: translateY(-2px);
	//color: var(--bg-updrak);
}

/* ========== МОБИЛЬНЫЕ (горизонтальный скролл) ========== */
@media (max-width: 768px) {
    .quick-nav {
        padding: 6px 0 10px 0;
        top: 45px;
    }
    
    .container-nav {
        flex-wrap: nowrap;           /* Запрещаем перенос */ 
        justify-content: flex-start; /* Прижимаем влево */
        gap: 10px;
        padding: 0 16px; 
    }
    
    .quick-nav-link {
        flex-shrink: 0;              /* Не сжимаем */
        padding: 6px 14px;
        font-size: 0.75rem;
    }
    
    /* Скрываем полосу прокрутки (опционально) */
    .container-nav::-webkit-scrollbar {
        display: none;
    }
    
   
}
 
/* прокрутка */
@media (max-width: 768px) {
    .quick-nav {
        scrollbar-width: thin;           /* Тонкая полоса для Firefox */
        -ms-overflow-style: auto;      
		overflow-x: auto;            /* Включаем горизонтальный скролл */
        overflow-y: hidden;
		-webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
    }
    
    /* Chrome, Safari, Edge */
    .quick-nav::-webkit-scrollbar {
        height: 1px;                     /* Толщина полосы */
    }
    
    .quick-nav::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);  /* Дорожка */
        border-radius: 2;
    }
    
    .quick-nav::-webkit-scrollbar-thumb {
        background: var(--orange-color, #ed6618);   /* Оранжевая полоса */
        border-radius: 2;
    }
}









 
 
.card2 {
    background: rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 32px 24px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.card2:hover {
    //transform: translateY(-5px);
    background: rgba(255,255,255,0.08);
    border-color: rgba(237, 102, 24, 0.5);
}