/* Базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f1115; /* Темный фон */
    color: #e2e8f0;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Навигация */
header {
    padding: 20px 0;
    border-bottom: 1px solid #1f2229;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.logo span {
    color: #3b82f6; /* Синий акцент */
}

nav a {
    color: #94a3b8;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 400;
    transition: color 0.3s;
}

nav a:hover {
    color: #fff;
}

/* Главный экран */
.hero {
    padding: 120px 0;
    background: radial-gradient(circle at 50% 0%, #1e293b 0%, #0f1115 70%);
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 18px;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.btn {
    display: inline-block;
    background-color: #3b82f6;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #2563eb;
}

/* Секции */
section {
    padding: 80px 0;
}

h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
}

/* Сетка услуг */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background-color: #1a1d24;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #2d333b;
    transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
}

.card .icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.card p {
    color: #94a3b8;
    font-size: 15px;
}

/* Портфолио */
.portfolio {
    background-color: #12151a;
}

.portfolio-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1a1d24;
    padding: 40px;
    border-radius: 12px;
    margin-top: 20px;
    border: 1px solid #2d333b;
}

.portfolio-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.portfolio-info p {
    color: #94a3b8;
    margin-bottom: 20px;
}

.tag {
    display: inline-block;
    background-color: #1e293b;
    color: #3b82f6;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 5px;
}

.portfolio-image {
    font-size: 80px;
}

/* Контакты */
.contact {
    text-align: center;
}

.contact p {
    color: #94a3b8;
    margin-bottom: 30px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #1a1d24;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #2d333b;
    transition: all 0.3s;
}

.contact-btn:hover {
    border-color: #3b82f6;
    background-color: #1e293b;
}

/* Подвал */
footer {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #1f2229;
    color: #64748b;
    font-size: 14px;
}

/* Адаптив для телефонов */
@media (max-width: 768px) {
    nav {
        display: none; /* Скрываем меню на мобилках для простоты */
    }
    .hero h1 {
        font-size: 32px;
    }
    .portfolio-item {
        flex-direction: column;
        text-align: center;
    }
    .portfolio-image {
        margin-top: 20px;
    }
}