:root {
    --accent: #00f2ff;
    --accent-2: #ff007a;
    --bg-dark: #121214; /* Чуть светлее черного */
    --bg-light: #f9f9fb;
    --card-bg: rgba(30, 30, 35, 0.4);
    --header-height: 96px;
}

/* Исправление скролла к разделам */
section {
    scroll-margin-top: var(--header-height);
}

body {
    background-color: var(--bg-dark);
    font-family: 'Inter', sans-serif;
    color: white;
    overflow-x: hidden;
}

/* Более мягкая текстура */
body::after {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 500 500' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 50;
}

/* Усиленное фоновое свечение для объема */
.bg-glow {
    position: fixed;
    width: 80vw;
    height: 80vw;
    border-radius: 50%;
    filter: blur(180px);
    z-index: -1;
    opacity: 0.18; /* Сделал ярче */
    pointer-events: none;
    animation: floating 30s infinite alternate ease-in-out;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 30%, var(--accent) 70%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Секция с контрастным светлым фоном */
.section-light {
    background-color: var(--bg-light);
    color: #121214;
}

/* Карточки */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 242, 255, 0.2);
    box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.3), 
                0 0 12px rgba(0, 242, 255, 0.06);
}

.service-icon {
    width: 54px;
    height: 54px;
    color: rgba(0, 242, 255, 0.7);
    stroke-width: 1px;
    margin-bottom: 2.5rem;
    transition: color 0.6s ease;
}

.glass-card:hover .service-icon {
    color: var(--accent);
}

/* Типографика */
.font-heading {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.05em;
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.btn-primary {
    background: white;
    color: var(--bg-dark);
    font-weight: 900;
    letter-spacing: 0.2em;
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px -10px rgba(255, 255, 255, 0.25);
    letter-spacing: 0.3em;
}

/* Логотипы клиентов */
.clients-grid img {
    filter: grayscale(100%) brightness(0) invert(1) contrast(1.2);
    opacity: 0.6;
    transition: all 0.5s ease;
}

.clients-grid img:hover {
    filter: grayscale(0%) brightness(1) invert(0) contrast(1);
    opacity: 1;
}
    color: black;
    font-weight: 800;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 100%;
    background: var(--accent);
    z-index: -1;
    transition: width 0.4s ease;
}

.btn-primary:hover::after {
    width: 100%;
}

/* Lightbox */
#lightbox.active {
    display: flex;
    opacity: 1;
    backdrop-filter: blur(40px);
}