:root {
    --primary-color: #6366F1;
    --primary-hover: #4f46e5;
    --bg-body: #ffffff;
    --bg-alt: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --card-bg: #ffffff;
    --card-border: rgba(99, 102, 241, 0.1);
    --nav-bg: rgba(255, 255, 255, 0.85);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.02);
    --shadow-md: 0 10px 30px -10px rgba(99, 102, 241, 0.15);
    --shadow-lg: 0 20px 50px -12px rgba(99, 102, 241, 0.2);
}

/* Global Reset & Typography */
body, button, input, select, textarea, .btn, h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    letter-spacing: -0.02em;
    overflow: hidden; /* Disable native scroll for JS control */
}

section, header, footer {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0 !important;
    flex-shrink: 0;
}

.main-wrapper {
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
    height: 100vh;
    width: 100%;
}

/* Side Navigation */
.side-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.side-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.3);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-nav-label {
    position: absolute;
    right: 25px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.side-nav-dot.active .side-nav-label {
    opacity: 1;
    transform: translateX(0);
}

/* Скрываем активный лейбл, когда навели на навигацию, но НЕ на саму активную точку */
.side-nav:hover .side-nav-dot.active:not(:hover) .side-nav-label {
    opacity: 0;
    transform: translateX(10px);
}

/* Показываем лейбл любой точки (в т.ч. активной) при наведении на неё */
.side-nav-dot:hover .side-nav-label {
    opacity: 1;
    transform: translateX(0);
}

.side-nav-dot.active {
    background: var(--primary-color);
    border-color: rgba(99, 102, 241, 0.2);
    transform: scale(1.4);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.side-nav-dot:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Light version for dark backgrounds */
.side-nav.light-mode .side-nav-dot {
    background: rgba(255, 255, 255, 0.3);
}

.side-nav.light-mode .side-nav-label {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.side-nav.light-mode .side-nav-dot:hover {
    background: #ffffff;
}

.side-nav.light-mode .side-nav-dot.active {
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* Hero Section */
.hero-section {
    padding: 0 !important;
    background: 
        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        var(--primary-color);
    overflow: hidden;
    position: relative;
}

.hero-header-logo {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.hero-header-logo img {
    filter: brightness(0) invert(1);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: #ffffff !important;
    max-width: 900px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 3rem;
    max-width: 580px;
    line-height: 1.7;
}

.hero-section .btn-outline-secondary {
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.hero-section .btn-outline-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
    /* transform: translateY(-3px); */ /* Убрал прыжок */
}

.hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    z-index: 1;
}

.morph-shape {
    width: 800px;
    height: 800px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 15s infinite alternate ease-in-out; /* Вернул более спокойную анимацию (15с) */
    position: absolute;
    right: -150px; /* Подвинул левее (было -150px) */
    /* filter: blur(4px); */ /* Блюр убран полностью по просьбе братана */
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); /* Сделал переход намного плавнее и длиннее */
    cursor: pointer;
}

.morph-shape:hover {

}

/* Particle Bubbles */
.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    z-index: 5;
    animation: particleFade 1s forwards ease-out;
}

@keyframes particleFade {
    0% { transform: scale(0.5) translateY(0); opacity: 0.6; }
    100% { transform: scale(1.2) translateY(-40px); opacity: 0; }
}

.hero-widget {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    animation: float 6s infinite ease-in-out;
    z-index: 2;
    color: #ffffff;
}

.hero-widget .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.hero-widget .icon-box {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.widget-1 { top: 20%; right: 40%; animation-delay: 0s; }
.widget-2 { bottom: 20%; right: 50%; animation-delay: -2s; }
.widget-3 { top: 50%; right: 30%; animation-delay: -4s; }

/* Navigation */
.menu-trigger {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Indigo mode for light sections */
.menu-trigger.indigo-mode {
    background: var(--primary-color);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.menu-trigger.indigo-mode .burger-icon span {
    background-color: #ffffff;
}

.menu-trigger:hover {
    transform: scale(1.05);
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.15);
}

.menu-trigger.indigo-mode:hover {
    background: var(--primary-hover);
}

.burger-icon {
    width: 24px;
    height: 14px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.burger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-icon span:last-child {
    width: 70%;
}

.menu-trigger:hover .burger-icon span:last-child {
    width: 100%;
}

.offcanvas {
    background: var(--primary-color); /* Сделал фон индиго, как на первом слайде */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    width: 350px !important;
    padding: 2rem;
}

.nav-link-custom {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 1;
    display: inline-block;
    letter-spacing: -0.02em;
}

.nav-link-custom:hover {
    opacity: 1;
    color: #ffffff;
    /* transform: translateX(10px); */ /* Убрал съезжание вправо */
}

/* Buttons */
.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 12px;
    padding: 0.8rem 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    line-height: 1.2;
    border: 2px solid transparent;
}

/* Utility Overrides */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
    color: #ffffff;
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline-secondary {
    border-color: var(--text-muted);
    color: var(--text-muted);
}

.btn-outline-secondary:hover {
    background-color: var(--text-muted);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-glass {
    background-color: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-glass:hover {
    background-color: rgba(255, 255, 255, 0.3) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Sections */
.section-padding {
    padding: 120px 0;
}

#services {
    background: 
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 70%),
        #d6dbff; /* Чуть более чистый и светлый оттенок */
    position: relative;
    overflow: hidden;
}

#services .container {
    max-width: 1200px;
}

#services h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

#services .text-muted {
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

#services .card {
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 32px;
    padding: 2.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    aspect-ratio: 1.4 / 1;
    justify-content: center;
}

#services .card:hover {
    transform: translateY(-15px) scale(1.02);
    background-color: rgba(255, 255, 255, 0.6);
    border-color: #ffffff;
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.2);
}

#services .icon-box {
    width: 80px;
    height: 80px;
    background: #ffffff;
    color: var(--primary-color);
    border-radius: 22px;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.15);
    border: none;
    transition: all 0.3s ease;
}

#services .card:hover .icon-box {
    background: var(--primary-color);
    color: #ffffff;
    transform: rotate(-5deg) scale(1.1);
}

#services h4 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

#services p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-main) !important;
    opacity: 0.8;
}

/* About Section */
#about {
    background: 
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
        var(--primary-color);
    position: relative;
    overflow: hidden;
}

#about h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

#about .text-muted {
    font-size: 1.2rem;
    margin-bottom: 4rem;
    color: rgba(255, 255, 255, 0.8) !important;
}

.about-card {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 32px;
    padding: 3rem 2rem;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #ffffff;
}

.about-card:hover {
    transform: translateY(-15px) scale(1.02);
    background-color: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-card .icon-box {
    width: 80px;
    height: 80px;
    background: #ffffff;
    color: var(--primary-color);
    border-radius: 22px;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.about-card:hover .icon-box {
    background: var(--primary-color);
    color: #ffffff;
    transform: rotate(5deg) scale(1.1);
}

.about-card h4 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.about-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8) !important;
}

#about .bg-alt {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff;
}

#about .bg-alt h3 {
    color: #ffffff !important;
}

#about .bg-alt p {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Tech Section */
#tech {
    background: 
        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
        #e0e4ff;
    position: relative;
    overflow: hidden;
}

#tech h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.tech-card {
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 2rem 1rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.tech-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.6);
    border-color: #ffffff;
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.15);
}

.tech-card .icon-box {
    width: 60px;
    height: 60px;
    background: #ffffff;
    color: var(--primary-color);
    border-radius: 18px;
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.1);
}

.tech-card:hover .icon-box {
    background: var(--primary-color);
    color: #ffffff;
    transform: scale(1.1);
}

.expertise-card {
    background-color: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.4s ease;
}

.expertise-card:hover {
    transform: translateY(-6px);
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.12);
}

.expertise-card .icon-box {
    width: 56px;
    height: 56px;
    background: #ffffff;
    color: var(--primary-color);
    border-radius: 16px;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.1);
}

.expertise-card h4 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.expertise-card p {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.expertise-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.45;
}

.expertise-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.1rem;
    color: var(--primary-color);
    font-size: 0.75rem;
}

/* Pricing */
#pricing {
    background: 
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
        var(--primary-color);
    position: relative;
    overflow: hidden;
}

#pricing h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

#pricing .text-muted {
    font-size: 1.2rem;
    margin-bottom: 4rem;
    color: rgba(255, 255, 255, 0.8) !important;
}

.pricing-card {
    text-align: center;
    position: relative;
    overflow: visible !important;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 32px;
    padding: 3rem 2rem;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    color: #ffffff;
}

.pricing-card:hover {
    transform: translateY(-15px) scale(1.02);
    background-color: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.border-primary {
    border-color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.2);
}

.pricing-card-main {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.pricing-card-desc {
    font-size: 0.95rem !important;
    margin-bottom: 0 !important;
    color: rgba(255, 255, 255, 0.75) !important;
}

.pricing-card-main .pricing-price {
    font-size: 2.1rem;
    margin: 1.5rem 0;
}

.pricing-card-main .pricing-features {
    flex: 1;
    margin-bottom: 1.5rem;
}

.pricing-card-main .btn {
    margin-top: auto;
}

.pricing-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    color: var(--primary-color);
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 100px;
    z-index: 10;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    margin: 2rem 0;
    letter-spacing: -0.02em;
    color: #ffffff !important;
}

.pricing-price small {
    color: rgba(255, 255, 255, 0.6) !important;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.pricing-features li i {
    color: #ffffff;
    margin-right: 12px;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px;
    border-radius: 50%;
}

/* Contact Section */
#contact {
    background: 
        radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        #f0f2ff;
    position: relative;
    overflow: hidden;
}

#contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

#contact .text-muted {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.8) !important;
}

.contact-card {
    background-color: rgb(100 102 241);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    padding: 3.5rem !important;
}

.glass-input {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.glass-input:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
    outline: none;
}

#contact .form-label {
    color: #ffffff !important;
    opacity: 0.8 !important;
    font-size: 0.85rem;
}

#contact .btn-glass {
    background-color: #ffffff !important;
    color: var(--primary-color) !important;
    border: none !important;
    border-radius: 10px;
}

#contact .btn-glass:hover {
    background-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.file-drop-zone {
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    color: #ffffff;
}

.file-drop-zone .text-primary {
    color: #ffffff !important;
}

.file-drop-zone .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.file-drop-zone.dragover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.file-drop-zone.dragover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
    transform: scale(1.01);
}

.file-item {
    background: white;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    border: 1px solid var(--card-border);
    color: #334155;
}

.file-item .text-primary {
    color: var(--primary-color) !important;
}

.file-item span {
    color: #334155;
}

.file-item .remove-file {
    color: #ef4444;
    cursor: pointer;
    font-size: 1rem;
}

.very-small {
    font-size: 0.75rem;
}

.custom-check .form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.custom-check .form-check-input:checked {
    background-color: #ffffff;
    border-color: #ffffff;
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%236366f1' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.custom-check .form-check-input:focus {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.15);
}

.hover-white:hover {
    color: #ffffff !important;
}

/* Footer */
.footer {
    padding: 100px 0 60px;
    background-color: #6466f1;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.footer h6 {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.footer .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: #ffffff;
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: #ffffff;
}

.footer-map-container {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-radius: 24px;
    overflow: hidden;
}

.group:hover .icon-box {
    background-color: #ffffff !important;
    color: var(--primary-color) !important;
    transform: scale(1.1);
}

.group:hover span {
    color: #ffffff !important;
}

.transition-colors {
    transition: color 0.3s ease;
}

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

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
    100% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

@media (max-width: 1200px) {
    body {
        overflow: auto !important;
        height: auto !important;
    }

    .main-wrapper {
        transform: none !important;
        height: auto !important;
    }

    section, header, footer {
        height: auto !important;
        min-height: 100vh;
        padding: 60px 0 !important;
        display: block !important;
    }

    .hero-section {
        display: flex !important;
        align-items: center;
        padding-top: 120px !important;
    }

    .hero-header-logo {
        top: 20px;
    }

    .hero-header-logo img {
        height: 60px !important;
    }

    .hero-title {
        font-size: 2.2rem !important;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.1rem !important;
        text-align: center;
        margin-bottom: 2rem;
    }

    .hero-section .d-flex {
        flex-direction: column;
        width: 100%;
    }

    .hero-section .btn {
        width: 100%;
    }

    .btn-lg, .btn-glass {
        width: 100%;
    }

    .hero-section .d-flex.gap-3 {
        flex-direction: column;
        gap: 10px !important;
    }

    .pricing-card .btn {
        width: 100%;
    }

    .menu-trigger {
        width: 50px;
        height: 50px;
        top: 20px;
        left: 20px;
        border-radius: 15px;
    }

    .side-nav {
        display: none !important;
    }

    /* Services */
    #services h2 {
        font-size: 2.5rem !important;
    }

    #services .card {
        aspect-ratio: auto !important;
        padding: 1.5rem !important;
        margin-bottom: 1rem;
    }

    #services .icon-box {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    #services h4 {
        font-size: 1.4rem !important;
    }

    #services p {
        font-size: 0.95rem !important;
    }

    /* About */
    #about h2 {
        font-size: 2.5rem !important;
    }

    .about-card {
        padding: 1.5rem !important;
    }

    .about-card .icon-box {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .about-card h4 {
        font-size: 1.4rem !important;
    }

    .about-card p {
        font-size: 0.95rem !important;
    }

    /* Tech */
    #tech h2 {
        font-size: 2.5rem !important;
    }

    .tech-card {
        padding: 1rem !important;
    }

    .tech-card .icon-box {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .tech-card p {
        font-size: 0.9rem !important;
    }

    /* Pricing */
    #pricing h2 {
        font-size: 2.5rem !important;
    }

    .pricing-card {
        padding: 2rem 1.5rem !important;
    }

    /* Contact */
    .contact-card {
        padding: 2rem 1.5rem !important;
    }

    .contact-card h2 {
        font-size: 2rem !important;
    }

    .file-drop-zone {
        padding: 1rem !important;
    }

    #contact .btn-glass {
        width: 100%;
    }

    /* Footer */
    .footer {
        height: auto !important;
        padding: 40px 0 !important;
    }

    .footer-map-container iframe {
        height: 250px !important;
    }

    .footer {
        text-align: center;
    }

    .footer .footer-links {
        padding: 0;
    }

    .footer .d-flex.flex-column {
        align-items: center !important;
    }

    .footer .social-link {
        margin: 0 auto;
    }

    .footer .d-flex.gap-3 {
        justify-content: center;
    }
}

/* Презентация: компактнее на ноутбуках и невысоких экранах */
@media (min-width: 1200px) and (max-width: 1600px),
       (min-width: 1200px) and (max-height: 900px) {
    section, header, footer {
        padding: 55px 0 !important;
    }

    .section-padding {
        padding: 55px 0;
    }

    .section-padding .text-center.mb-5,
    #services .text-center.mb-5,
    #about .text-center.mb-5,
    #tech .text-center.mb-5,
    #pricing .text-center.mb-5 {
        margin-bottom: 1.5rem !important;
    }

    #services h2,
    #about h2,
    #tech h2,
    #pricing h2 {
        font-size: 3.15rem;
        margin-bottom: 0.75rem;
    }

    #services .text-muted,
    #about .text-muted,
    #tech .text-muted,
    #pricing .text-muted {
        font-size: 1.08rem;
        margin-bottom: 2rem !important;
    }

    #services .card {
        padding: 2rem;
        aspect-ratio: 1.55 / 1;
    }

    #services .icon-box {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }

    #services h4 {
        font-size: 1.55rem;
        margin-bottom: 0.75rem;
    }

    #services p {
        font-size: 0.94rem;
        line-height: 1.45;
    }

    #services .row.g-4 {
        --bs-gutter-y: 1rem;
        --bs-gutter-x: 1rem;
    }

    .about-card {
        padding: 2rem;
    }

    .about-card .icon-box {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }

    .about-card h4 {
        font-size: 1.35rem;
    }

    .about-card p {
        font-size: 0.9rem;
    }

    .expertise-card {
        padding: 1.75rem;
    }

    .expertise-card h4 {
        font-size: 1.2rem;
    }

    .expertise-card p {
        font-size: 0.85rem;
    }

    .expertise-list li {
        font-size: 0.83rem;
    }

    .tech-card {
        padding: 1.5rem 0.85rem;
    }

    .tech-card .icon-box {
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .tech-card p {
        font-size: 0.9rem;
    }

    .pricing-card {
        padding: 2.25rem 1.75rem;
    }

    .pricing-card-main h4 {
        font-size: 1.15rem;
    }

    .pricing-card-desc {
        font-size: 0.85rem !important;
    }

    .pricing-card-main .pricing-price {
        font-size: 1.9rem;
        margin: 1.25rem 0;
    }

    .pricing-features li {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .contact-card {
        padding: 2.5rem !important;
    }
}

@media (min-width: 1200px) and (max-height: 780px) {
    #services .card {
        aspect-ratio: auto;
        padding: 1.65rem;
    }

    #services .icon-box {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    #services h4 {
        font-size: 1.4rem;
    }

    #services p {
        font-size: 0.88rem;
    }
}

/* Form Controls */
.form-control {
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    border-color: var(--primary-color);
}

#contact .alert {
    border-radius: 12px;
    border: none;
    font-size: 0.9rem;
}

#contact .alert-success {
    background: rgba(255, 255, 255, 0.95);
    color: #166534;
}

#contact .alert-danger {
    background: rgba(254, 226, 226, 0.95);
    color: #991b1b;
}
