* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: #060809;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.section-container {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    padding: 0 80px;
}

/* ИНТАКТИВНЫЙ ЖИДКИЙ КУРСОР — СТИЛИ ЖИДКОГО ТЕЛА */
.fluid-cursor {
    width: 24px;
    height: 24px;
    background: rgba(0, 242, 254, 0.4);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.6), 
                0 0 40px rgba(0, 242, 254, 0.2);
    border-radius: 50%;
    position: fixed;
    top: -12px; /* Центрируем относительно точки курсора */
    left: -12px;
    pointer-events: none; /* Капля прозрачна для кликов */
    z-index: 9999;
    mix-blend-mode: screen; /* Красивое наложение цвета на текст */
    transform-origin: center center;
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease, top 0.3s ease, left 0.3s ease;
    will-change: transform;
}

/* Эффект расширения и "прилипания" при наведении на интерактивный B2B-блок */
.fluid-cursor.hovered {
    width: 44px;
    height: 44px;
    top: -22px;
    left: -22px;
    background: rgba(0, 242, 254, 0.15);
    border: 1px solid rgba(0, 242, 254, 0.8);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.4);
}

/* Отключаем стандартный курсор на десктопах, чтобы капля была главным элементом */
@media (min-width: 1025px) {
    body, a, button, input, textarea, .price-card, .adv-list-item, .project-card {
        cursor: none !important;
    }
}

/* На мобильных устройствах кастомный курсор полностью скрываем, чтобы не было багов */
@media (max-width: 1024px) {
    .fluid-cursor {
        display: none !important;
    }
    body, a, button, input, textarea {
        cursor: auto !important;
    }
}

/* ФИРМЕННЫЙ БИРЮЗОВЫЙ ГРАДИЕНТ */
.text-gradient {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ПЛАВНОСТЬ ВСЕХ СЕКЦИЙ ПРИ СКРОЛЛЕ */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ШАПКА */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(6, 8, 9, 0.75);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    color: #86868b;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s, transform 0.3s;
}

.main-nav a:hover { color: #00f2fe; }

.main-nav a.nav-cta {
    background-color: #ffffff;
    color: #000000;
    padding: 10px 22px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.main-nav a.nav-cta:hover {
    background-color: #00f2fe;
    transform: translateY(-2px);
}

/* ГЛАВНЫЙ ЭКРАН */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: #040506;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.hero-title {
    font-size: 88px;
    font-weight: 600;
    letter-spacing: -2.5px;
    line-height: 1.05;
    margin-bottom: 24px;
    min-height: 110px;
}

.hero-subtitle {
    font-size: 19px;
    color: #86868b;
    max-width: 520px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-buttons { display: flex; gap: 16px; pointer-events: auto; }

.btn {
    padding: 15px 32px;
    border-radius: 24px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary { background-color: #ffffff; color: #000000; font-weight: 500; }
.btn-primary:hover { 
    background-color: #00f2fe; 
    transform: translateY(-3px); 
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.3); 
}
.btn-secondary { border: 1px solid rgba(255, 255, 255, 0.15); color: #ffffff; }
.btn-secondary:hover { background-color: rgba(255, 255, 255, 0.04); transform: translateY(-3px); }

.hero-footer-info {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    padding: 0 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #444;
    z-index: 2;
}
.status-indicator { color: #00f2fe; font-weight: 500; }
.scroll-down { color: #ffffff; text-decoration: none; }

/* СЕКЦИИ САЙТА И КАРТОЧКИ */
.solutions-section, .portfolio-section, .process-section, .pricing-section, .contact-section {
    padding: 140px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.section-tag, .adv-subtitle, .pricing-subtitle {
    font-size: 11px;
    color: #55575c;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section-title, .adv-title, .pricing-main-title {
    font-size: 52px;
    font-weight: 500;
    letter-spacing: -1.5px;
    margin-bottom: 64px;
    line-height: 1.15;
}

.philosophy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.phil-card { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 28px; transition: transform 0.4s ease; }
.phil-card:hover { transform: translateY(-4px); border-color: #00f2fe; }
.phil-card h3 { font-size: 22px; margin-bottom: 14px; transition: color 0.3s; }
.phil-card:hover h3 { color: #00f2fe; }
.phil-card p { color: #86868b; font-size: 15px; line-height: 1.6; }

.advantages-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; }
.adv-description { color: #86868b; margin-bottom: 48px; line-height: 1.6; font-size: 16px; }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.metric-num { font-size: 34px; font-weight: 600; }
.metric-label { font-size: 12px; color: #555; }

.advantages-right { background: rgba(255,255,255,0.01); border: 1px solid rgba(255,255,255,0.04); padding: 40px; border-radius: 20px; }
.adv-right-header { display: flex; justify-content: space-between; margin-bottom: 24px; font-size: 13px; color: #555; }
.adv-list-item { display: flex; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.04); transition: padding 0.3s; }
.adv-list-item:hover { padding-left: 6px; border-color: rgba(0, 242, 254, 0.4); }
.adv-item-content h3 { font-size: 17px; margin-bottom: 6px; }
.adv-item-content p { font-size: 14px; color: #666; }
.adv-checkmark { font-size: 14px; color: #444; font-family: monospace; }

/* ТАРИФЫ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card { 
    background: rgba(255,255,255,0.01); 
    border: 1px solid rgba(255,255,255,0.04); 
    padding: 56px 36px; 
    border-radius: 20px; 
    display: flex; 
    flex-direction: column; 
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.price-card:hover { transform: translateY(-6px); border-color: rgba(0, 242, 254, 0.4); }
.hit-card { border-color: rgba(255,255,255,0.25); position: relative; }
.hit-card:hover { border-color: #00f2fe; }
.hit-badge { position: absolute; top: -10px; left: 36px; background: #ffffff; color: #000; font-size: 10px; font-weight: 700; padding: 3px 12px; border-radius: 4px; }
.card-num { font-size: 12px; color: #444; margin-bottom: 20px; }
.card-title { font-size: 26px; margin-bottom: 24px; }
.card-price { font-size: 38px; font-weight: 600; margin-bottom: 36px; }
.card-features { list-style: none; margin-bottom: 44px; flex-grow: 1; display: flex; flex-direction: column; gap: 14px; font-size: 14px; color: #86868b; }
.card-features span { color: #00f2fe; margin-right: 4px; }
.price-btn { padding: 15px; border-radius: 14px; text-align: center; border: 1px solid rgba(255,255,255,0.1); color: #fff; text-decoration: none; font-size: 14px; transition: all 0.3s; }
.price-btn:hover { border-color: #00f2fe; color: #00f2fe; background-color: rgba(0, 242, 254, 0.02); }
.btn-hit { background: #fff; color: #000; border: none; font-weight: 600; }
.btn-hit:hover { background: #00f2fe; color: #000; }

/* ПОРТФОЛИО */
.portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.project-card { background: rgba(255,255,255,0.01); border: 1px solid rgba(255,255,255,0.04); border-radius: 20px; overflow: hidden; transition: all 0.5s ease; }
.project-card:hover { transform: translateY(-5px); border-color: rgba(0, 242, 254, 0.3); }
.project-img-placeholder { width: 100%; height: 360px; background-color: rgba(255, 255, 255, 0.01); }
.project-info { padding: 32px; }
.project-category { font-size: 12px; color: #00f2fe; margin-bottom: 12px; display: block; }
.project-info h3 { font-size: 24px; margin-bottom: 12px; }
.project-info p { color: #86868b; font-size: 15px; line-height: 1.5; }

/* ФОРМА СВЯЗИ */
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-title { font-size: 52px; margin-bottom: 24px; letter-spacing: -1.5px; }
.contact-desc { color: #86868b; font-size: 16px; line-height: 1.6; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input, .contact-form textarea { background: rgba(255,255,255,0.01); border: 1px solid rgba(255,255,255,0.06); padding: 18px; border-radius: 12px; color: #fff; font-family: inherit; font-size: 15px; transition: border-color 0.3s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #00f2fe; outline: none; }

/* ПОДВАЛ */
.site-footer {
    padding: 100px 0 60px 0;
    position: relative;
    overflow: hidden;
    background-color: #030405;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.footer-bg-text {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13vw;
    font-weight: 800;
    color: rgba(0, 242, 254, 0.015);
    letter-spacing: 30px;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    text-align: center;
    width: 100%;
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: center;
}

.footer-status { color: #00f2fe; font-size: 14px; font-family: monospace; margin-bottom: 24px; }
.footer-contacts { display: flex; gap: 40px; margin-bottom: 40px; }
.footer-link { color: #ffffff; font-size: 24px; font-weight: 500; text-decoration: none; transition: color 0.3s; }
.footer-link:hover { color: #00f2fe; }
.footer-legal-links { display: flex; gap: 32px; margin-bottom: 48px; }
.footer-legal-links a { color: #4c4d50; font-size: 13px; text-decoration: none; }
.footer-legal-links a:hover { color: #ffffff; }
.footer-bottom-info { display: flex; flex-direction: column; gap: 8px; color: #333436; font-size: 12px; }
.tax-info { color: #242526; }

/* АДАПТИВНОСТЬ */
@media (max-width: 1024px) {
    .section-container, .hero-footer-info, .footer-content { padding: 0 40px; }
    .philosophy-grid, .advantages-grid, .pricing-grid, .contact-container, .portfolio-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-title { font-size: 44px; min-height: 60px; }
    .footer-contacts, .footer-legal-links { flex-direction: column; gap: 16px; }
    .footer-bg-text { display: none; }
}
/* --- ПЛАВНЫЙ БИРЮЗОВЫЙ ШЛЕЙФ-КАПЛЯ --- */
.fluid-tail {
    position: fixed;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    background: rgba(0, 242, 254, 0.45); /* Неоново-бирюзовый цвет */
    border-radius: 50%;
    pointer-events: none; /* Чтобы капля не мешала кликать по кнопкам и ссылкам */
    z-index: 9999; /* Отображение поверх всех элементов */
    mix-blend-mode: screen; /* Красивое свечение при наведении на текст */
    filter: blur(2px); /* Легкое мягкое размытие краев */
    transform-origin: center center;
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
    margin-top: -12px; /* Центрирование ровно под кончиком курсора */
    margin-left: -12px;
}

/* Эффект увеличения капли при наведении на интерактивные элементы */
.fluid-tail.tail-hover {
    width: 48px;
    height: 48px;
    margin-top: -24px;
    margin-left: -24px;
    background: rgba(0, 242, 254, 0.7);
    filter: blur(4px);
}
/* --- СТИЛЬНЫЕ ПЛЕЙСХОЛДЕРЫ ДЛЯ ПОРТФОЛИО --- */
.project-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

/* Эффект свечения карточки при наведении */
.project-card:hover {
    border-color: rgba(0, 242, 254, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 242, 254, 0.15);
}

.project-img-placeholder {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    /* Тёмный киберпанк-градиент */
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.12) 0%, rgba(13, 13, 20, 0.8) 100%);
    border: 1px solid rgba(0, 242, 254, 0.2);
}

/* Декоративная сетка/неон внутри плейсхолдера */
.project-img-placeholder::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.25) 0%, transparent 60%);
    top: -25%;
    left: -25%;
    transition: transform 0.6s ease;
}

.project-card:hover .project-img-placeholder::before {
    transform: scale(1.2);
}

/* Стильный шильдик/текст внутри превью */
.placeholder-tag {
    position: relative;
    z-index: 2;
    font-family: monospace;
    font-size: 0.85rem;
    color: #00f2fe;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(0, 242, 254, 0.3);
    backdrop-filter: blur(8px);
}
