/* SEOZAKAZ: ГЛОБАЛЬНЫЙ ТЕХНИЧЕСКИЙ МАНИФЕСТ СТИЛЕЙ
   Версия: 2.1 (Исправленная и полная)
   Этот файл заменяет весь предыдущий CSS контент.
*/

/* --- 1. ШРИФТЫ (Исправлены пути и отображение) --- */
@font-face { 
    font-family: 'Inter'; 
    src: url('/fonts/Inter-Regular.woff2') format('woff2'); 
    font-weight: 400; 
    font-style: normal; 
    font-display: swap; 
}
@font-face { 
    font-family: 'Inter'; 
    src: url('/fonts/Inter-Bold.woff2') format('woff2'); 
    font-weight: 700; 
    font-style: normal; 
    font-display: swap; 
}
@font-face { 
    font-family: 'Inter'; 
    src: url('/fonts/Inter-Black.woff2') format('woff2'); 
    font-weight: 900; 
    font-style: normal; 
    font-display: swap; 
}

/* --- 2. ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ --- */
:root {
    --brand: #4f46e5;
    --brand-dark: #4338ca;
    --brand-light: #818cf8;
    --bg: #f9fafb;
    --text: #111827;
    --gray: #6b7280;
    --border: #e5e7eb;
    --white: #ffffff;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* --- 3. БАЗОВЫЕ СТИЛИ (Reset & Base) --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
}

body { 
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
    color: var(--text); 
    background: var(--bg); 
    line-height: 1.6; 
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Контейнеры */
.sz-container, .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* --- 4. ТИПОГРАФИКА --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

p {
    margin-bottom: 1rem;
}

/* --- 5. КОМПОНЕНТЫ: КАРТОЧКИ И ПРЕИМУЩЕСТВА --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.benefit-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-light);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.benefit-tag {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand);
    margin-bottom: 15px;
    background: #eef2ff;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 6px;
}

.benefit-title {
    font-size: 26px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 15px;
}

/* --- 6. КНОПКИ --- */
.btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand);
    color: #fff !important;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
}

.btn-main:hover {
    background: var(--brand-dark);
    transform: scale(1.02);
}

/* --- 7. СЕТКИ (GRID UTILS) --- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

/* Сетка аудита для страницы SEO */
.audit-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .audit-grid {
        grid-template-columns: 1fr;
    }
}

/* --- 8. ЭФФЕКТЫ И ДЕКОР --- */
.glass-effect {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Стили для калькулятора (если есть общие классы) */
.sz-calc-card {
    background: var(--white);
    border-radius: 24px;
    padding: clamp(20px, 5vw, 40px);
    box-shadow: var(--shadow);
}

/* --- 9. АДАПТИВНОСТЬ (Mobile First) --- */
@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
    
    .benefit-card {
        padding: 25px;
    }
    
    h1 { font-size: 32px; }
    h2 { font-size: 28px; }
}

/* --- 10. ВСПОМОГАТЕЛЬНЫЕ КЛАССЫ --- */
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.p-gray { color: var(--gray); font-size: 16px; }


