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

a {
    cursor: pointer;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #FFF3F3;
}

.header {
    height: 150px;
    display: flex;
    align-items: center;
    padding: 0 40px;
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-section {
    display: flex;
    align-items: center;
    gap: 35px;
}

.main-title {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 25px;
    letter-spacing: -0.05em;
    color: #000000;
    opacity: 0.4;
    position: relative;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.main-title::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    transition: width 0.3s ease;
}

.main-title:hover::after {
    width: 100%;
}

.main-title:hover {
    opacity: 0.7;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 20px;
    letter-spacing: -0.05em;
    color: #000000;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: rgba(0, 0, 0, 1);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    opacity: 0.7;
}

.order-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 60px;
    border: none;
    font-weight: 200;
    border-radius: 20px;
    background: transparent !important;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    text-decoration: none;
    cursor: pointer;
    padding: 10px 20px;
    position: relative;
    overflow: hidden;
}

.order-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent !important;
    opacity: 0;
    transition: opacity 0.6s ease;
    border-radius: 20px;
}

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

.order-button span {
    position: relative;
    z-index: 1;
}

/* Переключатель языка */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-btn {
    background: none;
    border: none;
    color: #000;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.lang-btn.active {
    font-weight: 600;
    background: rgba(0, 0, 0, 0.1);
}

.lang-separator {
    color: #666;
    font-size: 16px;
    font-weight: 300;
}

/* Стеклянная навигация */
.glass-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.glass-nav.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.glass-nav-content {
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 15px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.glass-nav-link:hover {
    opacity: 0.7;
}

.glass-nav-link.active {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}

.glass-nav-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 16px;
    transition: all 0.3s ease;
}

.glass-nav-button:hover {
    background: #333333;
    transform: translateY(-1px);
}

.glass-nav-button svg {
    transition: transform 0.3s ease;
}

.glass-nav-button:hover svg {
    transform: translateX(2px);
}

.main-content {
    position: relative;
}

/* Web3 анимации при скролле */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0s;
}

.fade-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Специальная анимация для кнопки заявка */
.header .order-button {
    background: transparent !important;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.5s ease !important;
    transition-delay: 0.4s, 0.4s, 1.2s;
}

.header .order-button::before {
    background: transparent !important;
    transition: background 0.5s ease !important;
    transition-delay: 1.2s;
}

.header .order-button.animate {
    opacity: 1;
    transform: translateX(0);
}

.header .order-button.animate::before {
    background: transparent !important;
}

.header .order-button span {
    opacity: 0;
    color: #000 !important;
    transition: opacity 0.3s ease, color 0.3s ease;
    transition-delay: 0.4s, 1.2s;
}

.header .order-button.animate span {
    opacity: 1;
}

.scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.animate {
    opacity: 1;
    transform: scale(1);
}

/* Параллакс эффекты */
.parallax-slow {
    transition: transform 0.1s ease-out;
}

.parallax-fast {
    transition: transform 0.1s ease-out;
}

/* Глитч эффект */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: #ff0000;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: #00ff00;
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 14%, 15%, 49%, 50%, 99%, 100% {
        transform: translate(0);
    }
    15%, 49% {
        transform: translate(-2px, 2px);
    }
}

@keyframes glitch-2 {
    0%, 20%, 21%, 62%, 63%, 99%, 100% {
        transform: translate(0);
    }
    21%, 62% {
        transform: translate(2px, -2px);
    }
}

/* Неоновое свечение */
.neon-glow {
    text-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 15px currentColor,
        0 0 20px currentColor;
    transition: text-shadow 0.3s ease;
}

.neon-glow:hover {
    text-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 15px currentColor,
        0 0 20px currentColor,
        0 0 35px currentColor,
        0 0 40px currentColor;
}

/* Волновой эффект */
.wave-effect {
    position: relative;
    overflow: hidden;
}

.wave-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.wave-effect:hover::before {
    left: 100%;
}

.title-section {
    padding: 100px 40px 0 40px;
}

.main-logo {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 275px;
    line-height: 200px;
    letter-spacing: -0.05em;
    color: #000000;
    margin: 0;
}

.subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    padding-left: 9px;
    font-size: 25px;
    line-height: 1;
    color: #000000;
    margin: 0;
    margin-top: 20px;
    letter-spacing: -0.05em;
}

.highlight {
    background-color: #414CE1;
    color: white;
    border-radius: 20px;
    padding: 1px 5px;
}

.cards-section {
    display: flex;
    flex-direction: column;
    padding: 0 40px;
    gap: 20px;
    margin-top: 200px;
}

.cards-row {
    display: flex;
    justify-content: space-between;
    gap: 100px;
}

.card {
    flex: 1;
    height: 530px;
    min-width: 300px;
    border-radius: 20px;
    background: linear-gradient(to bottom, rgba(175, 171, 171, 0.2) 0%, rgba(175, 171, 171, 0.08) 100%);
    position: relative;
}

.card-third {
    flex: none;
    width: 100%;
    height: 530px;
    min-width: auto;
}

.card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 65px;
    letter-spacing: -0.05em;
    line-height: 60px;
    color: #000000;
    margin: 0;
    text-align: left;
    position: absolute;
    top: 50px;
    left: 50px;
}

.card-images {
    position: absolute;
    bottom: 50px;
    width: 400px;
    height: 300px;
}

.card-left .card-images {
    right: 0;
}

.card-right .card-images {
    right: 0;
}

.card-image {
    position: absolute;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 100%;
    height: auto;
}


.card-left .image-1 {
    bottom: -50px;
    left: -150px;
    z-index: 2;
    width: 350px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background-color: white;
}

.card-left .image-2 {
    bottom: -50px;
    right: 0;
    z-index: 1;
    width: 350px;
    border-top-right-radius: 0;
}

.card-right .image-1 {
    bottom: -50px;
    left: -150px;
    z-index: 2;
    width: 300px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.card-right .image-2 {
    bottom: -50px;
    right: 0;
    z-index: 1;
    width: 290px;
    border-top-right-radius: 0;
}

.card-third .image-1 {
    bottom: -50px;
    right: 0;
    left: 200px;
    z-index: 2;
    width: calc(100% - 200px);
    height: 100%;
    object-fit: cover;
    object-position: left top;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
}

.card-third {
    overflow: hidden;
}

.card-third .card-images {
    min-width: calc(420px*2.7);
    width: 100%;
    height: 420px;
}

.card-side-text {
    position: absolute;
    left: -15px;
    top: 221px;
    transform: translateY(-50%) rotate(-90deg);
    font-family: 'Inter', sans-serif;
    font-weight: 200;
    font-size: 18px;
    letter-spacing: -0.05em;
    color: #000000;
    opacity: 0.6;
    white-space: nowrap;
    z-index: 3;
    transform-origin: right;
}

.portfolio-link-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    padding: 0 40px;
}

.portfolio-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 5px;
    transition: all 0.3s ease;
    border: 1px solid #000000;
    border-radius: 25px;
    padding: 10px 25px;
    background: #FFF3F3;
}

.portfolio-text {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 18px;
    color: #000000;
}


.portfolio-button {
    padding: 1px 5px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 18px;
    color: white;
    background: #414CE1;
    border-radius: 20px;
    margin: 0px;
}

.portfolio-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.services-section {
    margin-top: 50px;
}

.services-title {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 65px;
    letter-spacing: -0.05em;
    color: #000000;
    margin: 0;
}

.services-line {
    width: 0;
    height: 1px;
    background-color: #000000;
    min-width: 0;
    margin-top: 20px;
    transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.services-line.animate {
    width: calc(100% - 200px);
    min-width: 950px;
}

/* Mobile services line animation */
@media (max-width: 768px) {
    .services-line.animate {
        width: 100%;
        min-width: 200px;
    }
}

.service-categories {
    margin-top: 80px;
}

.service-category {
    margin-bottom: 80px;
}

.service-category:last-child {
    margin-bottom: 0;
}

.service-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.service-number {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 20px;
    letter-spacing: -0.05em;
    color: rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    width: 200px;
}

.service-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 30px;
    letter-spacing: -0.05em;
    color: #000000;
    margin: 0;
    white-space: nowrap;
    width: 400px;
}

.service-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: -0.05em;
    color: #000000;
    margin: 0;
    line-height: 1.2;
    flex: 1;
}

.service-examples {
    margin-top: 30px;
    margin-left: 600px;
    margin-right: 100px;
}

.examples-label {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 20px;
    letter-spacing: -0.05em;
    color: rgba(0, 0, 0, 0.8);
    margin: 0 0 15px 0;
}

.example-line {
    width: calc(100% - 100px);
    min-width: 350px;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.2);
    margin: 15px 0;
}

.example-item {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 20px;
    letter-spacing: -0.05em;
    color: #000000;
    margin-bottom: 15px;
}

/* Адаптивность для карточек */
@media (max-width: 1400px) {
    .cards-row {
        gap: 80px;
    }
}

@media (max-width: 1000px) {
    .cards-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .card {
        min-width: auto;
        width: 100%;
    }
    
    .card-third {
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 1200px) {
    .cards-row {
        gap: 60px;
    }
    }
    
@media (max-width: 800px) {
    .cards-section {
        padding: 0 50px;
    }
}

@media (max-width: 700px) {
    .cards-section {
        padding: 0 20px;
    }
}

@media (max-width: 1160px) {
    .main-content {
        position: static;
        padding-top: 100px;
    }
    
    .title-section {
        position: static;
        padding: 0 30px;
        margin-bottom: 50px;
    }
    
    .cards-section {
        position: static;
        flex-direction: column;
        gap: 20px;
        padding: 0 30px;
        margin-top: 0;
        top: auto;
        left: auto;
        right: auto;
        justify-content: flex-start;
    }
    
    .cards-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .card {
        position: relative;
        width: 100%;
        height: 530px;
        flex: none;
        min-width: auto;
        margin: 0;
        box-sizing: border-box;
    }
    
    .card-third {
        width: 100%;
        margin: 0;
    }
    
    .portfolio-link-container {
        padding: 0 50px;
    }
}

@media (max-width: 700px) {
    .portfolio-link-container {
        padding: 0 20px;
    }
    
    .portfolio-link {
        padding: 12px 20px;
    }
    
    .portfolio-text,
    .portfolio-separator {
        font-size: 16px;
    }
    
    .portfolio-button {
        padding: 1px 5px;
        font-size: 16px;
    }
    
    .services-section {
        padding: 0 50px;
    }
    
    .services-title {
        font-size: 45px;
    }
    
    .services-line {
        width: calc(100% - 100px);
    }
}

@media (max-width: 700px) {
    .services-section {
        padding: 0 20px;
    }
    
    .services-title {
        font-size: 35px;
    }
    
    .services-line {
        width: calc(100% - 40px);
    }
    
    .service-categories {
        margin-top: 60px;
    }
    
    .service-category {
        margin-bottom: 60px;
    }
    
    .service-title {
        font-size: 30px;
    }
    
    .service-description {
        font-size: 16px;
    }
    
    .service-examples {
        margin-left: 550px;
        margin-right: 50px;
    }
    
    .example-line {
        min-width: 200px;
    }
    
    .examples-label,
    .example-item {
        font-size: 18px;
    }
    }
    
/* Дополнительная адаптивность для уменьшения отступов */
@media (max-width: 1200px) {
    .service-number {
        width: 180px;
    }
    
    .service-title {
        width: 380px;
    }
    
    .service-examples {
        margin-left: 580px;
    }
}

@media (max-width: 1100px) {
    .service-number {
        width: 160px;
    }
    
    .service-title {
        width: 360px;
    }
    
    .service-examples {
        margin-left: 540px;
    }
}

@media (max-width: 1000px) {
    .service-number {
        width: 140px;
    }
    
    .service-title {
        width: 340px;
    }
    
    .service-description {
        width: 350px;
    }
    
    .service-examples {
        margin-left: 500px;
    }
}

@media (max-width: 950px) {
    .service-number {
        width: 120px;
    }
    
    .service-title {
        width: 320px;
    }
    
    .service-examples {
        margin-left: 460px;
    }
}

@media (max-width: 900px) {
    .service-number {
        width: 100px;
    }
    
    .service-title {
        width: 400px;
    }
    
    .service-examples {
        margin-left: 400px;
        margin-right: 50px;
    }
    
    .example-line {
        min-width: 150px;
    }
}

@media (max-width: 850px) {
    .service-number {
        width: 80px;
    }
    
    .service-title {
        width: 280px;
    }
    
    .service-examples {
        margin-left: 360px;
    }
}

@media (max-width: 800px) {
    .service-number {
        width: 70px;
    }
    
    .service-title {
        width: 260px;
    }
    
    .service-examples {
        margin-left: 330px;
    }
}

@media (max-width: 750px) {
    .service-number {
        width: 60px;
    }
    
    .service-title {
        width: 340px;
    }
    
    .service-examples {
        margin-left: 300px;
    }
}

@media (max-width: 700px) {
    .service-number {
        width: 50px;
    }
    
    .service-title {
        width: 220px;
    }
    
    .service-examples {
        margin-left: 270px;
        margin-right: 20px;
    }
    
    .example-line {
        min-width: 100px;
    }
}

@media (max-width: 650px) {
    .service-number {
        width: 40px;
    }
    
    .service-title {
        width: 200px;
    }
    
    .service-examples {
        margin-left: 240px;
    }
    
    .example-line {
        min-width: 80px;
    }
}

.cta-section {
    background-color: #FFF3F3;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    z-index: 5;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    padding: 0 40px;
}

.cta-logo {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 275px;
    line-height: 200px;
    letter-spacing: -0.05em;
    color: #000000;
    margin: 0 0 40px 0;
}

.cta-question {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 60px;
    letter-spacing: -0.05em;
    color: #000000;
    margin: 0 0 40px 0;
    line-height: 60px;
}

.cta-description {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 25px;
    letter-spacing: -0.02em;
    line-height: 25px;
    color: #000000;
    margin: 0 0 50px 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 400px;
    height: 60px;
    border: none;
    font-weight: 500;
    border-radius: 25px;
    background: linear-gradient(15deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.85) 49%, rgba(0, 0, 0, 1) 96%);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 25px;
    text-decoration: none;
    cursor: pointer;
    padding: 5px 40px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.85) 49%, rgba(0, 0, 0, 1) 96%);
    opacity: 0;
    transition: opacity 0.8s ease;
    border-radius: 25px;
    z-index: 0;
}

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

.cta-button span {
    position: relative;
    z-index: 2;
}


@media (max-width: 1160px) {
    .cta-section {
        padding: 80px 0;
        min-height: 50vh;
    }
    
    .cta-content {
        padding: 0 50px;
    }
    
    .cta-logo {
        font-size: 200px;
        line-height: 150px;
    }
    
    .cta-question {
        font-size: 50px;
        line-height: 35px;
    }
    
    .cta-description {
        font-size: 20px;
    }
    
    .cta-button {
        width: 350px;
        height: 60px;
        font-size: 20px;
    }
}

@media (max-width: 700px) {
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-content {
        padding: 0 20px;
    }
    
    .cta-logo {
        font-size: 150px;
        line-height: 120px;
    }
    
    .cta-question {
        font-size: 35px;
        line-height: 30px;
    }
    
    .cta-description {
        font-size: 18px;
    }
    
    .cta-button {
        width: 200px;
        height: 50px;
        font-size: 18px;
    }
}

/* Footer Styles */
.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 10px 0 0 0 !important;
    position: relative;
    z-index: 1;
    transform: translateY(-100%);
    transition: transform 0.1s ease-out;
}

.footer a {
    cursor: pointer !important;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal.show {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    opacity: 1;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 75%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: scale(0.9) translateY(30px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.show .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-header {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #666;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #000;
}

.modal-body {
    display: flex;
    min-height: 500px;
}

.modal-left {
    flex: 1;
    padding: 60px 40px;
    background: #f8f9fa;
    border-radius: 20px 0 0 20px;
}

.modal-right {
    flex: 1;
    padding: 60px 40px;
}

.modal-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 32px;
    color: #000;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.modal-description {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #999;
}

.budget-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #999;
    margin-bottom: 8px;
    line-height: 1.5;
}

.form-group input,
.form-group textarea {
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 8px 0;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    background: transparent;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: #000;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}

.form-group textarea {
    resize: none;
    min-height: 60px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #000;
}

.radio-label input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #000;
}

.submit-button {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.submit-button svg {
    transition: transform 0.3s ease;
}

.submit-button:hover svg {
    transform: translateX(2px);
}

.privacy-text {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #999;
    text-align: center;
    margin: 15px 0 0 0;
}

/* Responsive Modal */
/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Запрещаем горизонтальный скролл */
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    html {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .container {
        padding: 0 30px;
    }
    
    /* Header Mobile */
    .header {
        height: auto;
        padding: 20px 0;
    }
    
    .main-title {
        display: none;
    }
    
    .nav-section {
        display: none;
    }
    
    /* Language Switcher Mobile */
    .language-switcher {
        margin-right: 0;
        margin-left: 0;
        margin-top: 20px;
        gap: 8px;
    }
    
    .lang-btn {
        font-size: 16px;
        padding: 4px 8px;
    }
    
    /* Main Content Mobile */
    .main-content {
        padding-top: 0;
    }
    
    .main-logo {
        font-size: 120px;
        margin-bottom: 15px;
        line-height: 1;
    }
    
    .subtitle {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 30px;
        margin-top: -25px;
    }
    
    /* Cards Mobile */
    .cards-row {
        flex-direction: column;
        gap: 30px;
    }
    
    .card {
        width: 100%;
        min-width: auto;
        padding: 30px 0;
    }
    
    .card-third {
        width: 100%;
    }
    
    .card-title {
        font-size: 32px;
        margin-bottom: 20px;
        margin-top: 0;
        margin-left: 20px;
        line-height: 1;
        white-space: pre-line;
        position: static;
        top: auto;
        left: auto;
    }
    
    .card-title br {
        display: none;
    }
    
    .card-title br::before {
        content: " ";
    }
    
    .card-images {
        gap: 15px;
        justify-content: space-between;
    }
    
    .card-left .card-images {
        left: 0;
    }
    
    .card-right .card-images {
        right: 0;
    }
    
    .card-third .card-images {
        left: 0;
    }
    
    .card-image {
        max-width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
    }
    
    .card-images {
        gap: 0;
        justify-content: stretch;
        overflow: hidden;
        width: 100%;
    }
    
    .card-image {
        max-width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
        flex: 1;
        display: block;
    }
    
    /* Карточки 1-2: скрываем первую фотку, показываем вторую */
    .card-left .card-image.image-1,
    .card-right .card-image.image-1 {
        display: none !important;
    }
    
    .card-left .card-image.image-2,
    .card-right .card-image.image-2 {
        display: block !important;
    }
    
    /* Третья карточка - заголовок + картинка под ним */
    .card-third .card-title {
        display: block;
        font-size: 32px;
        margin-bottom: 20px;
        margin-top: 20px;
        margin-left: 20px;
        line-height: 1;
        white-space: pre-line;
        position: static;
        top: auto;
        left: auto;
    }
    
    .card-third .card-image.image-1 {
        display: block !important;
        width: calc(100% - 50px) !important;
        height: auto !important;
        object-fit: cover;
        border-radius: 15px;
        position: relative !important;
        bottom: auto !important;
        left: 50px !important;
        right: auto !important;
        z-index: auto !important;
    }
    
    /* Уменьшаем высоту карточки в мобильной версии */
    .card {
        height: 350px;
        overflow: hidden;
    }
    
    /* Простое решение для мобильной версии */
    .card-images {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        margin-top: 10px !important;
        padding: 0 !important;
        bottom: auto !important;
    }
    
    /* Третья карточка - контейнер картинок */
    .card-third .card-images {
        margin-top: 10px !important;
        height: auto !important;
    }
    
    .card-image.image-2 {
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
        border-radius: 15px;
        display: block !important;
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        z-index: auto !important;
    }
    
    /* Центрируем контент картинки для 2-й карточки */
    .card-right .card-image.image-2 {
        object-position: center;
    }
    
    /* Portfolio Link Mobile */
    .portfolio-link-container {
        margin: 40px 0;
    }
    
    .portfolio-link {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }
    
    .portfolio-text {
        font-size: 20px;
    }
    
    .portfolio-button {
        font-size: 20px;
        padding: 15px 30px;
    }
    
    /* Services Mobile */
    .services-section {
        padding: 0;
    }
    
    .services-title {
        font-size: 60px;
        margin-bottom: 30px;
    }
    
    .services-line {
        margin-bottom: 40px;
        width: 100%;
    }
    
    .service-categories {
        gap: 50px;
    }
    
    .service-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        margin-bottom: 25px;
    }
    
    .service-number {
        font-size: 24px;
    }
    
    .service-title {
        font-size: 32px;
    }
    
    .service-description {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .service-examples {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        margin-left: 0;
        margin-right: 0;
    }
    
    .example-item {
        font-size: 18px;
        padding: 10px 0;
        text-align: left;
    }
    
    .example-line {
        display: block;
        width: 100%;
        min-width: 200px;
        height: 1px;
        background-color: rgba(0, 0, 0, 0.2);
        margin: 15px 0;
    }
    
    /* CTA Section Mobile */
    .cta-section {
        padding: 60px 0;
        margin-top: 40px;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        position: relative;
        left: 0;
        right: 0;
        max-width: none;
    }
    
    .cta-logo {
        font-size: 100px;
        margin-bottom: 30px;
    }
    
    .cta-question {
        font-size: 40px;
        margin-bottom: 20px;
        letter-spacing: 0;
    }
    
    .cta-content {
        max-width: none;
        padding: 0 30px;
    }
    
    .cta-description {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 30px;
    }
    
    .cta-button {
        font-size: 22px;
        padding: 15px 30px;
        width: calc(100vw - 60px);
        margin-left: calc(-50vw + 50% + 30px);
        margin-right: calc(-50vw + 50% + 30px);
    }
    
    /* Footer Mobile - Complete Rewrite */
    .footer {
        padding: 20px 0 0 0 !important;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 0 30px;
    }
    
    .footer-left {
        display: none !important;
    }
    
    .footer-right {
        order: 1;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        width: 100% !important;
        padding: 0 !important;
        gap: 0 !important;
        margin-top: 20px !important;
    }
    
    .footer-column {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .footer-column:first-child {
        margin-right: 30px !important;
    }
    
    .footer-column:last-child {
        margin-left: 30px !important;
    }
    
    .footer-cta {
        font-size: 28px;
        padding-top: 0;
        line-height: 1.2;
    }
    
    .footer-response {
        font-size: 20px;
        margin-top: 15px;
    }
    
    .footer-heading {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .footer-links {
        gap: 15px;
    }
    
    .footer-link {
        font-size: 22px;
    }
    
    .footer-copyright {
        font-size: 16px;
        margin-top: 30px;
    }
    
    /* Glass Navigation Mobile */
    .glass-nav {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%) translateY(100px);
    }
    
    .glass-nav-content {
        gap: 20px;
        padding: 15px 25px;
    }
    
    .glass-nav-link {
        font-size: 14px;
    }
    
    .glass-nav-button {
        font-size: 14px;
        padding: 10px 15px;
    }
    
    /* Modal Mobile */
    .modal-content {
        width: 90%;
        max-width: 500px;
        margin: 20px auto;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-body {
        flex-direction: column;
        gap: 20px;
    }
    
    .modal-left {
        text-align: center;
        border-radius: 20px 20px 0 0;
        padding: 30px 25px;
    }
    
    .modal-right {
        padding: 30px 25px;
    }
    
    .modal-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .modal-description {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .modal-form {
        gap: 15px;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 20px;
        padding: 12px;
    }
    
    .budget-label {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .modal-close span {
        display: none;
    }
    
    .modal-close svg {
        width: 24px;
        height: 24px;
    }
    
    .radio-group {
        gap: 15px;
    }
    
    .radio-label {
        font-size: 16px;
        padding: 15px;
    }
    
    .submit-button {
        font-size: 18px;
        padding: 15px 30px;
    }
    
    .privacy-text {
        font-size: 14px;
    }
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-module {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 275px;
    line-height: 200px;
    letter-spacing: -0.05em;
    color: #000000;
    margin: 0;
    opacity: 0.1;
}

.footer-cta {
    padding-top: 150px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 45px;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    position: relative;
    z-index: 9998;
}

.footer-telegram-link {
    color: #ffffff;
    text-decoration: underline;
    cursor: pointer !important;
    transition: opacity 0.3s ease;
    user-select: none;
    position: relative;
    z-index: 9999 !important;
    display: inline-block;
    pointer-events: auto !important;
}

.footer-telegram-link:hover {
    opacity: 0.7;
    cursor: pointer !important;
}

.footer-response {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 45px;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0;
}

.footer-right {
    display: flex;
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0 0 10px 0;
}

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

.footer-links li {
    margin-bottom: 6px;
}

.footer-link {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 16px;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
    cursor: pointer !important;
}

.footer-link:hover {
    opacity: 0.7;
    cursor: pointer !important;
}

.footer-bottom {
    max-width: 1200px;
    margin: 15px auto 0 auto !important;
    padding: 0 40px 0 40px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 5px !important;
}

.footer-copyright {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 14px;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0;
    opacity: 0.6;
}

/* Footer Responsive */
@media (max-width: 1160px) {
    .footer-content {
        padding: 0 50px;
    }
    
    .footer-bottom {
        padding: 0 50px;
    }
}

@media (max-width: 800px) {
    .footer {
        padding: 15px 0 0 0 !important;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        padding: 0 30px;
        align-items: flex-start;
    }
    
    .footer-right {
        gap: 30px;
    }
    
    .footer-module {
        font-size: 200px;
        line-height: 150px;
    }
    
    .footer-cta {
        font-size: 35px;
    }
    
    .footer-response {
        font-size: 35px;
    }
    
    .footer-bottom {
        padding: 0 30px 0 30px !important;
        margin-top: 10px !important;
    }
}

@media (max-width: 700px) {
    .footer-content {
        padding: 0 20px;
    }
    
    .footer-right {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        width: 100% !important;
        padding: 0 !important;
        gap: 0 !important;
        margin-top: 20px !important;
    }
    
    .footer-column {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .footer-column:first-child {
        margin-right: 30px !important;
    }
    
    .footer-column:last-child {
        margin-left: 30px !important;
    }
    
    .footer-module {
        font-size: 150px;
        line-height: 120px;
    }
    
    .footer-cta {
        font-size: 28px;
    }
    
    .footer-response {
        font-size: 28px;
    }
    
    .footer-bottom {
        padding: 0 20px 0 20px !important;
    }
}

/* Mobile Footer */
.mobile-footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 16px 24px;
    display: flex;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    gap: 20px;
    align-items: center;
    width: 90%;
    max-width: 450px;
}

/* Hide mobile footer on desktop */
@media (min-width: 769px) {
    .mobile-footer {
        display: none !important;
    }
}

.mobile-footer-btn {
    background: none;
    border: none;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    padding: 12px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-footer-menu {
    background: rgba(255, 255, 255, 0.1);
    justify-content: space-between;
    width: 100%;
}

.mobile-footer-menu span {
    font-size: 22px;
    font-weight: 600;
}

.mobile-footer-contact {
    background: rgba(0, 0, 0, 0.8);
    width: calc(50% - 20px);
    justify-content: center;
}

.mobile-footer-menu {
    background: rgba(255, 255, 255, 0.1);
    justify-content: space-between;
    width: calc(50% - 20px);
}

.mobile-footer-contact:hover {
    background: rgba(0, 0, 0, 1);
}

.mobile-footer-menu {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-footer-menu:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.show {
    display: block;
    opacity: 1;
}

.mobile-menu-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 40px 30px;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.mobile-menu-title {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: white;
    margin: 0;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-menu-link {
    color: white;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.mobile-menu-link:hover {
    color: #ccc;
}

.mobile-menu-footer {
    margin-top: auto;
}

.mobile-menu-order-btn {
    background: white;
    color: black;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    padding: 15px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.mobile-menu-order-btn:hover {
    background: #f0f0f0;
}

/* Show mobile footer only on mobile */
@media (max-width: 768px) {
    .mobile-footer {
        display: flex;
    }
    
    /* Hide desktop glass nav on mobile */
    .glass-nav {
        display: none !important;
    }
    
    /* Show glass nav when visible class is added */
    .glass-nav.visible {
        display: flex !important;
    }
    
    /* Mobile footer visibility control */
    .mobile-footer {
        background: rgba(0, 0, 0, 0.8) !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        transition: all 0.3s ease !important;
    }
    
    .mobile-footer:not(.visible) {
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateX(-50%) translateY(100px) !important;
    }
    
    .mobile-footer.visible {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(-50%) translateY(0) !important;
    }
        animation: none !important;
        transform: translateX(-50%) !important;
        position: fixed !important;
        bottom: 20px !important;
        left: 50% !important;
        z-index: 1000 !important;
    }
}

/* Additional force styles for mobile footer */
@media (max-width: 768px) {
    .mobile-footer {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateX(-50%) !important;
        position: fixed !important;
        bottom: 20px !important;
        left: 50% !important;
        z-index: 1000 !important;
        background: rgba(0, 0, 0, 0.8) !important;
        transition: none !important;
        animation: none !important;
    }
}
