:root {
    --primary-color: #0E0921;
    --accent-pink: #E91E63;
    --accent-blue: #174EA6;
}

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

body {
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    background-color: var(--primary-color);
    color: white;
    cursor: url('pointer.cur'), auto;
}

h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 400;
}

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

/* Hero секция */
.hero {
    text-align: center;
    padding: 80px 0;
}

.logo-section {
    margin-bottom: 40px;
}

.logo-title {
    font-family: 'Oswald', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--accent-pink), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info {
    text-align: right;
    margin-bottom: 40px;
}

.contact-info a {
    color: var(--accent-pink);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 40px;
}

/* Что мы делаем секция */
.what-we-do {
    padding: 20px 0 40px;
}

.what-we-do h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 40px;
    margin-top: 0;
    font-weight: 400;
    text-transform: uppercase;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-item {
    border: 2px dashed var(--accent-blue);
    padding: 20px;
    text-align: left;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-icon {
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-pink));
    margin: 0 15px 0 0;
    color: white;
    flex-shrink: 0;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.service-text {
    color: white;
    font-size: 16px;
}

/* Как мы работаем секция */
.how-we-work {
    padding: 80px 0;
}

.how-we-work h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 40px;
    font-weight: 400;
    text-transform: uppercase;
}

.work-process {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    width: 100%;
    visibility: hidden;
}

.work-process.active {
    display: grid;
    opacity: 1;
    position: relative;
    visibility: visible;
}

.process-item {
    border: 2px dashed #2196F3;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
}

.process-item h3 {
    color: var(--accent-blue);
    margin-bottom: 15px;
}

.process-description {
    font-size: 14px;
    color: #ffffff80;
}

@media (max-width: 768px) {
    .services-grid,
    .work-process {
        grid-template-columns: 1fr;
    }
}

/* Добавляем стили для фиксированного меню */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Добавляем отступы для секций, чтобы они не перекрывались меню при прокрутке */
#growth-section, #services, #growth-department, #clients, #expertise, #contacts {
    scroll-margin-top: 60px; /* Создает отступ при прокрутке к якорю */
}

.nav-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent-pink);
}

/* Стили для секции с графиками */
.growth-section {
    padding: 100px 0 100px;
    text-align: center;
    background-color: var(--primary-color);
}

.growth-title {
    font-size: 76px;
    margin-bottom: 40px;
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.growth-subtitle {
    font-size: 54px;
    margin-bottom: 80px;
    color: white;
}

.graphs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    margin-bottom: 80px;
    width: 100%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.graph {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
}

.graph-title {
    margin-bottom: 25px;
    color: white;
    font-size: 32px;
}

.graph svg {
    height: 400px;
}

.graph img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 0;
    outline: none;
}

.graph img:focus {
    outline: none;
}

.growth-description {
    max-width: 1200px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
    font-size: 28px;
    line-height: 1.7;
}

/* Добавляем отступ для основного контента */
.container {
    padding-top: 60px;
}

/* Стили для секции контактов */
.contact-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.contact-section::before,
.contact-section::after {
    display: none;
}

.contact-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 40px;
    font-weight: 400;
    text-transform: uppercase;
}

.contact-subtitle {
    font-size: 32px;
    margin-bottom: 60px;
    color: rgba(255, 255, 255, 0.9);
}

/* Стили для формы обратной связи */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 5px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-pink));
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: url('pointer.cur'), pointer;
    transition: background 0.3s;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: 100%;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-pink), var(--accent-blue));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s;
}

.submit-button:hover::before {
    opacity: 1;
}

.submit-button:active {
    transform: scale(0.98);
}

.form-status {
    margin-top: 20px;
    font-size: 16px;
    min-height: 24px;
}

.form-status.success {
    color: #4CAF50;
}

.form-status.error {
    color: #F44336;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 20px;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        font-size: 14px;
    }
    
    .submit-button {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .contact-subtitle {
        margin-bottom: 30px;
    }
    
    .contact-form-container {
        margin-bottom: 30px;
    }
}

.team-contacts {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-bottom: 60px;
}

.contact-role {
    color: var(--accent-blue);
    font-size: 24px;
    margin-right: 10px;
}

.contact-name {
    color: white;
    font-size: 24px;
}

.contact-link {
    color: white;
    text-decoration: none;
    font-size: 24px;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--accent-pink);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.partners-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 50px 0;
}

.partners-logos img {
    max-width: 100%;
    height: auto;
    margin: 10px;
    transition: transform 0.3s;
    filter: grayscale(100%);
    width: auto;
    max-height: 60px;
}

.partners-logos img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Стили для секции роста */
.growth-metrics {
    padding: 80px 0 10px;
    text-align: center;
    background-color: var(--primary-color);
    overflow: visible;
    margin-bottom: 0;
}

.growth-metrics h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 40px;
    font-weight: 400;
    text-transform: uppercase;
}

.growth-metrics p {
    font-size: 36px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    font-weight: 300;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.metrics-graph {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0 auto;
    overflow: visible;
    padding: 0;
    max-width: 1600px;
    text-align: center;
}

.metrics-graph img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
    display: block;
    padding: 0;
    margin-bottom: 10px;
}

.graph-line {
    stroke: white;
    stroke-width: 4;
    fill: none;
}

.graph-dot {
    fill: white;
    r: 10;
}

.graph-arrow {
    stroke: #E91E63;
    stroke-width: 4;
    stroke-dasharray: 8,8;
    opacity: 0.9;
}

.metric-box {
    background: #E91E63;
    color: white;
    padding: 10px 25px;
    border-radius: 4px;
    font-size: 20px;
    font-weight: 400;
    display: inline-block;
    font-family: 'Manrope', sans-serif;
}

.action-box {
    background: #2196F3;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 22px;
    font-weight: 400;
    white-space: nowrap;
    font-family: 'Manrope', sans-serif;
}

/* Стили для инспектора кода */
.inspector-overlay {
    position: absolute;
    pointer-events: none;
    padding: 2px 6px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
    z-index: 10000;
}

.inspector-highlight {
    position: absolute;
    pointer-events: none;
    border: 2px dashed var(--accent-pink);
    z-index: 9999;
}

.hover-code-wrapper {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    max-height: 100%;
    max-width: 100%;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hover-code-wrapper pre {
    margin: 0;
    padding: 10px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    white-space: pre-wrap;
    word-break: break-word;
    color: #fff;
    background: rgba(19, 17, 27, 0.95);
    overflow: auto;
    display: block;
    max-height: 100%;
    line-height: 1.2;
    font-size: 14px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE и Edge */
}

.hover-code-wrapper pre::-webkit-scrollbar {
    display: none; /* Chrome, Safari и Opera */
}

/* Улучшение видимости текста для градиентных и прозрачных элементов */
.hover-code-wrapper .code-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(19, 17, 27, 0.95);
    z-index: -1;
}

/* Подсветка синтаксиса - усиливаем контрастность */
.hover-code-wrapper .token.selector {
    color: #ff6090;
}

.hover-code-wrapper .token.brace {
    color: #64b5f6;
}

.hover-code-wrapper .token.property {
    color: #64b5f6;
}

.hover-code-wrapper .token.comment {
    color: #b0bec5;
    font-style: italic;
}

.hover-code-wrapper .token.tag {
    color: #66bb6a;
}

.hover-code-wrapper .token.attribute {
    color: #ba68c8;
}

.hover-code-wrapper .token.string {
    color: #c8e866;
}

/* Стиль для полноэкранной секции с логотипом */
.fullscreen-intro {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
    animation: horizon-flip 3s ease-in-out forwards;
}

.diagonal-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.diagonal-line-pink {
    position: absolute;
    width: 10px;
    height: 150%;
    background-color: var(--accent-pink);
    transform: rotate(15deg) translateX(100vw);
    top: -25%;
}

.diagonal-line-blue {
    position: absolute;
    width: 10px;
    height: 150%;
    background-color: var(--accent-blue);
    transform: rotate(15deg) translateX(calc(100vw + 40px));
    top: -25%;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    text-align: center;
}

.logo-text {
    font-family: 'Oswald', sans-serif;
    font-size: 7vw;
    font-weight: 700;
    color: white;
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
}

.logo-abbr {
    font-family: 'Oswald', sans-serif;
    font-size: 3vw;
    color: white;
    margin-top: 10px;
    letter-spacing: 5px;
}

.subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 2.5vw;
    color: white;
    margin-top: 5vh;
    text-align: center;
    max-width: 80%;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 768px) {
    .graphs-container {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    .logo-text {
        font-size: 12vw;
    }
    
    .subtitle {
        font-size: 4vw;
        max-width: 90%;
    }
    
    .metrics-graph {
        height: auto;
        padding: 0 10px;
        margin-bottom: 20px;
    }
    
    .metrics-graph img {
        margin-bottom: 5px;
    }
    
    .growth-section, 
    .growth-metrics {
        padding: 60px 0 40px;
    }
    
    .growth-title {
        font-size: 32px;
    }
    
    .growth-subtitle {
        font-size: 24px;
    }
    
    .container {
        padding: 0 10px;
    }

    .graph-title {
        font-size: 18px;
    }

    .growth-description {
        font-size: 16px;
    }

    .growth-metrics h2 {
        font-size: 32px;
        padding: 0 15px;
    }

    .growth-metrics p {
        font-size: 18px;
        padding: 0 15px;
    }

    .metric-box {
        font-size: 12px;
        padding: 6px 12px;
    }

    .action-box {
        font-size: 14px;
        padding: 8px 16px;
    }

    .graph svg {
        height: 250px;
    }

    .what-we-do h2, 
    .how-we-work h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .service-item,
    .process-item {
        padding: 15px;
        font-size: 16px;
    }

    .process-item h3 {
        font-size: 20px;
    }

    .process-description {
        font-size: 14px;
    }

    .contact-title {
        font-size: 28px;
    }

    .contact-subtitle {
        font-size: 20px;
    }

    .contact-role, 
    .contact-name, 
    .contact-link {
        font-size: 18px;
    }

    .process-step {
        width: 100%;
        max-width: 380px;
        margin: 0 auto 20px auto;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Стили для секции с отраслевой экспертизой */
.industry-expertise {
    padding: 80px 0;
    background-color: var(--primary-color);
    text-align: center;
}

.expertise-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 20px;
    font-weight: 500;
}

.expertise-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.expertise-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.expertise-column {
    flex: 1;
    position: relative;
    padding: 30px;
    border: 2px dashed;
    border-radius: 20px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.web-column {
    border-color: var(--accent-pink);
}

.mobile-column {
    border-color: var(--accent-blue);
}

.expertise-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.mobile-items {
    justify-content: flex-start;
}

.expertise-item {
    font-size: 18px;
    color: white;
    padding: 8px 0;
    text-align: left;
}

.platform-label {
    font-family: 'Oswald', sans-serif;
    font-size: 52px;
    font-weight: 700;
    position: absolute;
    bottom: 15px;
    left: 30px;
    color: white;
    opacity: 0.7;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .expertise-container {
        flex-direction: column;
        padding: 0 15px;
    }

    .expertise-title {
        font-size: 32px;
        padding: 0 15px;
    }

    .expertise-subtitle {
        font-size: 24px;
        padding: 0 15px;
        margin-bottom: 30px;
    }

    .expertise-column {
        min-height: auto;
        padding: 20px;
    }

    .expertise-item {
        font-size: 16px;
        flex-basis: 100%;
    }
    
    .mobile-items .expertise-item {
        flex-basis: 40%; /* Размещаем по 2 элемента в строку */
        font-size: 15px;
        padding: 6px 0;
    }

    .platform-label {
        font-size: 36px;
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 20px;
        text-align: center;
    }
}

/* Стили для переключателя и обновленной секции "Как мы работаем" */
.toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.toggle-switch {
    position: relative;
    display: inline-flex;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 5px;
    margin: 0 auto;
    width: 400px;
    justify-content: space-between;
    box-sizing: border-box;
}

.toggle-switch input[type="radio"] {
    display: none;
}

.toggle-switch label {
    position: relative;
    z-index: 2;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 25px;
    text-align: center;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    box-sizing: border-box;
}

.toggle-switch input[type="radio"]:checked + label {
    color: white; /* Белый цвет текста для активной кнопки */
}

.toggle-switch input[type="radio"]:not(:checked) + label {
    color: rgba(255, 255, 255, 0.7);
}

.toggle-slider {
    position: absolute;
    z-index: 1;
    top: 5px;
    left: 5px;
    height: calc(100% - 10px);
    width: calc(50% - 5px);
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-pink));
    border-radius: 25px;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

#new:checked ~ .toggle-slider {
    transform: translateX(calc(100% + 5px));
}

.work-process-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.work-process {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    width: 100%;
    visibility: hidden;
}

.work-process.active {
    display: grid;
    opacity: 1;
    position: relative;
    visibility: visible;
}

.process-item {
    border: 2px dashed var(--accent-blue);
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(33, 150, 243, 0.1);
}

.process-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.process-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .services-grid,
    .work-process {
        grid-template-columns: 1fr;
    }

    .toggle-switch {
        width: 100%;
        max-width: 300px;
        flex-direction: row;
        height: auto;
        padding: 5px;
    }

    .toggle-switch label {
        padding: 8px 5px;
        font-size: 14px;
    }

    .toggle-slider {
        width: calc(50% - 5px);
        height: calc(100% - 10px);
        transform: translateX(0);
    }

    #new:checked ~ .toggle-slider {
        transform: translateX(calc(100% + 5px));
    }

    .work-process {
        gap: 20px;
    }

    .process-item {
        padding: 20px 15px;
    }

    .process-icon {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .process-description {
        font-size: 14px;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    .service-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .service-text {
        font-size: 14px;
    }
    
    .service-item {
        padding: 15px;
    }
}

/* Стилизация сообщений валидации и ошибок */
.contact-form input:invalid:focus,
.contact-form textarea:invalid:focus {
    border-color: var(--accent-pink);
    box-shadow: 0 0 0 2px rgba(233, 30, 99, 0.2);
}

/* Кастомные сообщения об ошибках */
.error-message {
    color: var(--accent-pink);
    font-size: 14px;
    margin-top: 5px;
    text-align: left;
    opacity: 0;
    transition: opacity 0.3s;
    position: absolute;
    left: 0;
    margin-top: -5px;
}

.error-message.visible {
    opacity: 1;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
}

.contact-form input:focus::placeholder,
.contact-form textarea:focus::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
}

/* Case Section */
.case-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.case-content {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
}

.case-top {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 25px;
}

.case-info {
    flex: 2;
}

.device-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.device-caption {
    margin-top: 10px;
    color: rgb(226, 226, 226);
    font-size: 18px;
    text-align: center;
    opacity: 0.8;
}

.section-title {
    text-align: center;
    font-size: 40px;
    margin-bottom: 40px;
    font-weight: 400;
    text-transform: uppercase;
    color: white;
}

.case-title {
    font-size: 40px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.2;
}

.case-task {
    font-size: 24px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.case-subtitle {
    font-size: 22px;
    margin-bottom: 20px;
    color: white;
    font-weight: 500;
}

.feature-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item {
    width: 100%;
}

.feature-block {
    display: flex;
    border-radius: 5px;
    overflow: hidden;
    height: 50px;
    background-color: transparent;
    position: relative;
}

.feature-name {
    border: 2px solid var(--accent-blue);
    color: white;
    padding: 12px 15px;
    flex: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 500;
    font-size: 16px;
    border-radius: 5px 0 0 5px;
    position: relative;
    z-index: 1;
    margin-right: -1px;
}

.feature-result {
    border: 2px solid var(--accent-pink);
    color: white;
    padding: 12px 10px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    border-radius: 0 5px 5px 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 576px) {
    .feature-name, .feature-result {
        font-size: 14px;
        padding: 8px;
    }
}

.stats-container {
    width: 100%;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stats-caption {
    margin-top: 10px;
    color: white;
    font-size: 16px;
    text-align: center;
    opacity: 0.8;
    max-width: 80%;
}

.stats-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.device-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 1024px) {
    .case-top {
        flex-direction: column;
    }
    
    .device-container {
        margin-top: 0;
        margin-bottom: 20px;
        order: 2;
    }
    
    .case-info {
        order: 1;
    }
    
    .stats-container {
        order: 3;
    }
    
    .feature-container {
        grid-template-columns: 1fr;
    }
    
    .section-title,
    .case-title {
        font-size: 28px;
    }
    
    .case-task {
        font-size: 18px;
    }
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
}

/* Стили для секции разработки */
.development-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: #a0a0a0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.infographic-title {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.5rem;
    color: #ffffff;
}

.development-process {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.process-step {
    background: transparent;
    border-radius: 10px;
    padding: 25px;
    width: 320px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    min-height: 220px;
    border: 2px solid var(--accent-blue);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.step-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: #252525;
    border-radius: 50%;
    padding: 10px;
}

.step-icon svg {
    width: 30px;
    height: 30px;
    fill: #0077ff;
}

.process-step h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.process-step p {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.development-advantage {
    text-align: center;
    margin: 3rem auto;
    max-width: 800px;
    padding: 25px;
    background: rgba(30, 30, 30, 0.6);
    border-radius: 10px;
    border-left: 4px solid #0077ff;
}

.development-advantage p {
    margin: 10px 0;
    color: #ffffff;
    font-size: 1.2rem;
}

.development-advantage p:first-child {
    font-weight: bold;
    font-size: 1.4rem;
    color: #ffffff;
}

@media (max-width: 768px) {
    .development-process {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    
    .process-step {
        width: 100%;
        max-width: 380px;
        margin: 0 auto 20px auto;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .development-subtitle {
        padding: 0 20px;
        margin-bottom: 2.5rem;
        text-align: center;
    }
}

/* Добавляем эффект глитча при наведении */
.logo-text, .subtitle {
    position: relative;
    transition: transform 0.2s;
}

.logo-text:hover, .subtitle:hover {
    animation: hover-glitch 0.5s linear;
}

/* Эффект расслоения текста в стиле ТикТока */
.logo-text::before, 
.logo-text::after,
.subtitle::before,
.subtitle::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.2s;
    pointer-events: none;
}

.logo-text::before,
.subtitle::before {
    color: var(--accent-pink);
    z-index: -1;
}

.logo-text::after,
.subtitle::after {
    color: var(--accent-blue);
    z-index: -2;
}

.logo-text:hover::before,
.subtitle:hover::before {
    opacity: 0.9;
    transform: translate(4px, -3px);
    text-shadow: 0 0 5px rgba(233, 30, 99, 0.5);
}

.logo-text:hover::after,
.subtitle:hover::after {
    opacity: 0.9;
    transform: translate(-4px, 3px);
    text-shadow: 0 0 5px rgba(23, 78, 166, 0.5);
}

/* Анимация расслоения при загрузке */
@keyframes init-split {
    0% {
        opacity: 0;
        transform: translate(0, 0);
    }
    30% {
        opacity: 0.9;
        transform: translate(4px, -3px);
    }
    70% {
        opacity: 0.9;
        transform: translate(4px, -3px);
    }
    100% {
        opacity: 0;
        transform: translate(0, 0);
    }
}

@keyframes init-split-alt {
    0% {
        opacity: 0;
        transform: translate(0, 0);
    }
    30% {
        opacity: 0.9;
        transform: translate(-4px, 3px);
    }
    70% {
        opacity: 0.9;
        transform: translate(-4px, 3px);
    }
    100% {
        opacity: 0;
        transform: translate(0, 0);
    }
}

/* Анимация при наведении курсора */
@keyframes hover-glitch {
    0% {
        transform: translate(0);
    }
    10% {
        transform: translate(-2px, 1px);
    }
    20% {
        transform: translate(0);
    }
    40% {
        transform: translate(2px, -1px);
    }
    50% {
        transform: translate(0);
    }
    70% {
        transform: translate(-1px, -1px);
    }
    80% {
        transform: translate(0);
    }
    100% {
        transform: translate(0);
    }
}

/* Применяем анимацию при загрузке */
.logo-text.init-animation::before,
.subtitle.init-animation::before {
    animation: init-split 2s ease-in-out forwards;
    text-shadow: 0 0 8px rgba(233, 30, 99, 0.7);
}

.logo-text.init-animation::after,
.subtitle.init-animation::after {
    animation: init-split-alt 2s ease-in-out forwards;
    text-shadow: 0 0 8px rgba(23, 78, 166, 0.7);
}

/* Стили для drag-and-drop элементов */
.draggable {
    cursor: grab;
    position: relative;
    transition: box-shadow 0.3s ease, transform 0.2s ease, opacity 0.3s;
}

.draggable:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.draggable.dragging {
    cursor: grabbing;
    transform: scale(1.02);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.drag-over {
    border: 2px dashed var(--accent-color);
    background-color: rgba(74, 144, 226, 0.05);
    animation: pulse 1.5s infinite ease-in-out;
}

/* Стили для плейсхолдера (пустое место при перетаскивании) */
.drag-placeholder {
    background-color: rgba(180, 180, 180, 0.2);
    border: 2px dashed rgba(100, 100, 100, 0.3);
    border-radius: 8px;
    margin: 10px 0;
    transition: all 0.3s ease;
    animation: pulse 1.5s infinite ease-in-out;
}

/* Индикаторы позиции для вставки */
.drag-before {
    border-top: 3px solid var(--accent-color);
    padding-top: 5px;
    position: relative;
}

.drag-before::before {
    content: "";
    position: absolute;
    top: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    animation: pulse-border 1.5s infinite ease-in-out;
}

.drag-after {
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 5px;
    position: relative;
}

.drag-after::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    animation: pulse-border 1.5s infinite ease-in-out;
}

/* Анимация для вставленного элемента */
.drag-inserted {
    animation: insertElement 0.3s ease forwards;
}

@keyframes insertElement {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        background-color: rgba(74, 144, 226, 0.05);
    }
    50% {
        background-color: rgba(74, 144, 226, 0.1);
    }
    100% {
        background-color: rgba(74, 144, 226, 0.05);
    }
}

@keyframes pulse-border {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}

.drag-hint {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.draggable:hover .drag-hint {
    opacity: 1;
}

/* Отключение drag-and-drop на мобильных устройствах */
@media (max-width: 768px) {
    .draggable {
        cursor: default;
    }
    
    .draggable:hover {
        box-shadow: none;
    }
    
    .drag-hint {
        display: none;
    }
}

html, body {
    cursor: url('pointer.cur'), auto;
}

a, button, .interactive-element, .submit-button {
    cursor: url('pointer.cur'), pointer;
} 