:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #2ecc71;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --text-color: #495057;
    --light-text: #f8f9fa;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgcGF0dGVyblRyYW5zZm9ybT0icm90YXRlKDQ1KSI+PHJlY3QgaWQ9InBhdHRlcm4tYmFja2dyb3VuZCIgd2lkdGg9IjQwMCUiIGhlaWdodD0iNDAwJSIgZmlsbD0icmdiYSgyNTUsIDI1NSwgMjU1LCAwKSI+PC9yZWN0PiA8Y2lyY2xlIGZpbGw9InJnYmEoMjU1LCAyNTUsIDI1NSwgMC4wNSkiIGN4PSIyMCIgY3k9IjIwIiByPSIxIj48L2NpcmNsZT48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IGZpbGw9InVybCgjcGF0dGVybildIiBoZWlnaHQ9IjEwMCUiIHdpZHRoPSIxMDAlIj48L3JlY3Q+PC9zdmc+');
    opacity: 0.3;
}

.hero-section img.rounded-circle {
    border-radius: 50%;
    object-fit: cover;
    height: 100%;
    width: auto;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    font-weight: 700;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: var(--secondary-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 15px 0;
    color: var(--primary-color);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--accent-color);
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 20px; /* Отступ снизу */
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(52, 152, 219, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

.footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 60px 0 30px;
}

.footer p,
.footer h3,
.footer .text-muted {
    color: var(--light-text) !important;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon i {
    font-size: 1.2rem;
    line-height: 1;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    color: white;
    text-decoration: none;
}

/* Общий контейнер для навигации */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 0.5rem 0 0 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1040;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Переключатель версий */
.version-switcher {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.version-buttons {
    display: flex;
    gap: 0;
    padding-left: 1rem;
}

.version-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid #e0e0e0;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    background: #f8f9fa;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    top: 1px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.version-btn i {
    font-size: 1.2rem;
}

.version-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: none;
    transform: none;
}

.version-btn:hover {
    background: rgba(52, 152, 219, 0.1);
    color: var(--primary-color);
    transform: none;
}

.version-btn.active:hover {
    background: var(--primary-color);
    color: white;
}

/* Navbar styles */
.navbar {
    transition: all 0.3s ease;
    padding: 0;
    position: static;
    background-color: transparent;
    margin-right: 1rem;
}

.navbar.scrolled {
    background-color: transparent !important;
    box-shadow: none;
}

.navbar.scrolled .navbar-brand,
.navbar.scrolled .nav-link {
    color: var(--primary-color) !important;
}

.navbar.scrolled .nav-link:hover {
    color: var(--secondary-color) !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    color: var(--primary-color);
    border-radius: 4px;
}

.nav-link:hover {
    color: var(--secondary-color);
    background: rgba(52, 152, 219, 0.1);
}

.nav-link.active {
    color: var(--secondary-color);
    background: rgba(52, 152, 219, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    opacity: 0;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 30px;
    opacity: 1;
}

/* Стили для мобильной версии */
@media (max-width: 991.98px) {
    .nav-container {
        padding: 0.5rem 0 0 0;
    }

    .version-buttons {
        padding-left: 0.5rem;
    }

    .version-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .version-btn i {
        font-size: 1.2rem;
        margin-right: 0.5rem;
    }

    .navbar {
        margin-right: 0.5rem;
    }

    .navbar-collapse {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: white;
        padding: 1rem;
        border-radius: 8px;
        margin: 0.5rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .navbar .nav-link {
        color: var(--primary-color);
        padding: 0.75rem 1rem;
        margin: 0.25rem 0;
        border-radius: 4px;
        display: block;
    }

    .navbar .nav-link:hover {
        color: var(--secondary-color);
        background: rgba(52, 152, 219, 0.1);
    }

    .navbar .nav-link.active {
        color: var(--secondary-color);
        background: rgba(52, 152, 219, 0.1);
    }

    .navbar-toggler {
        padding: 0.5rem;
        border: none;
        outline: none !important;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }
}

.feature-box {
    padding: 40px 20px;
    text-align: center;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.avatar-wrapper {
    width: 100%;
    height: 100%;
    max-width: 400px;  /* Увеличено с 200px */
    max-height: 400px; /* Увеличено с 200px */
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-wrapper img {
    width: 100%;
    height: auto;
}

/* Сброс стилей Bootstrap для ссылок */
a {
    text-decoration: none;
    border: none !important;
    outline: none !important;
}

a:focus, 
button:focus,
.btn:focus {
    box-shadow: none !important;
}

.nav-link,
.navbar .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0;
    border: none !important;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    opacity: 0;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 30px;
    opacity: 1;
}

.navbar.scrolled .nav-link {
    color: var(--primary-color);
}

/* Обновляем стили для footer ссылок */
.footer a {
    color: var(--light-text);
    transition: color 0.3s ease;
    padding: 0.25rem 0;
    display: inline-block;
}

.footer a:hover {
    color: var(--secondary-color);
}

/* Стили для секции прототипирования */
.prototype-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.prototype-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(var(--secondary-color), var(--accent-color));
    transition: all 0.5s ease;
}

.prototype-card:hover::before {
    height: 100%;
}

.prototype-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 15px 0;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.prototype-card p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.prototype-icon {
    position: relative;
    z-index: 1;
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(46, 204, 113, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.prototype-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.prototype-card:hover .prototype-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.2), rgba(46, 204, 113, 0.2));
}

.prototype-card:hover .prototype-icon i {
    color: var(--accent-color);
}

.prototype-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Стили для выделения болей клиентов */
.pain-point {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-block;
    margin-bottom: 5px;
    position: relative;
}

.pain-point::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
}

/* Стили для секции примеров прототипов */
.example-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.example-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.example-img-wrapper {
    position: relative;
    overflow: hidden;
}

.example-img-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.emoji-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.15), rgba(52, 152, 219, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: var(--secondary-color);
    transition: all 0.5s ease;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.example-card:hover .emoji-placeholder {
    transform: scale(1.05);
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.2), rgba(52, 152, 219, 0.3));
}

.example-card:hover .example-img-wrapper img {
    transform: scale(1.05);
}

.example-time-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.example-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.example-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.example-content p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 15px;
    flex-grow: 1;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 15px;
}

.tech-badge {
    display: inline-block;
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background-color: rgba(52, 152, 219, 0.2);
    transform: translateY(-2px);
}

.btn-sm.btn-outline-primary {
    border: 1px solid var(--secondary-color) !important;
    color: var(--secondary-color);
    border-radius: 20px;
    padding: 6px 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-sm.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2) !important;
}

/* Стили для карточек обучения и развития персонала */
.training-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.training-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.training-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.training-icon i {
    font-size: 1.8rem;
    color: white;
}

.training-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.training-card p {
    color: var(--text-color);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Корректировка отступов для секций с учетом навбара */
section {
    padding-top: 80px;
}

/* Стили для версии технического специалиста */
#tech-version .navbar {
    background-color: transparent;
}

#tech-version .navbar.scrolled {
    background-color: transparent !important;
}

#tech-version .navbar.scrolled .navbar-brand,
#tech-version .navbar.scrolled .nav-link {
    color: var(--primary-color) !important;
}

#tech-version .navbar.scrolled .nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Стили для технической версии */
.career-path-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.career-path-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.career-path-card h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.career-path-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.career-path-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-color);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.career-path-list li:last-child {
    border-bottom: none;
}

.career-path-list li::before {
    content: "→";
    color: var(--primary-color);
    font-weight: bold;
}

.skill-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.skill-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.skill-card h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.skill-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-color);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-list li:last-child {
    border-bottom: none;
}

.skill-list li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
}

/* Общие стили для секций технической версии */
#tech-services .service-card,
#tech-path .career-path-card,
#tech-skills .skill-card {
    margin-bottom: 1.5rem;
}

/* Стили для отзывов в технической версии */
#tech-testimonials .testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

#tech-testimonials .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

#tech-testimonials .testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

#tech-testimonials .testimonial-author {
    color: var(--primary-color);
    font-weight: 500;
    margin: 0;
}

/* Стили для формы в технической версии */
#tech-contact .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

#tech-contact .form-control {
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

#tech-contact .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

#tech-contact .btn-primary {
    padding: 1rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

#tech-contact .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}
