:root {
    /* Palette - Deep Blue Tech Theme */
    --primary: #3b82f6;
    /* Основной синий */
    --primary-glow: #60a5fa;
    /* Свечение */
    --dark-bg: #0b1121;
    /* Очень темный фон */
    --card-bg: #151e32;
    /* Фон карточек */
    --text-main: #ffffff;
    --text-muted: #94a3b8;

    --radius: 16px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- HEADER --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    background: rgba(11, 17, 33, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header__logo {
    height: 48px;
    width: auto;
    border-radius: 8px;
    /* Скругляем углы картинки */
}

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

.nav__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--primary-glow);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 99px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.6);
}

.btn--outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

.btn--outline:hover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
}

/* --- HERO --- */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

/* Фоновый градиент */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
}

.hero__content {
    max-width: 800px;
}

.hero__label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 30px;
    color: var(--primary-glow);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero__title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(90deg, #ffffff, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero__actions {
    display: flex;
    gap: 16px;
}

/* --- SERVICES --- */
.section {
    padding: 100px 0;
}

.section__header {
    margin-bottom: 60px;
}

.section__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

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

.card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card__icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    color: var(--primary);
}

.card__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.card__text {
    font-size: 15px;
    color: var(--text-muted);
}

/* --- TECH STACK (Marquee style or grid) --- */
.tech-tag {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 8px 8px 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 14px;
    color: #e2e8f0;
}

/* --- FORM SECTION --- */
.contact-section {
    background: linear-gradient(180deg, var(--dark-bg) 0%, #0f1629 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.form-box {
    background: #131c31;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.input-group {
    margin-bottom: 20px;
}

.input-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.input-field {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 14px 16px;
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: var(--transition);
}

.input-field:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

textarea.input-field {
    resize: vertical;
    min-height: 100px;
}

.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 80px;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 24px 0;
}

.checkbox-wrapper input {
    margin-top: 4px;
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-wrapper label {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.4;
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero__title {
        font-size: 40px;
    }

    .form-wrapper {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
    }

    /* Mobile menu needed logic, simplified here */
}