/* ===== RESET & BASE ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #FFFFFF;
    color: #111827;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== КНОПКИ ===== */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: #2563EB;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #2563EB;
    transition: all 0.3s ease;
}

.btn-outline:hover,
.nav .btn-outline:hover {
    background: #2563EB;
    color: white;
}

.btn-small {
    display: inline-block;
    background: transparent;
    color: #2563EB;
    padding: 10px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid #2563EB;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background: #2563EB;
    color: white;
}

/* ===== ШАПКА ===== */
.header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1000;
    border-bottom: 1px solid #E5E7EB;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    font-weight: 800;
    color: #111827;
    text-decoration: none;
}

.logo .brand_mark{
    width: 36px;
    height: 36px;
    color: #1663C7;
    transform: translateY(-1px);
}

.logo .brand_text{
    font: 700 20px / 1 "Inter", system-ui, sans-serif;
    letter-spacing: -0.02em;
}

.logo .brand_text span {
    background: linear-gradient(135deg, #2563EB, #7C3AED);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}

.nav a {
    text-decoration: none;
    color: #4B5563;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover,
.nav a.active {
    color: #2563EB;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

/* ===== СЕКЦИИ ===== */
section {
    padding: 80px 0;
}

.section-light {
    background: #F0F4FF;
}

.section-white {
    background: white;
}

h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    color: #111827;
    margin-bottom: 24px;
}

h2 {
    font-size: 36px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 48px;
    text-align: center;
}

h3 {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 18px;
    color: #4B5563;
    margin-bottom: 32px;
    max-width: 600px;
}

.breadcrumbs {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 16px;
}

/* ===== СЕТКИ ===== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

.grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    align-items: start;
}

/* ===== КАРТОЧКИ ===== */
.stat-card {
    background: white;
    padding: 24px 16px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #2563EB;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #6B7280;
}

.service-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 32px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    margin: 20px 0;
}

.service-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4B5563;
}

.service-list li::before {
    content: "✓";
    color: #10B981;
    font-weight: bold;
}

/* ===== ТАРИФЫ ===== */
.pricing-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.popular {
    border: 2px solid #2563EB;
    transform: scale(1.02);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563EB;
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.price {
    font-size: 32px;
    font-weight: 800;
    color: #2563EB;
    margin: 16px 0 8px;
}

.duration {
    color: #6B7280;
    font-size: 14px;
    margin-bottom: 24px;
}

.price-tag {
    font-size: 24px;
    font-weight: 700;
    color: #2563EB;
    margin: 20px 0 16px;
}

/* ===== КЕЙСЫ ===== */
.case-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-6px);
}

.case-badge {
    height: 6px;
    width: 100%;
}

.case-badge.blue {
    background: #2563EB;
}

.case-badge.purple {
    background: #7C3AED;
}

.case-badge.green {
    background: #10B981;
}

.case-badge.orange {
    background: #F59E0B;
}

.case-content {
    padding: 24px;
}

.case-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.case-result {
    font-size: 28px;
    font-weight: 800;
    color: #2563EB;
    margin: 16px 0;
}

.case-desc {
    color: #6B7280;
    margin-bottom: 16px;
}

/* ===== AI-КАРТОЧКИ ===== */
.ai-card {
    background: #1E1B4B;
    padding: 32px;
    border-radius: 20px;
    color: white;
    transition: all 0.3s ease;
}

.ai-card:hover {
    transform: translateY(-8px);
}

.ai-card h3 {
    color: white;
}

.ai-card .service-list li {
    color: #C4B5FD;
}

.ai-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

/* ===== ПРОДУКТОВЫЙ БЛОК ===== */
.product-block {
    background: linear-gradient(135deg, #F0F4FF 0%, #E8EDF8 100%);
    border-radius: 32px;
    padding: 48px;
}

.product-badge {
    display: inline-block;
    background: #F59E0B;
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.check-list {
    list-style: none;
    margin: 24px 0;
}

.check-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.check-list li::before {
    content: "✓";
    color: #10B981;
    font-weight: bold;
    font-size: 18px;
}

/* ===== ФОРМА ===== */
.form-card {
    background: white;
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-note {
    font-size: 12px;
    color: #9CA3AF;
    text-align: center;
    margin-top: 20px;
}

.message-success {
    background: #10B981;
    color: white;
    padding: 12px;
    border-radius: 12px;
    margin-top: 20px;
    text-align: center;
}

.message-error {
    background: #EF4444;
    color: white;
    padding: 12px;
    border-radius: 12px;
    margin-top: 20px;
    text-align: center;
}

/* ===== HERO С 2 КОЛОНКАМИ ===== */
.hero-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-image {
    background: linear-gradient(135deg, #2563EB10 0%, #7C3AED10 100%);
    border-radius: 32px;
    /* min-height: 400px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== КОНТАКТЫ ===== */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: #F9FAFB;
    border-radius: 16px;
    margin-bottom: 16px;
}

.contact-icon {
    font-size: 32px;
}

.contact-details h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.contact-details a {
    color: #2563EB;
    text-decoration: none;
    font-weight: 500;
}

.contact-details p {
    color: #6B7280;
    font-size: 14px;
}

/* ===== ОБО МНЕ ===== */
.badge-group {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.badge-green {
    background: #10B981;
    color: white;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

.badge-blue {
    background: #2563EB;
    color: white;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    text-align: center;
}

.achievement {
    background: white;
    padding: 16px 8px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
}

.achievement span {
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.skill-item {
    background: #F3F4F6;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #E5E7EB;
}

.timeline-year {
    font-weight: 700;
    color: #2563EB;
    min-width: 120px;
}

.timeline-content h3 {
    margin-bottom: 8px;
}

.timeline-content p {
    color: #6B7280;
}

/* ===== ДОВЕРИТЕЛЬНЫЕ БЕЙДЖИ ===== */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.badge {
    background: white;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* ===== ТЕХ-СТЕК ===== */
.tech-stack {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tech-tag {
    background: white;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: #2563EB;
    border: 1px solid #E5E7EB;
}

/* ===== ФУТЕР ===== */
.footer {
    background: #111827;
    color: #9CA3AF;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    text-decoration: none;
}

.footer-logo .brand_mark{
    width: 28px;
    height: 28px;
    transform: translateY(-1px);
}

.footer-logo .brand_text span {
    background: linear-gradient(135deg, #2563EB, #7C3AED);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1F2937;
    font-size: 14px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1024px) {
    .grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
    .grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }

    .achievements-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    h1 {
        font-size: 44px;
    }

    h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {

    .grid-3,
    .grid-4,
    .grid-5,
    .grid-6,
    .grid-2,
    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .hero-two-columns {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    section {
        padding: 60px 0;
    }

    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .product-block {
        padding: 32px;
    }

    .form-card {
        padding: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .timeline-item {
        flex-direction: column;
        gap: 10px;
    }

    .timeline-year {
        min-width: auto;
    }
}

.nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    border-bottom: 1px solid #E5E7EB;
    z-index: 999;
}

.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #F0F4FF;
    padding: 8px 20px;
    border-radius: 40px;
    margin-bottom: 24px;
}

.partner-badge span {
    font-size: 24px;
}

.edition-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.edition-card.selected {
    border: 2px solid #2563EB;
    transform: scale(1.02);
    box-shadow: 0 20px 35px -10px rgba(37, 99, 235, 0.3);
}

.price-old {
    text-decoration: line-through;
    color: #9CA3AF;
    font-size: 14px;
    margin-right: 8px;
}

.price-sale {
    color: #10B981;
    font-size: 14px;
    font-weight: 600;
}

.messenger-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}

.messenger-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #F3F4F6;
    padding: 10px 20px;
    border-radius: 40px;
    text-decoration: none;
    color: #111827;
    font-weight: 500;
    transition: all 0.3s;
}

.messenger-link:hover {
    background: #2563EB;
    color: white;
    transform: translateY(-2px);
}

.calc-result {
    background: linear-gradient(135deg, #F0F4FF 0%, #E8EDF8 100%);
    border-radius: 20px;
    padding: 24px;
    margin-top: 32px;
    text-align: center;
}

@media (max-width: 768px) {
    .edition-card.selected {
        transform: scale(1);
    }
}

/* ===== СТАТИСТИКА В КЕЙСАХ (вариант 1: .case-stats .stat) ===== */
.case-stats {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.case-stats .stat {
    text-align: center;
    background: #F0F4FF;
    padding: 16px 28px;
    border-radius: 16px;
    min-width: 120px;
    flex: 1;
}

.case-stats .stat .number {
    font-size: 38px;
    font-weight: 800;
    color: #2563EB;
    display: block;
    line-height: 1.2;
}

.case-stats .stat .label {
    font-size: 14px;
    color: #6B7280;
    display: block;
    margin-top: 4px;
}

/* ===== СТАТИСТИКА В КЕЙСАХ (вариант 2: .case-stats-detail .stat-detail) ===== */
.case-stats-detail {
    display: flex;
    gap: 24px;
    margin: 24px 0 32px;
    flex-wrap: wrap;
}

.stat-detail {
    background: #F0F4FF;
    padding: 16px 24px;
    border-radius: 16px;
    text-align: center;
    flex: 1;
    min-width: 100px;
}

.stat-number-detail {
    font-size: 36px;
    font-weight: 800;
    color: #2563EB;
    line-height: 1.2;
    display: block;
}

.stat-detail .stat-label {
    font-size: 14px;
    color: #6B7280;
    margin-top: 4px;
    display: block;
}

/* ===== СПИСКИ (ul li) С ГАЛОЧКАМИ ДЛЯ СТРАНИЦЫ КЕЙСОВ ===== */
.case-detail ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 16px;
}

.case-detail ul li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: #4B5563;
    line-height: 1.5;
}

.case-detail ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    color: #10B981;
    font-weight: 700;
    font-size: 16px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
    .case-stats {
        flex-direction: column;
        gap: 12px;
    }

    .case-stats .stat {
        padding: 12px 16px;
        min-width: unset;
    }

    .case-stats .stat .number {
        font-size: 28px;
    }

    .case-stats-detail {
        flex-direction: column;
        gap: 12px;
    }

    .stat-detail {
        padding: 12px 16px;
        min-width: unset;
    }

    .stat-number-detail {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .case-stats .stat .number {
        font-size: 24px;
    }

    .stat-number-detail {
        font-size: 24px;
    }
}
.skills-list{
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
}
@media (max-width: 768px) {
    .skills-list{
        grid-template-columns: auto;
    }
}

/* ===== СТРАНИЦА ЛИЦЕНЗИЙ ===== */

.product-header {
    margin-bottom: 40px;
}

.product-header h2 {
    margin-bottom: 12px;
}

.footnote {
    background: #F9FAFB;
    padding: 20px 24px;
    border-radius: 16px;
    margin-top: 32px;
    border-left: 4px solid #2563EB;
}

.footnote p {
    margin: 0;
    color: #4B5563;
    font-size: 15px;
}

.footnote a {
    color: #2563EB;
    text-decoration: none;
    font-weight: 500;
}

.footnote a:hover {
    text-decoration: underline;
}

/* Адаптив для лицензий */
@media (max-width: 768px) {
    .product-header h2 {
        text-align: left;
    }
    
    .footnote {
        padding: 16px;
        font-size: 14px;
    }
}

/* ===== СТРАНИЦА РАСШИРЕНИЙ ===== */

.extension-block {
    background: white;
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    border: 1px solid #F0F4FF;
    transition: all 0.3s ease;
}

.extension-block:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.extension-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.extension-icon {
    font-size: 40px;
    min-width: 50px;
}

.extension-info h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.extension-info p {
    color: #6B7280;
    margin: 0;
}

.extension-prices {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F9FAFB;
    padding: 12px 16px;
    border-radius: 12px;
    gap: 12px;
    flex-wrap: wrap;
}

.price-label {
    font-size: 14px;
    color: #4B5563;
}

.price-value {
    font-size: 18px;
    font-weight: 700;
    color: #2563EB;
}

.price-row .btn-small {
    padding: 6px 16px;
    font-size: 13px;
}

.extension-note {
    margin-top: 16px;
    padding: 12px 16px;
    background: #F0F4FF;
    border-radius: 12px;
    font-size: 14px;
    color: #4B5563;
}

.extension-note strong {
    color: #111827;
}

/* Адаптив */
@media (max-width: 768px) {
    .extension-block {
        padding: 20px;
    }
    
    .extension-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .extension-prices {
        grid-template-columns: 1fr;
    }
    
    .price-row {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .price-value {
        font-size: 16px;
    }
}