/* Основные переменные */
:root {
    --primary-color: #4a6cf7;
    --secondary-color: #6c63ff;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --accent-color: #ff6b6b;
}

/* Основные стили */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    padding-top: 68px;
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
}

/* Навигация */
.navbar {
    background-color: var(--dark-color);
    transition: all 0.3s ease;
    padding: 10px 0;
}

.navbar.scrolled {
    padding: 8px 0;
}

.navbar-brand {
    font-weight: bold;
    color: white !important;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link {
    color: #fff !important;
    margin: 0 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    position: relative;
}

.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Герой секция с параллаксом */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(26, 26, 46, 0.7), rgba(26, 26, 46, 0.7)), url('/assets/images/hero-bg.jpg') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.container-hero {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container-hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.container-hero .logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    animation: pulse 2s infinite ease-in-out, rotate 4s linear infinite;
}

.container-hero .cta-button {
    background: #4F46E5;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    font-weight: bold;
}

.container-hero .cta-button:hover {
    background: #4338CA;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

a.cta-button{
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 10px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 10px;
    font-weight: 600;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--dark-color);
    transform: translateY(-3px);
}

/* Секция преимуществ */
.features {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    font-size: 2.5rem;
    color: var(--dark-color);
}

.section-title::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.feature-box {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Секция возможностей */
.capabilities {
    padding: 80px 0;
    background-color: white;
}

.capability-item {
    display: flex;
    margin-bottom: 40px;
    align-items: center;
}

.capability-icon {
    flex: 0 0 60px;
    aspect-ratio: 1 / 1;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
}

.capability-text h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

/* Секция тарифов */
.pricing {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.pricing-card {
    background: white;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
}

.pricing-card.featured .pricing-title {
    color: var(--primary-color);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.pricing-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.pricing-price span {
    font-size: 1rem;
    color: #666;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Секция FAQ */
.faq {
    padding: 80px 0;
    background-color: white;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.accordion-button {
    background-color: var(--dark-color);
    color: white;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
}

/* Секция CTA */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Форма заказа */
.order-form {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-control, .form-select {
    border-radius: 50px;
    padding: 12px 20px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 108, 247, 0.25);
}

/* Футер */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 0 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Стили для счетчиков */
.counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 15px 0;
}

.counter-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}


/* Текстовый блок */

.programming-languages {
    text-align: center;
    margin: 40px 0;
}

.languages-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.language-tag {
    padding: 8px 16px;
    background: var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.features-list li {
    background: #f8f9fa;
    border-left: 4px solid #0d6efd;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 0 0.5rem 0.5rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.features-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-left-color: #2563eb;
}

.features-list li strong {
    font-size: 1.1rem;
    color: #212529;
    display: block;
    margin-bottom: 0.5rem;
}

.features-list li p {
    margin: 0;
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
}

.features-list li:has(p) {
    min-height: auto;
}

.features-list li:not(:has(p)) {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
}

.features-list li:not(:has(p)) strong {
    margin: 0;
    font-size: 1rem;
}

.custom-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.custom-list li {
    position: relative;
    padding-left: 1.3rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: #495057;
}

.custom-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #0d6efd; /* синий цвет Bootstrap primary */
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #0d6efd; /* тонкая белая обводка для контраста */
}

.custom-list li:hover:before {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Форма DS */
.digiseller-buy-standalone{
    min-height: 800px;
}

/* */

/* Адаптивность */
@media (max-width: 768px) {

    .navbar-brand{
        font-size: 1.4rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .capability-item {
        flex-direction: column;
        text-align: center;
    }

    .capability-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .pricing-card.featured {
        transform: none;
    }
}
