/* style.css - DARK THEME */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.7;
    color: #e0e0e0;
    background: #0f0f0f;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    padding: 110px 0 90px;
    text-align: center;
}

.logo {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #00d4ff;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.subtitle, .section-desc {
    font-size: 1.25rem;
    margin-bottom: 35px;
    opacity: 0.9;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.search-box {
    max-width: 720px;
    margin: 0 auto 35px;
    display: flex;
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.15);
    border-radius: 50px;
    overflow: hidden;
    background: #1e1e2e;
}

.search-box input {
    flex: 1;
    padding: 20px 30px;
    border: none;
    font-size: 1.15rem;
    background: transparent;
    color: white;
}

.search-box button {
    padding: 0 45px;
    background: #00d4ff;
    color: #0f0f0f;
    border: none;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.1rem;
}

/* Trust badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 1.05rem;
}

/* Sections */
section {
    padding: 80px 0;
}

h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.section-desc {
    text-align: center;
    color: #aaaaaa;
}

/* Cards */
.cat-grid, .software-grid, .guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.cat-card {
    background: #1e1e2e;
    padding: 28px 20px;
    border-radius: 16px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: #00d4ff;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: all 0.3s;
}

.cat-card:hover {
    transform: translateY(-10px);
    background: #25253a;
}

.software-card {
    background: #1e1e2e;
    padding: 22px;
    border-radius: 16px;
    display: flex;
    gap: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.download-btn {
    display: inline-block;
    background: #00d4ff;
    color: #0f0f0f;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    margin-top: 12px;
    font-weight: bold;
    transition: all 0.3s;
}

.download-btn:hover {
    background: #00ffaa;
}

/* Feature cards */
.feature {
    background: #1e1e2e;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

footer {
    background: #0a0a0a;
    color: #888;
    text-align: center;
    padding: 50px 0;
    font-size: 0.95rem;
}

/* Адаптив */
@media (max-width: 768px) {
    h1 { font-size: 2.4rem; }
    .hero { padding: 80px 0 60px; }
}
/* Latest Guides */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.guide-card {
    background: #1e1e2e;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: all 0.3s;
}

.guide-card:hover {
    transform: translateY(-8px);
}

.guide-card h3 {
    margin-bottom: 12px;
    font-size: 1.35rem;
    line-height: 1.3;
}

.guide-card p {
    color: #bbbbbb;
    margin-bottom: 18px;
}

.read-more {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}
/* NAVBAR */
.navbar {
    background: #0a0a0a;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #1e1e2e;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #00d4ff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-menu a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #00d4ff;
}

.nav-right {
    font-size: 1.4rem;
}

.nav-search {
    color: #e0e0e0;
    text-decoration: none;
    padding: 8px 12px;
}

/* Мобильная версия меню */
@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Можно позже добавить hamburger */
    }
    
    .logo {
        font-size: 1.6rem;
    }
}
/* SOFTWARE CARDS - Унифицированные изображения */
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.software-card {
    background: #1e1e2e;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: all 0.3s;
}

.software-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.15);
}

/* УНИФИЦИРОВАННЫЙ БЛОК ДЛЯ ИЗОБРАЖЕНИЙ */
.software-card img {
    width: 80px;           /* фиксированная ширина */
    height: 80px;          /* фиксированная высота */
    object-fit: contain;   /* полностью видно логотип без обрезки */
    background: #2a2a3a;
    border-radius: 12px;
    padding: 8px;
    flex-shrink: 0;        /* не сжимается */
    border: 2px solid #333;
}

/* Если хочешь более современный вид с обрезкой (как на твоём скриншоте) */
.software-card img.cover {
    object-fit: cover;     /* обрезает по центру, заполняя квадрат */
}

/* Текстовый блок */
.software-card > div {
    flex: 1;
    min-width: 0;
}

.software-card h3 {
    margin: 0 0 8px 0;
    font-size: 1.25rem;
}

.software-card p {
    font-size: 0.98rem;
    color: #bbbbbb;
    margin-bottom: 12px;
    line-height: 1.5;
}

.rating {
    color: #ffd700;
    font-size: 1.1rem;
    margin-right: 10px;
}

.version {
    color: #00d4ff;
    font-size: 0.9rem;
}

.download-btn {
    background: #00d4ff;
    color: #0f0f0f;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: bold;
    margin-top: 10px;
    display: inline-block;
    text-decoration: none;
}

.download-btn:hover {
    background: #00ffaa;
    transform: scale(1.05);
}