/*
Theme Name: Chromitech
Theme URI: https://your-site.com
Author: Your Name
Author URI: https://your-site.com
Description: Полноценная тема для каталога приложений Android
Version: 1.0
Text Domain: chromitech
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* { margin:0; padding:0; box-sizing:border-box; }

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: #1e2937;
    line-height: 1.7;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== HEADER ==================== */
.site-header {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
}

.logo {
    font-size: 30px;
    font-weight: 700;
    color: #4f7cff;
    letter-spacing: -0.5px;
}

.menu {
    display: flex;
    gap: 38px;
}

.menu a {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    font-size: 15.5px;
}

.menu a:hover {
    color: #1e2937;
}

.hamburger {
    display: none;
    font-size: 32px;
    color: #64748b;
    cursor: pointer;
}

/* ==================== SEARCH ==================== */
.search {
    padding: 22px 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.search-container {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.search input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 20px;
}

/* ==================== HERO ==================== */
.hero {
    text-align: center;
    padding: 70px 0 40px;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 12px;
}

.hero p {
    color: #64748b;
    max-width: 620px;
    margin: 0 auto;
}

/* Категории */
.cat-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 25px;
}

.cat-nav a {
    padding: 9px 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    font-size: 14px;
    color: #1e2937;
    text-decoration: none;
}

.cat-nav a:hover {
    border-color: #4f7cff;
    color: #4f7cff;
}

/* ==================== ОБЩИЕ СЕКЦИИ ==================== */
.section {
    padding: 70px 0;
}

.section h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 35px;
    color: #0f172a;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s;
}

.card:hover {
    border-color: #4f7cff;
    transform: translateY(-6px);
}

/* ==================== СПИСОК ПРИЛОЖЕНИЙ ==================== */
.app-list {
    max-width: 740px;
    margin: 0 auto;
}

.app-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid #e2e8f0;
}

.app-item:last-child {
    border-bottom: none;
}

.app-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
}

.app-info h3 {
    font-size: 16.5px;
    margin-bottom: 5px;
}

.meta {
    font-size: 13.5px;
    color: #f59e0b;
}

.app-btn {
    margin-left: auto;
    background: #4f7cff;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.app-btn:hover {
    background: #3b63e0;
}

/* FOOTER */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0 30px;
    text-align: center;
    font-size: 14.5px;
}

/* MOBILE */
@media (max-width: 768px) {
    .menu { display: none; }
    .hamburger { display: block; }
    .hero h1 { font-size: 32px; }
}