/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    background: #000000; /* Черный фон для всех элементов */
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: transparent;
    overflow-x: hidden;
}

/* WebGL Fluid Simulation Background */
#fluid-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#fluid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* 20% черный оверлей для создания эффекта 80% непрозрачности */
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: multiply;
}





.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 15;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 25px; /* Поднял выше - было 20px */
    width: 100%;
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s ease; /* Плавная анимация */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 15px; /* Скругленные углы для красивого вида */
    margin: 0 20px; /* Отступы по бокам */
    width: calc(100% - 40px); /* Ширина с учетом отступов */
}

.navbar.active {
    top: 0; /* Активное положение - поднят к верху */
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-radius: 0; /* Убираем скругление в активном состоянии */
    margin: 0; /* Убираем отступы */
    width: 100%; /* Полная ширина */
}

.navbar.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    pointer-events: none;
    z-index: -1;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ffff;
    text-decoration: none;
}

.nav-logo i {
    font-size: 2rem;
    color: #00ffff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin-left: auto;
    margin-right: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #00ffff;
}

/* CTA Button */
.nav-cta-btn {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-cta-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #00ffff;
    transform: translateY(-2px);
}

.nav-cta-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-cta-btn:hover i {
    transform: translateX(3px);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: transparent;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Убираю сияние с Hero секции */
/* .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.10) 0%, rgba(0, 0, 0, 1) 55%, #000 100%);
    pointer-events: none;
    z-index: 1;
} */

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    opacity: 0; /* Изначально скрыт */
    transform: translateY(30px); /* Смещен вниз */
    transition: opacity 1s ease, transform 1s ease; /* Плавное появление */
}

.hero-title.show {
    opacity: 1;
    transform: translateY(0);
}

.gradient-text {
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    transform: translateY(-5px);
    border-color: #00ffff;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
    background: rgba(0, 255, 255, 0.1);
}

.project-ideas-btn.btn-primary:hover {
    transform: translateY(-3px);
    border-color: #00ffff;
    color: #00ffff;
    background: transparent;
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #00ffff;
}

.btn-secondary:hover {
    background: #00ffff;
    color: #000000;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: float 6s ease-in-out infinite;
    transition: all 0.3s ease;
}

.floating-card i {
    font-size: 2rem;
    color: #ffffff; /* Изменяем с #00ffff на белый */
}

.floating-card span {
    font-weight: 600;
    color: white;
}

.floating-card:hover {
    border-color: #00ffff;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.card-1 {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.card-2 {
    top: 55%;
    right: 10%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 15%;
    left: 25%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.section-header p {
    font-size: 1.1rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}

/* Stack Cards Section */
/*
.stack-section {
    height: 100vh;
    position: relative;
    background: #000000;
    overflow: hidden;
}

.stack-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.cards {
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 2;
}

.card {
    position: absolute;
    width: 60%;
    height: 25%;
    top: 37.5%;
    left: 20%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid #00ffff;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    opacity: 1;
    transform: translateY(400px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    will-change: transform, opacity;
}

.card-content {
    text-align: center;
    color: #ffffff;
    padding: 20px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #00ffff;
}

.card-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.card-icon {
    font-size: 2rem;
    margin-top: 10px;
}
*/

/* About Section */
.about {
    padding: 6rem 0;
    background: transparent;
    position: relative;
}

/* About Cards Grid */
.about-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

/* About Card */
.about-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-card:hover::before {
    opacity: 1;
}

.about-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(0, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Card Glow Effect */
.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.about-card:hover .card-glow {
    opacity: 1;
    animation: rotate 8s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Card Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.about-card:hover .card-icon-wrapper {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
    border-color: rgba(0, 255, 255, 0.5);
    transform: scale(1.1);
}

.card-icon-wrapper i {
    font-size: 1.5rem;
    color: #00ffff;
    transition: all 0.3s ease;
}

.about-card:hover .card-icon-wrapper i {
    transform: scale(1.2);
}

.card-badge {
    background: linear-gradient(135deg, #00ffff, #0080ff);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

/* Card Content */
.about-card h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Feature Tags */
.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.feature-tag {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: #00ffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.about-card:hover .feature-tag {
    background: rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Card CTA */
.card-cta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #00ffff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.about-card:hover .card-cta {
    color: #ffffff;
    transform: translateX(5px);
}

.card-cta i {
    transition: transform 0.3s ease;
}

.about-card:hover .card-cta i {
    transform: translateX(8px);
}

/* .about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 255, 255, 0.08) 0%, rgba(0, 0, 0, 1) 50%, #000 100%);
    pointer-events: none;
    z-index: 1;
} */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.about-text p {
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.8;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #0a0a0a 0%, #000000 100%);
    border: 2px solid #00ffff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #00ffff;
}

/* Philosophy Section */
.philosophy {
    padding: 6rem 0;
    background: transparent;
    color: white;
    position: relative;
}

.philosophy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.philosophy-block {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 900px;
    text-align: left;
}

.philosophy-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.philosophy-block:hover::before {
    opacity: 1;
}

.philosophy-block:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: rgba(0, 255, 255, 0.4);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(0, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.philosophy-block h2 {
    font-size: 3rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2;
}

.philosophy-block p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    line-height: 1.8;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
    letter-spacing: 0.5px;
}

/* Project Ideas Section - similar to Philosophy */
.project-ideas {
    padding: 6rem 0;
    background: transparent;
    color: white;
    position: relative;
}

.project-ideas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.project-ideas-block {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 900px;
    text-align: left;
}

.project-ideas-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-ideas-block:hover::before {
    opacity: 1;
}

.project-ideas-block:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: rgba(0, 255, 255, 0.4);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(0, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.project-ideas-block h2 {
    font-size: 3rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2;
}

.project-ideas-block p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    line-height: 1.8;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    letter-spacing: 0.5px;
}

.project-ideas-btn {
    margin-top: 1rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-ideas-btn:hover {
    transform: translateY(-3px);
    border-color: #00ffff;
    color: #00ffff;
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.3);
}

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

.achievement-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.achievement-card:hover::before {
    left: 100%;
}

.achievement-card:hover {
    transform: translateY(-10px);
    border-color: #00ffff;
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

.achievement-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #000000;
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ffff;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.achievement-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.achievement-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Geography Section */
.geography {
    padding: 6rem 0;
    background: transparent;
    position: relative;
}

/* Geography Content Layout */
.geography-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.geography-text h2 {
    font-size: 3.5rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.geography-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 500px;
}

/* Globe Container */
.geography-globe {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    perspective: 1000px;
    overflow: hidden;
}

.earth-3d-container {
    width: 400px;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    cursor: grab;
    transition: transform 0.3s ease;
    display: none; /* Hide old CSS version */
}

.earth-3d-container:active {
    cursor: grabbing;
}

/* Three.js container */
#earth-3d-container {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 10;
    border-radius: 50%;
    overflow: hidden;
}

#earth-3d-container canvas {
    border-radius: 50%;
    box-shadow: 
        0 0 50px rgba(0, 255, 255, 0.3),
        0 0 100px rgba(0, 255, 255, 0.1);
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.earth-sphere {
    display: none; /* Hide old CSS version */
}

.earth-texture {
    display: none; /* Hide old CSS version */
}

.earth-atmosphere {
    display: none; /* Hide old CSS version */
}

/* Additional 3D depth effect */
.earth-sphere::after {
    display: none; /* Hide old CSS version */
}

@keyframes atmosphere-glow {
    0% { 
        opacity: 0.3;
        transform: scale(1);
    }
    100% { 
        opacity: 0.6;
        transform: scale(1.05);
    }
}

/* 3D City markers are now handled by Three.js */

/* Vacancies & Contacts Section */
.vacancies-contacts {
    padding: 4rem 0;
    background: transparent;
    position: relative;
    z-index: 10;
    min-height: 400px; /* Добавляем минимальную высоту для видимости */
}

.blocks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.content-block {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 3rem 2rem;
    position: relative;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(50px);
}

/* Fallback для случаев, когда JS не загрузился */
.content-block.no-js,
.vacancies-contacts .content-block,
.process .content-block {
    opacity: 1;
    transform: translateY(0);
}

.content-block.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Staggered animation for philosophy cards */
.content-block:nth-child(1).animate-in { transition-delay: 0.1s; }
.content-block:nth-child(2).animate-in { transition-delay: 0.2s; }
.content-block:nth-child(3).animate-in { transition-delay: 0.3s; }
.content-block:nth-child(4).animate-in { transition-delay: 0.4s; }
.content-block:nth-child(5).animate-in { transition-delay: 0.5s; }
.content-block:nth-child(6).animate-in { transition-delay: 0.6s; }

.content-block:hover {
    transform: translateY(-5px);
    border-color: #00ffff;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.content-block h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
}

.content-block p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.block-arrow {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.content-block:hover .block-arrow {
    border-color: #00ffff;
    background: rgba(0, 255, 255, 0.1);
}

.block-arrow i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.content-block:hover .block-arrow i {
    color: #00ffff;
    transform: translateX(3px);
}

/* .services::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 255, 255, 0.09) 0%, rgba(0, 0, 0, 1) 45%, #000 100%);
    pointer-events: none;
    z-index: 1;
} */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #00ffff;
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #000000;
}

.service-icon i {
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.service-card p {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.5rem 0;
    color: #cccccc;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00ffff;
    font-weight: bold;
}

/* Ready Solutions Section */
.ready-solutions {
    padding: 6rem 0;
    background: transparent;
    position: relative;
}

.solutions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.solutions-header h2 {
    font-size: 3rem;
    font-weight: 300;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
}

.solutions-view-all-btn {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 1rem 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.solutions-view-all-btn:hover {
    border-color: #00ffff;
    color: #00ffff;
    transform: translateY(-2px);
}

.solutions-view-all-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.solutions-view-all-btn:hover i {
    transform: translateX(3px);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.solution-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 255, 255, 0.1);
}

.solution-content {
    margin-bottom: 2rem;
}

.solution-content h3 {
    font-size: 1.3rem;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.4;
    margin: 0;
}

.solution-mockups {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1rem;
    flex: 1;
    position: relative;
}

.mockup {
    position: relative;
    z-index: 1;
}

.phone-frame {
    width: 60px;
    height: 120px;
    background: #2a2a2a;
    border-radius: 12px;
    padding: 8px 6px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.phone-frame.orange {
    background: #ff6b35;
}

.screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qr-code {
    width: 30px;
    height: 30px;
    background: #000000;
    border-radius: 4px;
    margin-bottom: 8px;
    position: relative;
}

.qr-code::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background-image: 
        linear-gradient(45deg, transparent 40%, #000 40%, #000 60%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, #000 40%, #000 60%, transparent 60%);
    background-size: 4px 4px;
}

.qr-code-orange {
    width: 40px;
    height: 40px;
    background: #000000;
    border-radius: 4px;
    position: relative;
}

.qr-code-orange::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background-image: 
        linear-gradient(45deg, transparent 40%, #000 40%, #000 60%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, #000 40%, #000 60%, transparent 60%);
    background-size: 4px 4px;
}

.app-name {
    font-size: 8px;
    font-weight: bold;
    color: #4CAF50;
    background: #e8f5e8;
    padding: 2px 6px;
    border-radius: 4px;
}

.arena-logo {
    font-size: 12px;
    font-weight: bold;
    color: #2196F3;
}

.food-app {
    background: #f5f5f5;
    padding: 8px;
}

.food-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    width: 100%;
    height: 100%;
}

.food-item {
    background: #2196F3;
    border-radius: 4px;
    position: relative;
}

.food-item::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.delivery-app {
    background: #f8f8f8;
    padding: 6px;
}

.delivery-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.delivery-categories {
    height: 20px;
    background: linear-gradient(90deg, #4CAF50, #8BC34A, #CDDC39, #FFC107);
    border-radius: 2px;
}

.delivery-items {
    flex: 1;
    background: #ffffff;
    border-radius: 2px;
    border: 1px solid #e0e0e0;
}

.restaurant-app {
    background: #f0f0f0;
    padding: 6px;
}

.restaurant-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    width: 100%;
    height: 100%;
}

.restaurant-item {
    background: linear-gradient(135deg, #FF9800, #FF5722);
    border-radius: 3px;
    position: relative;
}

.restaurant-item::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 2px;
    right: 2px;
    height: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 1px;
}

.mockup-2 {
    transform: translateY(10px);
}

.mockup-4 {
    transform: translateY(15px);
}

.mockup-6 {
    transform: translateY(10px);
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background: transparent;
    position: relative;
    z-index: 10;
    min-height: 400px;
}



/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #00ffff;
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 255, 255, 0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.modal-header h2 {
    color: #ffffff;
    font-size: 1.8rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #00ffff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

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

.contact-info-content {
    color: #ffffff;
}

.contact-info-content .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-info-content .contact-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    color: #000000;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.contact-info-content .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-info-content .social-links a {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    color: #000000;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info-content .social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}

/* Modal Form Styles */
.modal-content .contact-form {
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

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

.modal-content .form-group input,
.modal-content .form-group select,
.modal-content .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #333333;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-sizing: border-box;
}

.modal-content .form-group input:focus,
.modal-content .form-group select:focus,
.modal-content .form-group textarea:focus {
    outline: none;
    border-color: #00ffff;
}

.modal-content .form-group input::placeholder,
.modal-content .form-group textarea::placeholder {
    color: #cccccc;
}

.modal-content .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: transparent;
    color: white;
    padding: 3rem 0 1rem;
    border-top: 1px solid #00ffff;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ffff;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #00ffff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #00ffff;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.telegram-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    max-width: fit-content;
}

.telegram-btn:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: #00ffff;
    color: #00ffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
}

.telegram-btn i {
    font-size: 1rem;
}

.telegram-btn span {
    font-size: 0.85rem;
    letter-spacing: 0.3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.85) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        width: 100%;
        text-align: center;
        transition: all 0.4s ease;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        border-left: 1px solid rgba(0, 255, 255, 0.2);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
        padding: 0.5rem 2rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-menu li:hover {
        background: rgba(0, 255, 255, 0.1);
        transform: translateX(5px);
    }
    
    .nav-menu a {
        display: block;
        padding: 0.8rem 0;
        font-size: 1.1rem;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .achievement-card {
        padding: 1.5rem;
    }
    
    .achievement-number {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .blocks-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .content-block {
        padding: 2rem 1.5rem;
        min-height: 180px;
    }
    
    .content-block h2 {
        font-size: 2rem;
    }
    
    .content-block p {
        font-size: 1rem;
    }
    
    .block-arrow {
        width: 40px;
        height: 40px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .solutions-header {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .solutions-header h2 {
        font-size: 2.5rem;
    }
    
    .solution-card {
        min-height: 350px;
        padding: 1.5rem;
    }
    
    .solution-content h3 {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-cta-btn {
        display: none;
    }
    
    .about-card {
        padding: 2rem 1.5rem;
    }
    
    .about-card h3 {
        font-size: 1.8rem;
    }
    
    .card-features {
        gap: 0.6rem;
    }
    
    .feature-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .geography {
        padding: 3rem 0 1rem;
    }
    
    .geography-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .geography-text h2 {
        font-size: 2.5rem;
    }
    
    .geography-text p {
        font-size: 1.1rem;
        max-width: 100%;
    }
    
    .geography-globe {
        height: 300px;
    }
    
    .ready-solutions {
        padding: 2rem 0 6rem;
    }
    
    .earth-3d-container {
        width: 250px;
        height: 250px;
    }
    
    #earth-3d-container {
        display: none;
    }

    
    .philosophy-block {
        padding: 2.5rem 2rem;
        margin: 0 1rem;
    }
    
    .philosophy-block h2 {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
    
    .philosophy-block p {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .project-ideas-block {
        padding: 2.5rem 2rem;
        margin: 0 1rem;
    }
    
    .project-ideas-block h2 {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
    
    .project-ideas-block p {
        font-size: 1.1rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .philosophy-block {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
    }
    
    .philosophy-block h2 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .philosophy-block p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .project-ideas-block {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
    }
    
    .project-ideas-block h2 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .project-ideas-block p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .solutions-header h2 {
        font-size: 2rem;
    }
    
    .solution-card {
        min-height: 300px;
        padding: 1rem;
    }
    
    .solution-content h3 {
        font-size: 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    background: #000000; /* Черный фон для предотвращения белых пробелов при прокрутке */
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.achievement-card,
.step {
    animation: fadeInUp 0.6s ease-out;
} 