:root {
    --gradient-primary: linear-gradient(135deg, #5b3af3 0%, #3e54f1 100%);
    --gradient-light: linear-gradient(135deg, #F8F9FF 0%, #E8ECFF 100%);
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
}

/* Стили для подменю индустрий */
.industries-submenu {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 90px; /* Высота основного меню */
    z-index: 900;
    transition: transform 0.3s ease;
}

.industries-nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: center;
}

.industries-nav li {
    flex: 0 0 auto;
}

.industries-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
}

.industries-nav a i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #666;
    transition: color 0.3s ease;
}

.industries-nav a span {
    font-size: 0.9rem;
}

.industries-nav a:hover,
.industries-nav a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.industries-nav a:hover i,
.industries-nav a.active i {
    color: var(--primary-color);
}

.industries-container {
    width: 100%;
    max-width: 100%;
}

/* Медиа-запросы */
@media (max-width: 768px) {
    .industries-nav {
        padding: 0.5rem;
        justify-content: normal;
    }
    
    .industries-nav a {
        padding: 0.75rem 1rem;
    }
}

.nko-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #F8F9FF 0%, #E8ECFF 100%);
    position: relative;
    overflow: hidden;
}

.nko-hero__wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.nko-hero__content {
    flex: 1;
    max-width: 600px;
}

.nko-hero__content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 2.5rem;
}

.nko-stats {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.stat-item {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-text {
    font-size: 1.1rem;
    color: #666;
    flex: 1;
}

.nko-hero__cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.nko-hero__visual {
    flex: 1;
    position: relative;
}

.nko-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.nko-type {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nko-type:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.nko-type i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.nko-type span {
    display: block;
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
}

.nko-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
}

.nko-button--primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.nko-button--primary:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.nko-button--secondary {
    background: var(--white);
    color: var(--text-color);
    border: 1px solid rgba(0,0,0,0.1);
}

.nko-button--secondary:hover {
    background: var(--gradient-light);
    border-color: transparent;
}

@media (max-width: 992px) {
    .nko-hero__wrapper {
        flex-direction: column;
        gap: 3rem;
    }

    .nko-hero__content {
        max-width: 100%;
        text-align: center;
    }

    .nko-hero__cta {
        justify-content: center;
    }

    .stat-item {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .nko-hero {
        padding: 120px 0 60px;
    }

    .nko-hero__content h1 {
        font-size: 2.2rem;
    }

    .nko-types {
        grid-template-columns: 1fr;
    }

    .nko-hero__cta {
        flex-direction: column;
    }

    .nko-button {
        width: 100%;
        justify-content: center;
    }
}

.nko-problems {
    padding: 100px 0;
    background: var(--white);
}

.nko-problems__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.nko-problems__title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color);
}

.nko-problems__subtitle {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.6;
}

.nko-problems__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.nko-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    outline: none;
}

.nko-card:focus-visible {
    box-shadow: 0 0 0 3px var(--primary-color);
}

.nko-card__content {
    position: relative;
    height: 300px;
}

.nko-card__before,
.nko-card__after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: opacity 0.3s ease;
    background: var(--white);
}

.nko-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.nko-card__icon--problem {
    background: #FFE5E5;
    color: #FF4D4D;
}

.nko-card__icon--solution {
    background: #E5FFE5;
    color: #4CAF50;
}

.nko-card__icon i {
    font-size: 24px;
}

.nko-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.nko-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

.nko-card__progress {
    cursor: pointer;
    position: relative;
}

.nko-card__progress:after {
    content: 'Нажмите, чтобы увидеть решение';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: #666;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    margin-bottom: 5px;
}

.nko-card__progress:hover:after {
    opacity: 1;
}

.nko-card__slider {
    height: 100%;
    width: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nko-card:hover .nko-card__slider {
    width: 100%;
}

.nko-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.nko-card:active {
    transform: translateY(-2px);
}

.nko-card:hover .nko-card__icon {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .nko-problems {
        padding: 60px 0;
    }

    .nko-problems__title {
        font-size: 2rem;
    }

    .nko-problems__grid {
        grid-template-columns: 1fr;
    }

    .nko-card__content {
        height: 280px;
    }

    .nko-card__before,
    .nko-card__after {
        padding: 24px;
    }

    .nko-card h3 {
        font-size: 1.2rem;
    }

    .nko-card p {
        font-size: 0.95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nko-card,
    .nko-card__content,
    .nko-card__slider,
    .nko-card__icon {
        transition: none;
    }
}

.nko-cases {
    padding: 100px 0;
    background: var(--gradient-light);
}

.nko-cases__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.nko-cases__title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color);
}

.nko-cases__subtitle {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.6;
}

.nko-cases__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.nko-case {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nko-case:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.nko-case__org {
    margin-bottom: 30px;
}

.nko-case__prefix {
    display: inline-block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.nko-case__org h3 {
    font-size: 2.25rem;
    line-height: 1.2;
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nko-case__content p {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

.nko-case__metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.nko-metric {
    text-align: left;
}

.nko-metric__value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.nko-metric__value small {
    font-size: 1.5rem;
    font-weight: 600;
    opacity: 0.8;
}

.nko-metric__label {
    font-size: 1rem;
    color: #666;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .nko-cases__grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .nko-cases {
        padding: 60px 0;
    }

    .nko-cases__title {
        font-size: 2rem;
    }

    .nko-case {
        padding: 35px;
    }

    .nko-case__org h3 {
        font-size: 1.75rem;
    }

    .nko-case__content p {
        font-size: 1rem;
    }

    .nko-metric__value {
        font-size: 2rem;
    }

    .nko-metric__value small {
        font-size: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nko-case {
        transition: none;
    }
}

.nko-benefits {
    padding: 100px 0;
    background: var(--white);
}

.nko-benefits__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.nko-benefits__title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color);
}

.nko-benefits__subtitle {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.6;
}

.nko-benefits__bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nko-benefit {
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Добавим уникальные акценты для каждой карточки */
.nko-benefit--donations {
    background: linear-gradient(135deg, rgba(91, 58, 243, 0.03) 0%, rgba(91, 58, 243, 0.08) 100%);
}

.nko-benefit--audience {
    background: linear-gradient(135deg, rgba(62, 84, 241, 0.03) 0%, rgba(62, 84, 241, 0.08) 100%);
}

.nko-benefit--engagement {
    background: linear-gradient(135deg, rgba(91, 58, 243, 0.05) 0%, rgba(91, 58, 243, 0.1) 100%);
}

.nko-benefit--conversion {
    background: linear-gradient(135deg, rgba(62, 84, 241, 0.05) 0%, rgba(62, 84, 241, 0.1) 100%);
}

.nko-benefit:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.nko-benefit__icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.nko-benefit__icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.nko-benefit h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--text-color);
    font-weight: 600;
}

.nko-benefit__stats {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.nko-benefit__chart {
    flex: 1;
    height: 8px;
    background: var(--gradient-light);
    border-radius: 4px;
    overflow: hidden;
}

.nko-benefit__bar {
    height: 100%;
    width: var(--percentage);
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 1s ease-out;
}

.nko-benefit__value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 70px;
    text-align: right;
}

.nko-benefit p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .nko-benefits__bento {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .nko-benefits {
        padding: 60px 0;
    }

    .nko-benefits__title {
        font-size: 2rem;
    }

    .nko-benefit {
        padding: 30px;
    }

    .nko-benefit h3 {
        font-size: 1.25rem;
    }

    .nko-benefit__value {
        font-size: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nko-benefit {
        transition: none;
    }
}

/* Анимация появления полосок при скролле */
.nko-benefit.animate .nko-benefit__bar {
    width: var(--percentage);
}

.nko-benefit .nko-benefit__bar {
    width: 0;
}

/* Секция интеграции */
.nko-integration {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.nko-integration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(0,0,0,0) 0%, 
        rgba(0,0,0,0.1) 50%, 
        rgba(0,0,0,0) 100%
    );
}

.nko-integration .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.nko-integration .section-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color);
}

.nko-integration .section-description {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.6;
}

/* Timeline стилизация */
.integration-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 40px 0;
}

.integration-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 2px;
    background: var(--gradient-primary);
    opacity: 0.2;
}

.timeline-step {
    position: relative;
    padding-left: 120px;
    margin-bottom: 60px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-step__number {
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(var(--primary-rgb), 0.1);
}

.timeline-step__content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-step__content:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.timeline-step__icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.timeline-step__icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.timeline-step__content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 600;
}

.timeline-step__content p {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.timeline-step__details {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.timeline-step__details li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

.timeline-step__details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.6;
}

.timeline-step__duration {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 500;
}

.timeline-step__duration i {
    font-size: 16px;
    opacity: 0.8;
}

/* Адаптивность */
@media (max-width: 768px) {
    .nko-integration {
        padding: 60px 0;
    }

    .nko-integration .section-title {
        font-size: 2rem;
    }

    .integration-timeline::before {
        left: 30px;
    }

    .timeline-step {
        padding-left: 90px;
        margin-bottom: 40px;
    }

    .timeline-step__number {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }

    .timeline-step__content {
        padding: 30px;
    }

    .timeline-step__content h3 {
        font-size: 1.25rem;
    }

    .timeline-step__content p {
        font-size: 1rem;
    }
}

/* Поддержка reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .timeline-step__content {
        transition: none;
    }
}

.nko-cta {
    padding: 100px 0;
    background: var(--gradient-light);
    position: relative;
}

.nko-cta__wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 60px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.nko-cta__content {
    text-align: center;
    margin-bottom: 40px;
}

.nko-cta__title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 700;
}

.nko-cta__description {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.nko-cta__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    padding: 0;
    list-style: none;
}

.nko-cta__features li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
}

.nko-cta__features i {
    font-size: 24px;
    color: var(--primary-color);
    background: var(--gradient-light);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.feature-title {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.125rem;
}

.feature-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.nko-cta__action {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.nko-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-size: 1.125rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    width: 100%;
    max-width: 400px;
}

.nko-button--primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.nko-button--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nko-button--secondary {
    background: var(--white);
    color: var(--text-color);
    border: 1px solid rgba(0,0,0,0.1);
    text-decoration: none;
}

.nko-button--secondary:hover {
    background: var(--gradient-light);
}

/* Адаптивность */
@media (max-width: 768px) {
    .nko-cta {
        padding: 60px 0;
    }

    .nko-cta__wrapper {
        padding: 40px 20px;
    }

    .nko-cta__title {
        font-size: 2rem;
    }

    .nko-cta__features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nko-button {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .nko-button {
        transition: none;
    }
}

.nko-cta__note {
    font-size: 0.875rem;
    color: #666;
    margin-top: -15px;
    margin-bottom: 40px;
}

.nko-cta__note a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nko-cta__note a:hover {
    color: var(--primary-color-dark);
    text-decoration: underline;
}