/* Flat Design Styles with Parallax */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

@font-face {
    font-family: 'Futura100';
    src: url('fonts/Futura100-Regular.woff2') format('woff2'),
         url('fonts/Futura100-Regular.woff') format('woff'),
         url('fonts/Futura100-Regular.ttf') format('truetype'),
         url('fonts/Futura100-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Скрываем скроллбары для всех элементов */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE и Edge */
}

*::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
    width: 0;
    height: 0;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    /* Скрываем скроллбар */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE и Edge */
}

html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
    width: 0;
    height: 0;
}

:root {
    /* Фиолетовый, черный, белый */
    --primary: #7C3AED;
    --primary-dark: #5B21B6;
    --primary-light: #A78BFA;
    --purple-dark: #4C1D95;
    --purple-darker: #3B0F6B;
    --black: #000000;
    --black-light: #1A1A1A;
    --black-lighter: #2A2A2A;
    --white: #FFFFFF;
    --secondary: #10B981;
    --accent: #F59E0B;
    --dark: #000000;
    --darker: #1A1A1A;
    --light: #FFFFFF;
    --light-gray: #F5F5F5;
    --text: #000000;
    --text-light: #666666;
    --text-lighter: #999999;
    --shadow: 0 4px 6px -1px rgba(124, 58, 237, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(124, 58, 237, 0.3);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--text);
    font-size: 2.5rem;
}

.page-hero h1,
.page-intro h1 {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 700;
    white-space: nowrap;
    line-height: 1.2;
    word-break: break-word;
}

/* Адаптивность для заголовков на мобильных */
@media (max-width: 768px) {
    .page-hero h1,
    .page-intro h1 {
        white-space: normal !important;
        word-break: break-word;
    }
}

.page-intro p {
    font-size: 1.25rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: var(--light);
    color: var(--text);
    overflow-x: hidden;
    position: relative;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
    width: 100%;
    max-width: 100%;
    /* Скрываем скроллбар */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE и Edge */
}

body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
    width: 0;
    height: 0;
}

/* Parallax Background */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.parallax-layer {
    position: absolute;
    width: 120%;
    height: 120%;
    transition: transform 0.1s ease-out;
}

.layer-1 {
    background: var(--black);
    opacity: 1;
}

.layer-2 {
    background: var(--purple-dark);
    opacity: 0.8;
}

.layer-3 {
    background: transparent;
}

.layer-4 {
    background: rgba(124, 58, 237, 0.1);
    opacity: 0.5;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(124, 58, 237, 0.2);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.nav-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow-x: hidden;
    box-sizing: border-box;
}

.logo-small {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(0.25rem, 0.5vw, 1rem);
    align-items: center;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 clamp(0.5rem, 1.5vw, 2rem);
    box-sizing: border-box;
    overflow-x: hidden;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 400;
    font-size: clamp(0.7rem, 1.2vw, 1.125rem);
    transition: all 0.3s;
    position: relative;
    white-space: nowrap;
    letter-spacing: 0.02em;
    white-space: nowrap;
    padding: 0.75rem 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    box-sizing: border-box;
    flex: 0 0 auto;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary);
    transition: width 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover {
    color: var(--white);
}

.nav-link.active {
    color: var(--white);
}

.nav-cta {
    background: #DC143C !important;
    color: var(--white) !important;
    padding: 0 clamp(0.5rem, 1vw, 1rem);
    border-radius: 0;
    font-weight: 400;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: clamp(0.65rem, 1vw, 1rem);
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.nav-cta::before {
    display: none !important;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
}

.nav-cta:hover::before {
    display: none !important;
}

.nav-signup {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0 clamp(0.5rem, 1vw, 1rem);
    border-radius: 0;
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(0.65rem, 1vw, 1rem);
    white-space: nowrap;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.nav-signup::before {
    display: none;
}

.nav-signup:hover {
    background: var(--primary-dark);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 0;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 2rem 2rem;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.5) 100%);
    overflow-x: visible;
    overflow-y: hidden;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px) brightness(1.1) saturate(1.2);
    transform: scale(1.1);
    transition: transform 0.1s ease-out;
}

.hero-content {
    max-width: 100%;
    width: 100%;
    z-index: 2;
    position: relative;
    padding: 0;
    box-sizing: border-box;
    transition: transform 0.1s ease-out;
    overflow: visible;
    overflow-x: visible;
}

/* Новый блок приветствия */
.hero-welcome {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 2rem 2rem 2rem 0;
    box-sizing: border-box;
    justify-content: center;
}

.hero-welcome-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 5rem;
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding-left: 1rem;
    justify-content: flex-start;
    padding-right: 0;
}

.hero-welcome-text {
    flex: 0 1 auto;
    z-index: 2;
    text-align: left;
    max-width: 1200px;
    min-width: 700px;
}

.hero-logo-right {
    flex-shrink: 0;
    z-index: 10;
    opacity: 0;
    transform: translateY(-100px);
    animation: logoSlideDown 1s ease-out 0.5s forwards;
}

.logo-right {
    max-width: 400px;
    width: auto;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

@keyframes logoSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-main-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: #FFFFFF;
    line-height: 1.15;
    margin-bottom: 2.5rem;
    text-align: left;
    letter-spacing: -0.01em;
}

.title-line {
    display: block;
}

.title-line {
    display: block;
    text-align: left;
}

.title-line:first-child {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.015em;
}

.title-line:nth-child(2) {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.015em;
    white-space: nowrap;
}

/* На мобильных устройствах разрешаем перенос строки */
@media (max-width: 768px) {
    .title-line:nth-child(2) {
        white-space: normal;
        word-break: break-word;
    }
}

.title-line.title-brand {
    font-size: clamp(4rem, 9vw, 7rem);
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin-bottom: 0;
}

.hero-subtitle-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
    font-size: clamp(0.875rem, 1.5vw, 1.25rem);
    color: #FFFFFF;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    text-align: left;
}

.hero-info-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 300;
    font-size: clamp(0.875rem, 1.5vw, 1.25rem);
    color: #FFFFFF;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    text-align: left;
}

.logo-container {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-main {
    max-width: 800px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    position: relative;
    z-index: 10;
    opacity: 1;
    visibility: visible;
    display: block;
}

.hero-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: 0.02em;
    line-height: 1.2;
    width: 100%;
    max-width: 100%;
}

.hero-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 2vw, 2rem);
    width: 100%;
    max-width: 100%;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 1;
    min-height: 400px;
    padding: 0;
    box-sizing: border-box;
    overflow: visible;
    overflow-x: visible;
}

.hero-phrase {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    padding: 0 2rem;
    box-sizing: border-box;
    z-index: 1;
    pointer-events: none;
}

.phrase-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.phrase-left {
    align-items: flex-start;
}

.phrase-right {
    align-items: flex-end;
}

.phrase-line {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 900 !important;
    color: var(--white) !important;
    font-size: 2rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    line-height: 1.2 !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    opacity: 0;
    animation: phraseFadeIn 1s ease-out 0.5s forwards;
}


@keyframes phraseFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    max-width: none;
    width: auto;
    box-sizing: border-box;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1 !important;
    pointer-events: none;
    background: transparent;
}

.logo-container.logo-parallax {
    will-change: transform;
    transition: transform 0.1s linear;
}

.logo-main {
    max-width: clamp(400px, 60vw, 1200px) !important;
    width: 100%;
    height: auto;
    display: block;
    box-sizing: border-box;
    opacity: 1 !important;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 11;
    background: transparent;
}

/* Адаптивные стили для блока приветствия */
@media (max-width: 768px) {
    .hero-welcome {
        padding: 1rem;
    }
    
    .hero-welcome-content {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .hero-welcome-text {
        text-align: center;
    }
    
    .hero-logo-right {
        align-self: center;
    }
    
    .logo-right {
        max-width: 240px;
    }
    
    .hero-welcome-content {
        padding-left: 1rem;
        padding-right: 1rem;
        justify-content: center;
    }
    
    .hero-welcome-text {
        max-width: 100%;
        min-width: auto;
        text-align: center;
    }
    
    .title-line {
        text-align: center;
    }
    
    .hero-subtitle-text,
    .hero-info-text {
        text-align: center;
    }
    
    .title-line:first-child,
    .title-line:nth-child(2) {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
        white-space: normal;
        word-break: break-word;
        line-height: 1.2;
    }
    
    .title-line.title-brand {
        font-size: clamp(2rem, 6vw, 4rem);
    }
    
    .hero-main-title {
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle-text,
    .hero-info-text {
        font-size: clamp(0.7rem, 1.3vw, 0.9rem);
        margin-bottom: 0.4rem;
        text-align: center;
        line-height: 1.4;
        padding: 0 0.5rem;
    }
    
    .hero-welcome-text {
        padding: 0 0.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-welcome {
        padding: 1.5rem;
    }
    
    .hero-welcome-content {
        gap: 2rem;
    }
    
    .logo-right {
        max-width: 300px;
    }
    
    .hero-welcome-content {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .hero-welcome-text {
        max-width: 700px;
        min-width: 500px;
    }
    
    .title-line:first-child,
    .title-line:nth-child(2) {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }
    
    .title-line.title-brand {
        font-size: clamp(3rem, 7.5vw, 5.5rem);
    }
    
    .hero-subtitle-text,
    .hero-info-text {
        font-size: clamp(0.875rem, 1.5vw, 1.125rem);
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
}

@media (min-width: 1025px) and (max-width: 1366px) {
    .hero-welcome {
        padding: 2rem;
    }
    
    .hero-welcome-content {
        gap: 3rem;
    }
    
    .logo-right {
        max-width: 200px;
    }
    
    .title-line:first-child,
    .title-line:nth-child(2) {
        font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    }
    
    .title-line.title-brand {
        font-size: clamp(4rem, 9vw, 7rem);
    }
    
    .hero-subtitle-text,
    .hero-info-text {
        font-size: clamp(0.875rem, 1.5vw, 1.25rem);
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
}

/* Анимация управляется через JavaScript */

@keyframes wordFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wordCycle {
    0%, 100% {
        opacity: 0;
        transform: translateY(50px);
    }
    20%, 80% {
        opacity: 0.15;
        transform: translateY(0);
    }
}

.hero-title .title-main {
    font-size: 3.5rem;
    white-space: nowrap;
}

.hero-title .title-brand {
    font-size: 5rem;
    display: inline-block;
}

.hero-subtitle {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 2rem;
    color: #FFFFFF;
    margin-bottom: 2rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    flex: 0 0 auto;
}

.hero-buttons .btn {
    cursor: pointer;
}

.academy-content {
    width: 100%;
    padding: 4rem 2rem;
    background: #000000;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.consultation-form {
    background: rgba(76, 29, 149, 0.3);
    background: linear-gradient(to right, rgba(59, 15, 107, 0.7), rgba(76, 29, 149, 0.5));
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex: 0 0 300px;
}

.consultation-form .form-title {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.consultation-form-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.consultation-form .form-group {
    margin: 0;
}

.consultation-form input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    color: #fff;
    font-size: 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.consultation-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.consultation-form input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.btn-consult {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    transition: background 0.3s;
}

.btn-consult:hover {
    background: var(--primary-dark);
}

.btn {
    padding: 1.25rem 3rem;
    border-radius: 0;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.25rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}


.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

/* Scroll indicator removed */

/* Features Section */
.features {
    padding: 6rem 0;
    background: #FFFFFF;
    position: relative;
    z-index: 1;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 0;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}


.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.feature-card p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

.slide-up {
    animation: slideUp 0.8s ease-out;
}

.slide-up-delay {
    animation: slideUp 0.8s ease-out 0.2s both;
}

.slide-up-delay-2 {
    animation: slideUp 0.8s ease-out 0.4s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */

/* Большие экраны (1400px+) */
@media (min-width: 1401px) {
    .hero-title-wrapper {
        max-width: 1600px;
    }
    
    .phrase-line,
    .phrase-motto {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif !important;
        font-weight: 900 !important;
        font-size: 2rem !important;
        letter-spacing: 0.02em !important;
        line-height: 1.2 !important;
    }
}

/* Десктопы (1440px - 1599px) */
@media (max-width: 1599px) and (min-width: 1440px) {
    .phrase-line,
    .phrase-motto {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif !important;
        font-weight: 900 !important;
        font-size: 2rem !important;
        letter-spacing: 0.02em !important;
        line-height: 1.2 !important;
    }
    
    .hero-title-wrapper {
        gap: 1.5rem;
        padding: 0;
        max-width: 100%;
        box-sizing: border-box;
        width: 100%;
        overflow: hidden;
    }
    
    .logo-main {
        max-width: clamp(400px, 60vw, 1200px) !important;
    }
    
    .hero-title-top,
    .hero-title-bottom {
        gap: 3rem;
        padding: 0 2rem;
        max-width: 100%;
        margin: 0 auto;
        justify-content: center;
    }
    
    .logo-container {
        margin: 0 auto;
    }
}

/* Популярные ноутбуки (1366px - 1439px) - самое распространенное разрешение */
@media (max-width: 1439px) and (min-width: 1366px) {
    .hero-title-top .word,
    .hero-title-bottom .word {
        font-size: clamp(1rem, 2.2vw, 3rem) !important;
        letter-spacing: clamp(0.01em, 0.08vw, 0.03em) !important;
        line-height: 1.1;
    }
    
    .hero-title-wrapper {
        gap: 1.5rem;
        padding: 0;
        max-width: 100%;
        box-sizing: border-box;
        width: 100%;
        overflow: hidden;
    }
    
    .logo-main {
        max-width: clamp(400px, 60vw, 1000px) !important;
        width: auto;
        height: auto;
    }
    
    .hero-title-top,
    .hero-title-bottom {
        gap: clamp(2rem, 3vw, 3rem);
        padding: 0 1.5rem;
        max-width: 1200px;
        margin: 0 auto;
        justify-content: center;
    }
    
    .nav-link {
        font-size: clamp(0.55rem, 0.9vw, 0.85rem) !important;
        padding: 0.75rem clamp(0.05rem, 0.15vw, 0.3rem);
    }
    
    .nav-cta,
    .nav-signup {
        font-size: clamp(0.55rem, 0.9vw, 0.85rem) !important;
        padding: 0.75rem clamp(0.4rem, 0.8vw, 0.6rem) !important;
        white-space: nowrap;
        height: 44px !important;
    }
    
    .nav-menu {
        gap: 0.125rem !important;
    }
    
    .hero-title-top,
    .hero-title-bottom {
        gap: clamp(2rem, 3vw, 3rem);
        padding: 0 1.5rem;
        max-width: 1200px;
        margin: 0 auto;
        justify-content: center;
    }
    
    .logo-container {
        margin: 0 auto;
    }
}

/* Средние ноутбуки (1280px - 1365px) */
/* Скрываем всплывающие слова на экранах меньше 13 дюймов (1366px и меньше) */
@media (max-width: 1366px) {
    .hero-title-top,
    .hero-title-bottom {
        display: none !important;
    }
}

@media (max-width: 1365px) and (min-width: 1280px) {
    .hero-title-top .word,
    .hero-title-bottom .word {
        font-size: clamp(0.9rem, 2vw, 2.5rem) !important;
        letter-spacing: clamp(0.005em, 0.07vw, 0.03em) !important;
        line-height: 1.1;
    }
    
    .hero-title-wrapper {
        gap: 1.5rem;
        padding: 0;
        max-width: 100%;
        box-sizing: border-box;
        width: 100%;
        overflow: hidden;
    }
    
    .logo-main {
        max-width: clamp(400px, 60vw, 900px) !important;
    }
    
    .hero-title-top,
    .hero-title-bottom {
        gap: clamp(1.5rem, 2.5vw, 2.5rem);
        padding: 0 1.5rem;
        max-width: 1000px;
        margin: 0 auto;
        justify-content: center;
    }
    
    .nav-link {
        font-size: clamp(0.5rem, 0.85vw, 0.8rem) !important;
        padding: 0.75rem clamp(0.05rem, 0.15vw, 0.3rem);
    }
    
    .nav-cta,
    .nav-signup {
        font-size: clamp(0.5rem, 0.85vw, 0.8rem) !important;
        padding: 0.75rem clamp(0.35rem, 0.7vw, 0.55rem) !important;
        white-space: nowrap;
        height: 42px !important;
    }
    
    .nav-menu {
        gap: 0.125rem !important;
    }
    
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .hero-title-top {
        gap: 0.25rem;
        padding-left: 0.5rem;
        padding-right: 0.25rem;
        flex: 1 1 45%;
        min-width: 0;
        max-width: none;
        align-items: flex-end;
        overflow: hidden;
    }
    
    .hero-title-bottom {
        gap: 0.25rem;
        padding-right: 0.5rem;
        padding-left: 0.25rem;
        flex: 1 1 45%;
        min-width: 0;
        max-width: none;
        align-items: flex-start;
        overflow: hidden;
    }
    
    .logo-container {
        flex: 0 0 90px;
        max-width: 90px;
        margin: 0 0.25rem;
    }
}

/* Небольшие ноутбуки (1200px - 1279px) */
@media (max-width: 1279px) and (min-width: 1200px) {
    .hero-title-top .word,
    .hero-title-bottom .word {
        font-size: clamp(0.8rem, 1.8vw, 2rem) !important;
        letter-spacing: clamp(0.005em, 0.06vw, 0.025em) !important;
        line-height: 1.1;
    }
    
    .hero-title-wrapper {
        gap: 1.5rem;
        padding: 0;
        max-width: 100%;
        box-sizing: border-box;
        width: 100%;
        overflow: hidden;
    }
    
    .logo-main {
        max-width: clamp(400px, 60vw, 800px) !important;
    }
    
    .hero-title-top,
    .hero-title-bottom {
        gap: clamp(1rem, 2vw, 2rem);
        padding: 0 1rem;
        max-width: 900px;
        margin: 0 auto;
        justify-content: center;
    }
    
    .nav-link {
        font-size: clamp(0.45rem, 0.8vw, 0.75rem) !important;
        padding: 0.75rem clamp(0.05rem, 0.1vw, 0.25rem);
    }
    
    .nav-cta,
    .nav-signup {
        font-size: clamp(0.45rem, 0.8vw, 0.75rem) !important;
        padding: 0.75rem clamp(0.3rem, 0.6vw, 0.5rem) !important;
        white-space: nowrap;
        height: 40px !important;
    }
    
    .nav-menu {
        gap: 0.1rem !important;
    }
    
    .nav-container {
        padding: 0 0.25rem !important;
    }
    
    .hero-title-top {
        gap: 0.25rem;
        padding-left: 0.5rem;
        padding-right: 0.25rem;
        flex: 1 1 45%;
        min-width: 0;
        max-width: none;
        align-items: flex-end;
        overflow: hidden;
    }
    
    .hero-title-bottom {
        gap: 0.25rem;
        padding-right: 0.5rem;
        padding-left: 0.25rem;
        flex: 1 1 45%;
        min-width: 0;
        max-width: none;
        align-items: flex-start;
        overflow: hidden;
    }
    
    .logo-container {
        margin: 0 auto;
    }
}

/* Ноутбуки (1025px - 1199px) */
@media (max-width: 1199px) and (min-width: 1025px) {
    .nav-container {
        padding: 0 2rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 0.75rem 0.35rem;
    }
    
    .hero-title-wrapper {
        gap: 1.25rem;
        padding: 0;
        max-width: 100%;
        width: 100%;
    }
    
    .hero-title-top .word,
    .hero-title-bottom .word {
        font-size: clamp(0.7rem, 1.5vw, 2.5rem);
        letter-spacing: clamp(0.005em, 0.05vw, 0.025em);
    }
    
    .logo-main {
        max-width: 320px;
    }
    
    .hero-title-top,
    .hero-title-bottom {
        gap: clamp(1rem, 1.5vw, 2rem);
        max-width: 800px;
        margin: 0 auto;
        justify-content: center;
    }
    
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Планшеты и небольшие десктопы (769px - 1024px) */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 2rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.75rem 0.5rem;
    }
    
    .hero-title-wrapper {
        gap: 2rem;
        padding: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-title-top .word,
    .hero-title-bottom .word {
        font-size: clamp(0.6rem, 1.3vw, 2rem);
        letter-spacing: clamp(0.005em, 0.04vw, 0.02em);
    }
    
    .logo-main {
        max-width: 500px;
    }
    
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Планшеты (769px - 968px) */
@media (max-width: 968px) {
    .hero-title-top .word,
    .hero-title-bottom .word {
        font-size: clamp(0.6rem, 1.2vw, 2rem);
    }
    
    .news-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .news-card-large {
        grid-column: span 2;
    }
}

/* Малые планшеты и большие телефоны (481px - 768px) */
@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .nav-container {
        padding: 0 1.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--black);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        padding: 2rem 0;
        z-index: 1000;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        display: flex;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        padding: 1rem;
        width: 100%;
        justify-content: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-cta,
    .nav-signup {
        width: 100%;
        margin: 0.5rem 0;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger span {
        background: var(--white);
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Скрываем фоновое фото на мобильных */
    .hero-background-image {
        display: none !important;
    }
    
    .hero {
        padding: 100px 1.5rem 2rem;
        min-height: auto;
        background: linear-gradient(135deg, rgba(76, 29, 149, 0.9) 0%, rgba(91, 33, 182, 0.8) 100%);
    }
    
    /* Скрываем всплывающие слова на мобильных */
    .hero-title-top,
    .hero-title-bottom {
        display: none !important;
    }
    
    /* Показываем только логотип по центру */
    .hero-title-wrapper {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        min-height: auto;
        width: 100%;
    }
    
    .logo-container {
        order: 1;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .logo-main {
        max-width: 400px;
        width: 100%;
        height: auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .news-section {
        padding: 3rem 1.5rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-card-large {
        grid-column: span 1;
    }
    
    .news-title {
        font-size: 2rem;
    }
    
    .news-nav {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .news-nav-link {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
    
    .page-hero {
        padding: 100px 1.5rem 60px;
        min-height: auto;
    }
    
    .page-intro h1 {
        font-size: clamp(1.5rem, 4vw, 2.5rem) !important;
        white-space: normal !important;
        line-height: 1.3;
        word-break: break-word;
    }
    
    .page-intro p {
        font-size: 1.1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .consultation-form {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Мобильные телефоны (481px - 640px) */
@media (max-width: 640px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 80px 1rem 1.5rem;
    }
    
    .hero-welcome {
        padding: 1rem 0.75rem;
    }
    
    .hero-welcome-content {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .title-line:nth-child(2) {
        white-space: normal;
        word-break: break-word;
    }
    
    .hero-subtitle-text,
    .hero-info-text {
        padding: 0 0.25rem;
    }
    
    .hero-title-top .word,
    .hero-title-bottom .word {
        font-size: clamp(0.5rem, 1vw, 1.5rem);
        padding: 0 0.5rem;
        box-sizing: border-box;
    }
    
    .logo-main {
        max-width: 320px;
        width: 100%;
    }
    
    .hero-title-wrapper {
        max-width: 100%;
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .news-section {
        padding: 2rem 1rem;
    }
    
    .news-title {
        font-size: 1.75rem;
    }
    
    .page-hero {
        padding: 80px 1rem 40px;
    }
    
    .page-intro h1 {
        font-size: clamp(1.25rem, 5vw, 2rem) !important;
        white-space: normal !important;
        line-height: 1.3;
        word-break: break-word;
    }
    
    .page-intro p {
        font-size: 1rem;
    }
    
    .content-manager-container {
        padding: 1rem;
    }
    
    .pages-list {
        grid-template-columns: 1fr;
    }
    
    .content-editor {
        padding: 1.5rem;
    }
    
    .words-editor {
        grid-template-columns: 1fr;
    }
}

/* Малые мобильные телефоны (до 480px) */
@media (max-width: 480px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .nav-container {
        padding: 0 0.75rem;
    }
    
    .hamburger span {
        width: 20px;
        height: 2px;
    }
    
    /* Скрываем фоновое фото на мобильных */
    .hero-background-image {
        display: none !important;
    }
    
    .hero {
        padding: 70px 0.75rem 1rem;
    }
    
    .hero-welcome {
        padding: 1rem 0.5rem;
        min-height: auto;
    }
    
    .hero-welcome-content {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        gap: 1.5rem;
    }
    
    .hero-welcome-text {
        padding: 0;
        max-width: 100%;
        min-width: auto;
    }
    
    .title-line:first-child {
        font-size: clamp(1.25rem, 3.5vw, 2rem);
        line-height: 1.2;
        margin-bottom: 0.4rem;
    }
    
    .title-line:nth-child(2) {
        font-size: clamp(1.25rem, 3.5vw, 2rem);
        line-height: 1.2;
        margin-bottom: 0.4rem;
        white-space: normal;
        word-break: break-word;
    }
    
    .title-line.title-brand {
        font-size: clamp(1.75rem, 5vw, 3rem);
        line-height: 1.1;
        margin-bottom: 0.5rem;
    }
    
    .hero-main-title {
        margin-bottom: 1rem;
    }
    
    .hero-subtitle-text,
    .hero-info-text {
        font-size: clamp(0.65rem, 1.2vw, 0.85rem);
        margin-bottom: 0.3rem;
        line-height: 1.4;
        padding: 0 0.25rem;
    }
    
    .logo-right {
        max-width: 180px;
        background: linear-gradient(135deg, rgba(76, 29, 149, 0.9) 0%, rgba(91, 33, 182, 0.8) 100%);
    }
    
    /* Скрываем всплывающие слова на мобильных */
    .hero-title-top,
    .hero-title-bottom {
        display: none !important;
    }
    
    /* Показываем только логотип по центру */
    .hero-title-wrapper {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        width: 100%;
    }
    
    .logo-container {
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .logo-main {
        max-width: 360px;
        width: 100%;
        height: auto;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .news-section {
        padding: 1.5rem 0.75rem;
    }
    
    .news-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .news-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .news-nav-link {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
    
    .news-card-title {
        font-size: 1.25rem;
    }
    
    .news-card-subtitle {
        font-size: 0.875rem;
    }
    
    .page-hero {
        padding: 70px 0.75rem 30px;
    }
    
    .page-intro h1 {
        font-size: clamp(1.1rem, 5.5vw, 1.75rem) !important;
        white-space: normal !important;
        line-height: 1.3;
    }
    
    .page-intro p {
        font-size: 0.9rem;
    }
    
    .footer-column {
        margin-bottom: 1.5rem;
    }
    
    .footer-title {
        font-size: 1.125rem;
    }
    
    .footer-link,
    .footer-text {
        font-size: 0.875rem;
    }
    
    .consultation-form {
        padding: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.625rem;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .content-manager-container {
        padding: 0.75rem;
    }
    
    .content-manager-header h1 {
        font-size: 2rem;
    }
    
    .content-editor {
        padding: 1rem;
    }
    
    .editor-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .editor-section h3 {
        font-size: 1.25rem;
    }
}

/* Очень маленькие экраны (до 360px) */
@media (max-width: 360px) {
    .hero-title-top .word,
    .hero-title-bottom .word {
        font-size: clamp(0.4rem, 0.9vw, 1.2rem);
        letter-spacing: clamp(0.005em, 0.03vw, 0.015em);
        padding: 0 0.5rem;
        box-sizing: border-box;
    }
    
    .logo-main {
        max-width: 200px;
        width: 100%;
    }
    
    .hero-title-wrapper {
        max-width: 100%;
        padding: 0 0.5rem;
        gap: 0.75rem;
    }
    
    .hero-title-top,
    .hero-title-bottom {
        gap: 0.5rem;
    }
    
    .hero-title {
        font-size: 1.25rem;
    }
    
    .news-title {
        font-size: 1.25rem;
    }
    
    .page-intro h1 {
        font-size: clamp(1rem, 6vw, 1.5rem) !important;
        white-space: normal !important;
        line-height: 1.3;
    }
}

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 400px) {
    .page-intro h1 {
        font-size: clamp(0.9rem, 7vw, 1.4rem) !important;
        white-space: normal !important;
        line-height: 1.3;
        padding: 0 0.5rem;
        word-break: break-word;
    }
}

/* Cabinet Styles (keeping existing) */
.cabinet-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 40px;
}

.month-card {
    background: var(--white);
    border-radius: 0;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: all 0.3s;
}


.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.875rem;
}

.status-paid {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    color: #065F46;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.status-deferred {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    color: #92400E;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.status-confirmed {
    background: linear-gradient(135deg, #E0E7FF 0%, #C7D2FE 100%);
    color: #4338CA;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.btn-paid, .btn-deferred {
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-paid {
    background: linear-gradient(135deg, var(--secondary) 0%, #059669 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-deferred {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}


/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
}

.modal-content {
    background: rgba(76, 29, 149, 0.3);
    background: linear-gradient(to right, rgba(59, 15, 107, 0.7), rgba(76, 29, 149, 0.5));
    padding: 2.5rem;
    border-radius: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
    .modal-content {
        padding: 1.5rem;
        width: 95%;
        max-height: 85vh;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 1rem;
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--primary-light);
}

.modal-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
    letter-spacing: 0.02em;
    text-align: center;
}

.join-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.join-form .form-group {
    margin: 0;
}

.join-form .form-group label {
    display: none;
}

.join-form .form-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    color: #fff;
    font-size: 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.join-form .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.join-form .form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: var(--primary-dark);
}

.modal-form-group {
    margin-bottom: 1.5rem;
}

.modal-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

.modal-form-group input,
.modal-form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--light);
    border-radius: 0;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.modal-form-group input:focus,
.modal-form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--primary) 100%);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

.btn-cancel {
    background: var(--light);
    color: var(--text);
}


/* News Section */
.news-section {
    background: var(--black);
    color: var(--white);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.15), transparent),
        radial-gradient(2px 2px at 60px 70px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 50px 50px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 20px 40px, rgba(255, 255, 255, 0.15), transparent),
        radial-gradient(2px 2px at 90px 60px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.15), transparent);
    background-size: 200px 200px, 180px 180px, 150px 150px, 160px 160px, 170px 170px, 190px 190px;
    background-position: 0 0, 40px 60px, 130px 270px, 70px 100px, 20px 200px, 150px 150px;
    animation: snowflakes 20s linear infinite;
    pointer-events: none;
    opacity: 0.6;
}

@keyframes snowflakes {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(200px);
    }
}

.news-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 2rem;
    box-sizing: border-box;
    overflow-x: hidden;
}

.news-header {
    margin-bottom: 3rem;
}

.news-title {
    font-family: 'Inter', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.news-nav {
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 1rem;
}

.news-nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.05em;
    padding-bottom: 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.news-nav-link:hover {
    color: var(--primary);
}

.news-nav-link.active {
    color: var(--white);
}

.news-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
}

.news-card {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: scale(1.02);
}

.news-card-large {
    grid-row: span 2;
    aspect-ratio: auto;
}

.news-card-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    position: relative;
    background-size: cover;
    background-position: center;
}

.news-card-content {
    position: relative;
    z-index: 2;
}

.news-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.news-card-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-more {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.btn-show-more {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 1rem 3rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 0;
    position: relative;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-show-more::after {
    content: '▶';
    margin-left: 0.5rem;
    font-size: 0.875rem;
}

.btn-show-more:hover {
    background: var(--primary-dark);
}

.btn-media-link::after {
    content: none;
}

.news-grid-hidden {
    margin-top: 2rem;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .news-card-large {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 3rem 1.5rem;
    }
    
    .news-title {
        font-size: 2.5rem;
    }
    
    .news-nav {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .news-nav-link {
        font-size: 0.875rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card-large {
        grid-column: span 1;
    }
    
    .news-card-title {
        font-size: 1.5rem;
    }
}

/* Footer */
.footer {
    background: var(--black);
    padding: 3rem 2rem 2rem;
    margin-top: auto;
    border-top: 1px solid rgba(124, 58, 237, 0.3);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.footer-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
    overflow-x: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.footer-title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    width: 100%;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin: 0;
    padding: 0;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    transition: color 0.3s ease;
    line-height: 1.5;
    display: inline-block;
}

.footer-link:hover {
    color: var(--white);
}

.footer-contacts {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin: 0;
    padding: 0;
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
}

.footer-contact-item strong {
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-top: 0.5rem;
    width: 100%;
}

.footer-arrow {
    color: var(--primary);
    font-size: 0.75rem;
    margin-right: 0.5rem;
    display: inline-block;
}

.footer-strikethrough {
    text-decoration: line-through;
    text-decoration-color: var(--primary);
    text-decoration-thickness: 2px;
}

.footer-address {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.support-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.support-form .form-group {
    display: flex;
    flex-direction: column;
}

.support-form input,
.support-form textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    border-radius: 0;
}

.support-form input::placeholder,
.support-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.support-form input:focus,
.support-form textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.support-form textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-support {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 0;
}

.btn-support:hover {
    background: var(--primary-dark);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}


.social-link svg {
    width: 20px;
    height: 20px;
    fill: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    text-align: center;
}

@media (max-width: 1400px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .support-form input,
    .support-form textarea {
        font-size: 1rem;
    }
    
    .footer-title {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    
    .footer-link,
    .footer-text {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .footer-column {
        margin-bottom: 1.5rem;
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-link,
    .footer-text {
        font-size: 0.8rem;
    }
    
    .support-form input,
    .support-form textarea,
    .support-form button {
        font-size: 0.9rem;
        padding: 0.625rem;
    }
}
