* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        

       

        @keyframes shimmer {
            0%, 100% { opacity: 0.5; }
            50% { opacity: 0.8; }
        }

   
        /* Заголовок */
        .header {
            padding: 20px;
            text-align: center;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(15px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header h1 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 10px;
            text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
            animation: glow 3s ease-in-out infinite alternate;
        }

        @keyframes glow {
            from { text-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
            to { text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 40px rgba(102, 126, 234, 0.3); }
        }

        .header .user-welcome {
            font-size: 1.1rem;
            opacity: 0.9;
            margin-bottom: 10px;
        }

        /* Навигация */
        .nav {
            display: flex;
            justify-content: center;
            padding: 20px;
            gap: 15px;
            flex-wrap: wrap;
        }

        .nav-item {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 15px;
            padding: 12px 20px;
            text-decoration: none;
            color: #fff;
            font-weight: 600;
            transition: all 0.3s ease;
            font-size: 0.9rem;
            position: relative;
            overflow: hidden;
        }

       

        .nav-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
            background: rgba(255, 255, 255, 0.2);
        }

        .nav-item:hover::before {
            left: 100%;
        }

        .nav-item.active {
            background: rgba(78, 205, 196, 0.2);
            border-color: #4ecdc4;
        }

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
}



.main-content {
    position: relative;
    z-index: 10;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    will-change: transform;
    transform: translateZ(0);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -webkit-tap-highlight-color: transparent;
}

.service-card:hover,
.service-card:active {
    transform: translateY(-10px) scale(1.02) translateZ(0);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-description {
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    transform: translateZ(0);
}

.btn:hover,
.btn:active {
    transform: scale(1.05) translateZ(0);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
}

.btn-pulse {
    animation: pulse 2s infinite;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 50px 0;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
}

.stat-label {
    opacity: 0.9;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 60px;
    padding: 50px 0 25px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #fff;
    font-size: 1.3em;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.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: #667eea;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #667eea;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.loading {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

@keyframes glow {
    from { 
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5); 
    }
    to { 
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 40px rgba(102, 126, 234, 0.3); 
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) translateZ(0); 
    }
    50% { 
        transform: translateY(-20px) rotate(180deg) translateZ(0); 
    }
}

@keyframes shimmer {
    0%, 100% { 
        background-position: 0% 50%; 
    }
    50% { 
        background-position: 100% 50%; 
    }
}

@keyframes pulse {
    0% { 
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); 
    }
    70% { 
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); 
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); 
    }
}

@keyframes fadeIn {
    to { 
        opacity: 1; 
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2.2rem;
    }

    .header {
        padding: 30px 15px;
    }

    .nav {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .main-content {
        padding: 25px 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}
@keyframes glow {
    from { 
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5); 
    }
    to { 
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 40px rgba(102, 126, 234, 0.3); 
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) translateZ(0); 
    }
    50% { 
        transform: translateY(-20px) rotate(180deg) translateZ(0); 
    }
}

@keyframes shimmer {
    0%, 100% { 
        background-position: 0% 50%; 
    }
    50% { 
        background-position: 100% 50%; 
    }
}

@keyframes pulse {
    0% { 
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); 
    }
    70% { 
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); 
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); 
    }
}

@keyframes fadeIn {
    to { 
        opacity: 1; 
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2.2rem;
    }

    .header {
        padding: 30px 15px;
    }

    .nav {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .main-content {
        padding: 25px 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 2rem;
    }

    .stats {
        grid-template-columns: 1fr;
    }
}

@supports not (backdrop-filter: blur(15px)) {
    .header {
        background: rgba(102, 126, 234, 0.9);
    }
}

@supports (-webkit-touch-callout: none) {
    body {
        -webkit-overflow-scrolling: touch;
        background-attachment: scroll;
    }
    
    .header,
    .service-card,
    .stat-item,
    .nav-item {
        background: rgba(255, 255, 255, 0.15);
    }
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .header h1,
    .stat-number {
        background: #fff;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

@supports (-webkit-backdrop-filter: blur(10px)) {
    .header, .service-card, .stat-item, .nav-item, .btn {
        -webkit-backdrop-filter: blur(10px);
    }
}

@supports (backdrop-filter: blur(10px)) {
    .header, .service-card, .stat-item, .nav-item, .btn {
        backdrop-filter: blur(10px);
    }
}

 .footer {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 60px;
    padding: 50px 0 25px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: rgb(255, 255, 255);
    font-size: 1.3em;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.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: #667eea;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #667eea;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}