:root {
    --bg-deep: #0a0a14;
    --glass-bg: rgba(255,255,255,0.03);
    --glass-border: rgba(255,255,255,0.08);
    --glass-shadow: 0 8px 32px rgba(0,0,0,0.4);
    --accent-cyan: #00f2fe;
    --accent-blue: #4facfe;
    --text-primary: #fff;
    --text-secondary: #ffffff;
    --card-hover-bg: rgba(255,255,255,0.06);
    --gradient-main: linear-gradient(135deg, #00f2fe, #4facfe);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}
body.modal-open {
    overflow: hidden;
}

.background-glow {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
    background: radial-gradient(ellipse at 20% 50%, rgba(0,242,254,0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(178,36,239,0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 40% 80%, rgba(255,126,179,0.06) 0%, transparent 50%);
    animation: floatGlow 12s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes floatGlow {
    0% { opacity: 0.7; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.15); }
}
.grid-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    pointer-events: none;
}

h1, h2, h3, .gradient-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}
@media (max-width: 768px) {
    .section-title {
        white-space: normal;
        left: 0;
        transform: none;
        text-align: center;
        width: 100%;
        font-size: 2.2rem;
    }
}
.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 3.5rem;
    font-weight: 400;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}
@media (max-width: 480px) {
    .container { padding: 0 1.2rem; }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.2rem 0;
    background: rgba(10,10,20,0.65);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s ease;
}
.header.scrolled {
    background: rgba(10,10,20,0.85);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.logo-img {
    height: 50px;
    width: auto;
    display: block;
    transition: height 0.3s ease;
}
.logo-text-group {
    display: flex;
    align-items: center;
}
.logo-full {
    font-size: 1.5rem;
    white-space: nowrap;
}
.logo-short {
    font-size: 1.8rem;
    display: none;
    white-space: nowrap;
}
.logo-slogan {
    font-size: 0.7rem;
    font-weight: normal;
    color: var(--text-secondary);
    background: none;
    -webkit-text-fill-color: initial;
    margin-left: 0.5rem;
    line-height: 1.2;
    display: inline-block;
    white-space: nowrap;
}
.logo-full { display: inline-block; }
.logo-short { display: none; }
.logo-slogan { display: none; }

.header.scrolled .logo-full { display: none; }
.header.scrolled .logo-short { display: inline-block; }
.header.scrolled .logo-slogan { display: inline-block; }

@media (max-width: 768px) {
    .logo-full { font-size: 1.1rem; }
    .logo-short { font-size: 0.9rem; white-space: nowrap; }
    .logo-slogan { font-size: 0.5rem; max-width: 180px; white-space: normal; word-break: keep-all; line-height: 1.2; margin-left: 0.3rem; }
    .logo-img { height: 38px; }
}
@media (max-width: 480px) {
    .logo-full { font-size: 0.9rem; }
    .logo-short { font-size: 0.8rem; }
    .logo-slogan { font-size: 0.45rem; max-width: 160px; }
    .logo-img { height: 32px; }
}

.desktop-header .logo-full { font-size: 1.6rem; }
.desktop-header .logo-short { font-size: 1.2rem; }
.desktop-header .logo-slogan { font-size: 0.7rem; white-space: nowrap; }

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
    position: relative;
    padding: 0.3rem 0;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-cyan);
    transition: width 0.25s ease;
    box-shadow: 0 0 8px var(--accent-cyan);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-links .btn-connect {
    background: var(--gradient-main);
    color: #0a0a14;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,242,254,0.25);
    transition: all 0.3s;
    display: inline-block;
}
.nav-links .btn-connect:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,242,254,0.4);
    color: #0a0a14;
}
.nav-links .btn-connect::after { display: none; }

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 101;
    background: 0 0;
    border: none;
    padding: 0.5rem;
}
.burger span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
}
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
    .burger { display: flex; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10,10,20,0.95);
        backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.4s ease;
        box-shadow: -5px 0 30px rgba(0,0,0,0.5);
        border-left: 1px solid rgba(255,255,255,0.1);
        padding: 2rem;
        z-index: 102;
    }
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 1.3rem; }
    .header { z-index: 101; }
}

.btn {
    background: var(--gradient-main);
    border: none;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #0a0a14;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0,242,254,0.25);
    text-decoration: none;
    min-width: 200px;
    text-align: center;
}
.btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,242,254,0.4);
}
.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    box-shadow: none;
}
.btn-outline:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.5);
}
.btn-white-solid {
    background: #fff;
    color: #0a0a14;
    border: none;
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}
.btn-white-solid:hover {
    background: #f0f0f0;
}
.detail-btn {
    background: var(--gradient-main);
    color: #0a0a14;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    width: auto;
    min-width: 140px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,242,254,0.2);
}
.detail-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0,242,254,0.4);
}
.solution-info { text-align: center; }

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    position: relative;
    overflow: hidden;
}
.hero-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    object-fit: cover;
    filter: blur(12px) brightness(0.65);
    transform: scale(1.05);
}
.hero-animated-bg {
    display: none;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    background: linear-gradient(125deg, #0f0c29, #302b63, #24243e);
    background-size: 200% 200%;
    animation: gradientShift 12s ease infinite;
}
.hero-animated-bg::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(0,242,254,0.25) 0%, rgba(79,172,254,0.1) 30%, transparent 70%);
    animation: rotateGlow 20s linear infinite;
    pointer-events: none;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@media (max-width: 1023px) {
    .hero-video { display: none; }
    .hero-animated-bg { display: block; }
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(10,10,20,0.5);
    z-index: 1;
}
.hero-edge-fade {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2;
    background: radial-gradient(ellipse at center, rgba(10,10,20,0) 40%, rgba(10,10,20,0.85) 90%, var(--bg-deep) 100%);
    pointer-events: none;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    z-index: 3;
    position: relative;
    width: 100%;
}
.hero h1 {
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.hero p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    .btn { padding: 0.6rem 1rem; font-size: 0.9rem; min-width: 160px; }
}

section {
    padding: 6rem 0;
    position: relative;
}
#services {
    padding-top: 6rem;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 2.2rem 1.8rem;
    transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at 90% 10%, rgba(255,255,255,0.08) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.4s;
}
.card:hover {
    transform: translateY(-10px) scale(1.02);
    background: var(--card-hover-bg);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(0,242,254,0.1);
}
.card:hover::before { opacity: 1; }
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}
.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: start;
}
.solution-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    overflow: hidden;
    transition: all 0.4s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.solution-card:hover {
    transform: none;
    border-color: rgba(0,242,254,0.6);
    box-shadow: 0 20px 40px -12px rgba(0,0,0,0.8), 0 0 0 2px rgba(0,242,254,0.3);
}
.solution-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    flex-shrink: 0;
}
.solution-img::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 60%;
    background: linear-gradient(to top, rgba(10,10,20,0.9), transparent);
}
.solution-tag {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.2);
}
.solution-info {
    padding: 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.solution-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.solution-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex: 1;
}
@media (max-width: 768px) {
    .cards-grid, .solutions-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
}

.contact-section {
    margin-top: 2rem;
}
.contact-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 48px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--glass-shadow);
}
.contact-panel h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 0.75rem;
}
.contact-panel > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.qr-code {
    display: block;
    margin: 1.5rem auto;
    max-width: 100%;
    width: auto;
    height: auto;
    max-width: 250px;
    max-height: 250px;
    border-radius: 16px;
    background: #fff;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.contact-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}
.contact-card {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
    border-radius: 80px;
    padding: 0.9rem 2rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s, background 0.2s;
    border: 1px solid rgba(255,255,255,0.1);
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
}
.contact-card i {
    font-size: 1.8rem;
    color: var(--accent-cyan);
}
.contact-card span { letter-spacing: -0.01em; }
.contact-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(0,242,254,0.4);
}
#openFeedbackBtn {
    background: var(--gradient-main);
    color: #0a0a14;
    border: none;
    box-shadow: 0 4px 15px rgba(0,242,254,0.25);
    padding: 0.9rem 2rem;
    border-radius: 80px;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    min-width: auto;
}
#openFeedbackBtn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,242,254,0.4);
}
.feedback-btn { margin-top: 1rem; }
@media (max-width: 700px) {
    .contact-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .contact-card { width: 80%; justify-content: center; }
    #openFeedbackBtn {
        width: 80%;
        justify-content: center;
    }
    .qr-code {
        max-width: 180px;
        padding: 6px;
    }
}
@media (max-width: 480px) {
    .contact-card {
        width: 95%;
        padding: 0.7rem 1.2rem;
        font-size: 1rem;
    }
    .contact-card i { font-size: 1.4rem; }
    #openFeedbackBtn {
        width: 95%;
        padding: 0.7rem 1.2rem;
        font-size: 1rem;
        gap: 0.8rem;
    }
    .qr-code {
        max-width: 150px;
        padding: 5px;
    }
}

.telegram-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background: #27a6e5;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}
.telegram-chat i {
    font-size: 32px;
    color: #fff;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}
.telegram-chat:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    background: #1e7fb5;
}

.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(15px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal.active {
    display: flex;
    opacity: 1;
}
.modal-content {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 2rem;
    box-shadow: 0 30px 50px rgba(0,0,0,0.6);
    animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.modal-close {
    position: absolute;
    top: 1.2rem; right: 1.5rem;
    font-size: 1.8rem;
    cursor: pointer;
    color: #fff;
    background: rgba(0,0,0,0.5);
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    transition: 0.2s;
    z-index: 10;
}
.modal-close:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
}
.modal-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: 'Space Grotesk', sans-serif;
}
.modal-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}
.slider-container {
    position: relative;
    margin-top: 1rem;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(0,0,0,0.3);
}
.slider-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    background: #1a1a2e;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    width: 45px; height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: 0.2s;
    z-index: 5;
}
.slider-btn:hover {
    background: rgba(255,255,255,0.3);
}
.prev-btn { left: 15px; }
.next-btn { right: 15px; }
.indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 10px;
}
.indicator {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: 0.2s;
}
.indicator.active {
    background: var(--accent-cyan);
    transform: scale(1.2);
    box-shadow: 0 0 8px var(--accent-cyan);
}
@media (max-width: 768px) {
    .slider-image { height: 250px; }
}

.modal-form .modal-content {
    max-width: 500px;
}
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(255,255,255,0.1);
}
.form-group textarea {
    min-height: 100px;
    resize: vertical;
}
.checkbox-group {
    margin: 1rem 0;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.checkbox-label input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-cyan);
}
.submit-btn {
    background: var(--gradient-main);
    color: #0a0a14;
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}
.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,242,254,0.4);
}
.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.form-status {
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: 12px;
    display: none;
}
.form-status.success {
    background: rgba(0,255,0,0.1);
    border: 1px solid #00ff00;
    color: #00ff00;
    display: block;
}
.form-status.error {
    background: rgba(255,0,0,0.1);
    border: 1px solid #ff0000;
    color: #ff0000;
    display: block;
}

.footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 2.5rem 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    background: rgba(10,10,20,0.5);
    margin-top: 1rem;
}
@media (max-width: 768px) {
    .footer p br {
        display: block;
    }
}

.dev-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}
.dev-modal {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 2rem;
    max-width: 400px;
    text-align: center;
    animation: fadeInUp 0.4s ease;
}
.dev-modal h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.dev-modal p { margin-bottom: 1.5rem; color: var(--text-secondary); }
.dev-modal .btn { background: var(--gradient-main); min-width: 120px; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 10000;
    background: rgba(10,10,20,0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 2rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.5);
}
.cookie-banner.show {
    transform: translateY(0);
}
.cookie-banner-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.cookie-banner-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}
.cookie-btn {
    background: var(--gradient-main);
    color: #0a0a14;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    min-width: auto;
}
.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,242,254,0.4);
}
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .cookie-banner {
        padding: 1rem;
    }
}

.policy-links {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}
.policy-link {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    font-weight: 500;
    letter-spacing: 0.3px;
}
.policy-link:hover {
    color: var(--accent-cyan);
    text-decoration: underline;
}
.slide-contact .policy-links {
    margin-top: 2rem;
    padding-top: 1.5rem;
}
@media (max-width: 700px) {
    .policy-links {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
}

@media (hover: none) and (pointer: coarse), (max-width: 1023px) {
    .mobile-content .hero .hero-buttons { display: none; }
    .hero { padding-top: 7rem; }
    .hero p { text-align: justify; margin: 0; text-indent: 1.5em; }
    .hero p:first-of-type { margin-top: 1.5rem; }
    section { padding: 4.5rem 0; }
    #services { padding-top: 4.5rem; }
    .card { text-align: center; }
    .card-icon { display: block; margin-left: auto; margin-right: auto; }
    .card h3, .card p { text-align: center; }
    .highlight-word { display: inline; transition: all 0.3s ease; }
    .highlight-word.in-view {
        background: var(--gradient-main);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 0 6px rgba(0, 242, 254, 0.8), 0 0 12px rgba(0, 242, 254, 0.4);
    }
    .card.in-view {
        transform: translateY(-10px) scale(1.02);
        background: var(--card-hover-bg);
        border-color: rgba(255,255,255,0.2);
        box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(0,242,254,0.1);
        transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
    }
    .card.in-view::before { opacity: 1; }
    .solution-card.in-view {
        border-color: rgba(0,242,254,0.6);
        box-shadow: 0 20px 40px -12px rgba(0,0,0,0.8), 0 0 0 2px rgba(0,242,254,0.3);
        transition: all 0.4s;
    }
    .desktop-swiper { display: none; }
    .mobile-content { display: block; }
    .stars-canvas {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 0;
    }
    .hero, .cards-grid, .solutions-grid, .contact-panel, .footer {
        position: relative;
        z-index: 2;
    }
}

.desktop-swiper {
    display: none;
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
    .desktop-swiper { display: block; }
    .mobile-content { display: none; }
    .desktop-swiper {
        width: 100%;
        height: 100vh;
        position: relative;
    }
    body {
        overflow: hidden;
        height: 100vh;
    }
    .main-swiper {
        width: 100%;
        height: 100vh;
    }
    .swiper-slide {
        position: relative;
        overflow: hidden;
    }
    .slider__layer {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        will-change: transform;
        pointer-events: none;
    }
    .slider__item {
        overflow: hidden;
        transition: transform 2s ease !important;
    }
    .slider__item:not(.swiper-slide-active) {
        transform: none !important;
    }
    .hero-video-layer {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        object-fit: cover;
        z-index: 1;
        filter: blur(12px) brightness(0.65);
        transform: scale(1.05);
        pointer-events: none;
    }
    .slide-content {
        position: relative;
        z-index: 10;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 2rem;
        overflow-y: auto;
        max-height: 100%;
        scrollbar-width: thin;
    }
    .desktop-solutions-grid {
        padding-right: 5px;
    }
    .slide-content .section-title,
    .slide-content .hero-content h1,
    .slide-content .contact-panel h2 {
        display: block !important;
        left: auto !important;
        transform: none !important;
        text-align: center !important;
        width: 100% !important;
        white-space: normal !important;
    }
    .desktop-hero-title {
        font-size: clamp(2.2rem, 6vw, 3.6rem) !important;
        letter-spacing: -0.01em;
        line-height: 1.2;
    }
    .slide-hero .hero-content {
        max-width: 960px;
        text-align: center;
    }
    .slide-hero .hero-content p {
        font-size: clamp(1.12rem, 2.8vw, 1.44rem) !important;
        text-align: center;
        margin-bottom: 0;
    }
    .slide-hero .hero-content p:first-of-type {
        margin-top: 1.5rem;
    }

    .cards-grid {
        align-items: start;
    }
    .card {
        min-height: 380px;
        transition: min-height 0.3s ease;
        display: flex;
        flex-direction: column;
    }
    .card:hover {
        min-height: auto;
    }
    .card p {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.3s ease;
        margin-top: 0;
        margin-bottom: 0;
    }
    .card:hover p {
        max-height: 200px;
        opacity: 1;
        margin-top: 1rem;
        margin-bottom: 0;
    }

    .hero-text-container:hover p {
        color: rgba(255, 255, 255, 0.5);
    }
    .hero-text-container:hover .highlight-word {
        color: #00e1ff;
        transform: scale(1.00) translateY(-2px);
        display: inline-block;
        text-shadow: 0 0 6px rgba(0, 242, 254, 0.8), 0 0 12px rgba(0, 242, 254, 0.4);
        transition: all 0.1s ease;
    }
    .highlight-word {
        display: inline-block;
        transition: all 0.2s ease;
    }

    .slide-content .section-title,
    .slide-content .hero-content h1,
    .slide-content .contact-panel h2 {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .swiper-slide-active .slide-content .section-title,
    .swiper-slide-active .slide-content .hero-content h1,
    .swiper-slide-active .slide-content .contact-panel h2 {
        opacity: 1;
        transform: translateY(0);
    }
    .swiper-slide-active .card,
    .swiper-slide-active .solution-card,
    .swiper-slide-active .contact-card,
    .swiper-slide-active .btn {
        animation: fadeSlideUp 0.5s ease forwards;
        opacity: 0;
    }
    @keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .swiper-slide-active .card:nth-child(1) { animation-delay: 0.1s; }
    .swiper-slide-active .card:nth-child(2) { animation-delay: 0.2s; }
    .swiper-slide-active .card:nth-child(3) { animation-delay: 0.3s; }
    .swiper-slide-active .card:nth-child(4) { animation-delay: 0.4s; }
    .swiper-slide-active .solution-card:nth-child(1) { animation-delay: 0.1s; }
    .swiper-slide-active .solution-card:nth-child(2) { animation-delay: 0.2s; }
    .swiper-slide-active .solution-card:nth-child(3) { animation-delay: 0.3s; }
    .swiper-slide-active .solution-card:nth-child(4) { animation-delay: 0.4s; }
    .swiper-pagination {
        bottom: 20px !important;
        z-index: 20;
    }
    .swiper-pagination-bullet {
        background: #fff;
        opacity: 0.5;
    }
    .swiper-pagination-bullet-active {
        background: var(--accent-cyan);
    }
    .desktop-header {
        position: fixed;
        top: 0; left: 0;
        width: 100%;
        z-index: 1000;
        background: rgba(10,10,20,0.65);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255,255,255,0.06);
        transition: all 0.3s ease;
    }
    .desktop-header.scrolled {
        background: rgba(10,10,20,0.85);
        box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    }
    .desktop-header .nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    .desktop-header .logo {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    .desktop-header .logo-img {
        height: 50px;
    }
    .desktop-header .logo-full {
        font-size: 1.6rem;
    }
    .desktop-header .logo-short {
        font-size: 1.2rem;
    }
    .desktop-header .logo-slogan {
        font-size: 0.7rem;
        white-space: nowrap;
    }
    .desktop-header .nav-links {
        display: flex;
        gap: 2.5rem;
        list-style: none;
        align-items: center;
    }
    .desktop-header .nav-links a {
        color: var(--text-secondary);
        text-decoration: none;
        font-weight: 500;
        font-size: 1rem;
        transition: color 0.2s;
        position: relative;
        padding: 0.3rem 0;
    }
    .desktop-header .nav-links a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0%;
        height: 2px;
        background: var(--accent-cyan);
        transition: width 0.25s ease;
        box-shadow: 0 0 8px var(--accent-cyan);
    }
    .desktop-header .nav-links a:hover { color: #fff; }
    .desktop-header .nav-links a:hover::after { width: 100%; }
    .desktop-header .nav-links .btn-connect {
        background: var(--gradient-main);
        color: #0a0a14;
        padding: 0.5rem 1.5rem;
        border-radius: 30px;
        font-weight: 600;
        box-shadow: 0 4px 15px rgba(0,242,254,0.25);
        transition: all 0.3s;
        display: inline-block;
    }
    .desktop-header .nav-links .btn-connect:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0,242,254,0.4);
        color: #0a0a14;
    }
    .desktop-header .burger {
        display: none;
    }
    .cards-grid, .solutions-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 2rem;
        margin-top: 1rem;
        width: 100%;
    }
    .card {
        background: var(--glass-bg);
        backdrop-filter: blur(16px);
        border: 1px solid var(--glass-border);
        border-radius: 28px;
        padding: 2.2rem 1.8rem;
        transition: all 0.4s;
        box-shadow: var(--glass-shadow);
    }
    .card:hover {
        transform: translateY(-10px) scale(1.02);
        background: var(--card-hover-bg);
        border-color: rgba(255,255,255,0.2);
        box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(0,242,254,0.1);
    }
    .solution-card {
        background: var(--glass-bg);
        backdrop-filter: blur(16px);
        border: 1px solid var(--glass-border);
        border-radius: 32px;
        overflow: hidden;
        transition: all 0.4s;
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .solution-card:hover {
        transform: none;
        border-color: rgba(0,242,254,0.6);
        box-shadow: 0 20px 40px -12px rgba(0,0,0,0.8), 0 0 0 2px rgba(0,242,254,0.3);
    }
    .contact-panel {
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        border: 1px solid var(--glass-border);
        border-radius: 48px;
        padding: 3rem 2rem;
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }
    .contact-panel h2, .contact-panel h3 {
        color: var(--text-primary);
    }
    .contact-panel p {
        color: var(--text-secondary);
        margin-bottom: 1.5rem;
    }
    .qr-code {
        margin: 1.5rem auto;
        max-width: 250px;
        padding: 8px;
    }
    .contact-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    .contact-card {
        background: rgba(255,255,255,0.04);
        backdrop-filter: blur(8px);
        border-radius: 80px;
        padding: 0.9rem 2rem;
        display: inline-flex;
        align-items: center;
        gap: 1rem;
        transition: all 0.2s;
        border: 1px solid rgba(255,255,255,0.1);
        text-decoration: none;
        color: #fff;
        font-size: 1.2rem;
        font-weight: 500;
    }
    .contact-card i {
        font-size: 1.8rem;
        color: var(--accent-cyan);
    }
    .contact-card:hover {
        background: rgba(255,255,255,0.1);
        transform: translateY(-4px) scale(1.02);
        border-color: rgba(0,242,254,0.4);
    }
    #openFeedbackBtnDesktop, #openFeedbackBtn {
        background: var(--gradient-main);
        color: #0a0a14;
        border: none;
        padding: 0.9rem 2rem;
        border-radius: 80px;
        font-size: 1.2rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s;
        display: inline-flex;
        align-items: center;
        gap: 1rem;
        min-width: auto;
        box-shadow: 0 4px 15px rgba(254, 144, 0, 0.25);
    }
    #openFeedbackBtnDesktop:hover, #openFeedbackBtn:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 8px 25px rgba(254, 123, 0, 0.4);
    }
    .slide-contact .contact-panel h2,
    .slide-contact .contact-panel h3 {
        font-size: 2.5rem;
    }
    .section-subtitle-services {
        font-size: 1.4rem;
    }
    .section-subtitle-solutions {
        font-size: 1.4rem;
    }

    @media (max-height: 800px) {
        .slide-contact .contact-panel h2,
        .slide-contact .contact-panel h3 {
            font-size: 2.5rem;
        }
    }
    @media (max-height: 700px) {
        .slide-contact .contact-panel h2,
        .slide-contact .contact-panel h3 {
            font-size: 2rem;
        }
    }
    @media (max-width: 1280px) {
        .slide-content {
            padding-left: 1rem;
            padding-right: 1rem;
        }
        .cards-grid, .solutions-grid {
            gap: 1.2rem;
        }
    }
    @media (max-width: 1120px) {
        .cards-grid, .solutions-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    @media (max-width: 900px) {
        .cards-grid, .solutions-grid {
            grid-template-columns: 1fr;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }
        .card, .solution-card {
            padding: 1rem;
        }
    }
    @media (max-height: 800px) {
        .slide-content {
            justify-content: flex-start;
            padding-top: 4rem;
            padding-bottom: 2rem;
        }
        .section-title {
            font-size: 1.8rem;
            margin-bottom: 0.5rem;
        }
        .section-subtitle {
            margin-bottom: 1rem;
            font-size: 0.95rem;
        }
        .cards-grid, .solutions-grid {
            gap: 1rem;
        }
        .card, .solution-card {
            padding: 1rem;
        }
        .card h3, .solution-info h3 {
            font-size: 1.2rem;
        }
        .card p, .solution-info p {
            font-size: 0.85rem;
        }
        .contact-panel {
            padding: 1.5rem;
            margin-top: 0;
        }
        .hero-content p {
            margin-bottom: 1rem;
        }
        .desktop-hero-title {
            font-size: clamp(2rem, 5vw, 3rem) !important;
        }
    }
    @media (max-height: 700px) {
        .slide-content {
            padding-top: 3rem;
        }
        .section-title {
            font-size: 1.6rem;
        }
        .card h3, .solution-info h3 {
            font-size: 1rem;
        }
        .detail-btn {
            padding: 0.4rem 1rem;
            font-size: 0.75rem;
            min-width: 100px;
        }
    }
    .slide-hero .hero-content p {
        color: #ffffff;
    }
    .slide-services .section-subtitle,
    .slide-services .card p {
        color: #ffffff;
    }
    .slide-services .card h3 {
        color: #ffffff;
    }
    .slide-services .detail-btn {
        background: #ff8800;
        color: #0a0a14;
    }
    .slide-services .detail-btn:hover {
        background: #ffaa33;
    }
    .slide-solutions .section-subtitle,
    .slide-solutions .solution-info p {
        color: #ffffff;
    }
    .slide-solutions .solution-info h3 {
        color: #ffffff;
    }
    .slide-solutions .solution-card:hover {
        border-color: #ffffff23;
        box-shadow: 0 0 0 2px #dbdbdb57;
    }
    .slide-solutions .detail-btn {
        background: #00f2fe;
        color: #0a0a14;
    }
    .slide-solutions .detail-btn:hover {
        background: #0ae4f0;
    }
    .slide-contact .contact-panel > p {
        color: #dddddd;
    }
    .slide-contact .contact-card {
        background: rgba(255,255,255,0.1);
        color: #ffffff;
    }
    .slide-contact .contact-card i {
        color: #00f2fe;
    }
    .slide-contact .contact-card:hover {
        background: rgba(255,255,255,0.2);
        border-color: #00f2fe;
    }
    .slide-contact #openFeedbackBtnDesktop {
        background: linear-gradient(135deg, #ffaa00, #ff6600);
        color: #ffffff;
    }
    .telegram-chat {
        bottom: 40px;
        right: 40px;
        width: 84px;
        height: 84px;
    }
    .telegram-chat i {
        font-size: 46px;
    }
}

.solution-info h3 {
    min-height: 4.8rem;
    margin-bottom: 0.5rem;
    display: block;
}
.solution-info .detail-btn {
    margin-top: auto;
}
@media (max-width: 768px) {
    .solution-info h3 {
        min-height: 3.2rem;
        font-size: 1.3rem;
    }
}
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
    .solution-info h3 {
        min-height: 4.8rem;
        display: block;
    }
    .solution-info .detail-btn {
        margin-top: auto;
    }
}

@media (min-width: 1024px) and (max-width: 1280px) and (pointer: coarse) {
    .container {
        max-width: 1000px;
        padding: 0 1.5rem;
    }
    .cards-grid, .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .card, .solution-card {
        padding: 1.5rem;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
}

.hero-text-container p:first-of-type {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .hero-text-container p:first-of-type {
        margin-bottom: 1.25rem;
    }
}