:root{
    /* Поставьте сюда ваш фон */
    --hero-bg: url("linkedin_bg3.png");
    --ink: #2b5aa7;             /* основной синий для текста */
    --ink-2: #6aa7ff;           /* светлый для градиента */
    --muted: #6b7280;           /* серый текст */
    --glass: rgba(255,255,255,.55);
    --glass-stroke: rgba(255,255,255,.35);
    
    /* Light theme colors */
    --bg-primary: #eef2ff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-tertiary: #94a3b8;
    --border-primary: #e2e8f0;
    --border-secondary: #cbd5e1;
    --accent-primary: #2b5aa7;
    --accent-secondary: #6aa7ff;
    --shadow: rgba(100, 116, 139, 0.1);
}

/* Dark theme colors */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --border-primary: #334155;
    --border-secondary: #475569;
    --accent-primary: #6aa7ff;
    --accent-secondary: #90a8ff;
    --shadow: rgba(0, 0, 0, 0.3);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
    margin:0;
    font-family: "Inter", "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ====== NAV ====== */
.nav{
    position:fixed; inset-inline:0; top:0; z-index:10;
    backdrop-filter: blur(6px);
    background:linear-gradient(to bottom, rgba(255,255,255,.8), rgba(255,255,255,.35) 70%, transparent);
    border-bottom:1px solid rgba(255,255,255,.3);
    transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .nav {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.35) 70%, transparent);
    border-bottom: 1px solid rgba(106, 167, 255, 0.3);
}
.nav__inner{
    max-width:1200px; margin:0 auto; padding:14px 20px;
    display:flex; align-items:center; gap:16px;
}
.brand{
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-weight:700; letter-spacing:.3px;
    font-size:clamp(18px, 1.5vw, 20px);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.3s ease;
}

.brand__link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.brand__link:hover {
    color: #2b5aa7;
    text-decoration: none;
}

.brand__logo {
    height: 32px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    transition: all 0.2s ease;
}

.brand__link:hover .brand__logo {
    transform: scale(1.05);
    opacity: 0.9;
}

/* ====== THEME TOGGLE ====== */
.theme-toggle {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: var(--border-primary);
    border-color: var(--border-secondary);
    transform: translateY(-1px);
}

.theme-toggle:active {
    transform: translateY(0);
}

.theme-icon {
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.theme-icon--moon {
    display: none;
}

.theme-toggle:hover .theme-icon {
    color: var(--accent-primary);
    transform: rotate(15deg);
}

/* burger */
#menu-toggle{display:none}
.burger{
    display:none; margin-left:auto; cursor:pointer; width:40px; height:40px;
    border-radius:10px; place-items:center; border:1px solid var(--glass-stroke);
    background:var(--glass);
}
.burger span, .burger::before, .burger::after{
    content:""; display:block; width:20px; height:2px; background:#111827; border-radius:2px;
}
.burger::before{ transform:translateY(-6px) }
.burger::after{ transform:translateY(6px) }

.menu{
    display:flex; align-items:center; gap:28px; margin-inline:auto;
}
.menu a{
    color:#334155; text-decoration:none; 
    font-family: "Inter", sans-serif;
    font-weight:500; letter-spacing:.1px;
    font-size:clamp(14px, 1.2vw, 16px);
    transition: color 0.2s ease;
}
.menu a:hover{
    color:#1f2937;
}

/* language switcher */
.lang-switcher{
    display:flex; align-items:center; gap:4px;
    background:var(--glass); border:1px solid var(--glass-stroke);
    border-radius:10px; padding:4px;
}
.lang-btn{
    padding:6px 10px; border-radius:7px; 
    text-decoration:none; outline:none;
    color:#334155; 
    font-family: "Inter", sans-serif;
    font-weight:600; font-size:13px; letter-spacing:.2px;
    transition: all 0.15s ease;
    cursor:pointer; display:inline-block;
    user-select:none;
}
.lang-btn:hover{
    background:rgba(43, 90, 167, 0.08);
    text-decoration:none;
}
.lang-btn:active{
    transform:translateY(1px);
    background:rgba(43, 90, 167, 0.12);
}
.lang-btn.active{
    background:var(--ink); color:#fff;
    box-shadow: 0 2px 6px rgba(43, 90, 167, 0.3);
    pointer-events:none;
}
.lang-btn.active:active{
    transform:none;
}


/* ====== HERO ====== */
.hero{
    min-height:100svh; position:relative; display:grid;
    place-items:stretch; overflow:hidden;
    background: no-repeat center/cover var(--hero-bg);
}
/* лёгкий белый вуаль, чтобы текст читался на любом фоне */
.hero::before{
    content:""; position:absolute; inset:0;
    background: radial-gradient(70% 70% at 60% 30%, rgba(255,255,255,.55), rgba(255,255,255,.15) 60%, rgba(255,255,255,0) 100%);
    pointer-events:none;
}

.hero__inner{
    max-width:1200px; margin:0 auto; width:100%;
    padding: min(10vh,120px) 20px 28px;
    display:grid; align-items:end; height:100%;
    position:relative; z-index:1;
}

/* левый вертикальный пагинатор-точки */
.dots{
    position:absolute; left:14px; top:50%; translate:0 -50%;
    display:grid; gap:14px;
}
.dot{
    width:10px; height:10px; border-radius:50%;
    background:rgba(0,0,0,.25); border:1px solid rgba(255,255,255,.5);
}
.dot.is-active{background:#111827}

.copy{
    max-width:min(620px, 60vw);
    margin-left: clamp(8px, 3vw, 48px);
    margin-bottom: clamp(24px, 7vh, 80px);
}
.kicker{
    color:#64748b; 
    font-family: "JetBrains Mono", "Inter", monospace;
    font-weight:500; letter-spacing:.3em; text-transform:uppercase;
    font-size:clamp(11px, .9vw, 12px); margin:0 0 10px;
}
.title{
    margin:0 0 14px;
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-weight:800; line-height:.95; letter-spacing:-.02em;
    font-size: clamp(24px, 9vw, 60px);
    /* градиент, дающий "холодный" металлический оттенок */
    background:linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 55%, #274a86 100%);
    -webkit-background-clip:text; background-clip:text; color:transparent;
    text-shadow: 0 10px 24px rgba(39,74,134,.18);
}
.lead{
    color:#475569; 
    font-family: "Inter", sans-serif;
    font-weight:400; font-size:clamp(14px, 1.3vw, 16px); 
    line-height:1.7; letter-spacing:.01em;
    max-width:56ch;
}

.cta{
    margin-top:18px; display:flex; align-items:center; gap:14px;
}
.cta .round{
    width:46px; height:40px; border-radius:10px;
    display:grid; place-items:center;
    background:#e2e8f0; border:1px solid #cbd5e1;
    box-shadow: 0 8px 18px rgba(100,116,139,.25) inset;
}
.cta .btn{
    height:40px; padding:0 20px; border-radius:10px; border:0;
    background:#90a8ff22;
    outline:1px solid #90a8ff66;
    color:#274a86; 
    font-family: "Inter", sans-serif;
    font-weight:600; letter-spacing:.05em; font-size:14px;
    cursor:pointer; backdrop-filter: blur(4px);
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.cta .btn:hover{
    background:#90a8ff33;
    outline-color:#90a8ff88;
    transform: translateY(-1px);
    text-decoration: none;
    color: #274a86;
}
.cta .btn:active{transform:translateY(1px)}

/* ====== bottom-right soft dots (как на скрине) */
.soft-dots{
    position:absolute; right:26px; bottom:20px; z-index:1;
    display:grid; grid-template-columns:repeat(4,12px); gap:10px; opacity:.55;
}
.soft-dots span{
    width:12px; height:12px; border-radius:50%;
    background:#cbd5e1;
}

/* ====== ADAPTIVE ====== */
@media (max-width: 960px){
    .menu{display:none}
    .burger{display:grid}
    #menu-toggle:checked ~ .nav .menu{
        position:absolute; left:0; right:0; top:58px;
        display:flex; flex-direction:column; gap:0;
        background:rgba(255,255,255,.92);
        border-bottom:1px solid var(--glass-stroke);
    }
    #menu-toggle:checked ~ .nav .menu a{padding:14px 20px; border-top:1px solid #e5e7eb}
    .copy{max-width: 85vw}
    .brand__logo {
        height: 28px;
        max-width: 120px;
    }
    .lang-switcher{
        position:absolute; right:60px; top:9px;
        padding:3px; gap:2px;
    }
    .lang-btn{
        padding:5px 8px; font-size:12px;
    }
}
@media (max-width: 560px){
    .dots{left:10px}
    .copy{margin-left: clamp(10px, 4vw, 20px)}
    .kicker{letter-spacing:.16em}
    .cta .round{width:42px; height:38px}
    .cta .btn{height:38px}
    .lang-switcher{
        right:54px; top:11px;
        padding:2px; gap:1px;
    }
    .lang-btn{
        padding:4px 6px; font-size:11px;
    }
}
/* --- FIX: выравнивание и защита текста от фона --- */
:root{
    --content-max: 540px;            /* макс. ширина колонки текста */
    --page-pad-x: clamp(16px, 5vw, 80px);
    --header-h: 72px;                /* реальная высота шапки */
}

/* блок героя занимает всю высоту, текст — слева, фон не мешает */
.hero{
    display: grid;
    grid-template-columns: minmax(280px, var(--content-max)) 1fr;
    align-items: end;
    padding: calc(var(--header-h) + 32px) var(--page-pad-x) 48px;
    gap: clamp(20px, 4vw, 60px);
}

/* полупрозрачная карточка, чтобы текст читался на любой картинке */
.hero-content{
    max-width: var(--content-max);
    background: rgba(255,255,255,.68);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    padding: clamp(18px, 2.2vw, 28px);
    margin: 0;                       /* убрать случайные внешние отступы */
}

/* заголовок не «ломает» макет на узких экранах */
.hero-content h1{
    line-height: 1.02;
    font-size: clamp(42px, 8.2vw, 96px);
    word-break: normal;
}

/* текстовый блок не пересекается с картинкой на ноутбуках */
@media (max-width: 1200px){
    .hero{
        grid-template-columns: minmax(260px, 520px) 1fr;
    }
}

/* на планшете/мобилке — одна колонка и центрирование */
@media (max-width: 900px){
    .hero{
        grid-template-columns: 1fr;
        align-items: start;
        padding: calc(var(--header-h) + 18px) var(--page-pad-x) 40px;
    }
    .hero-content{
        max-width: min(92vw, var(--content-max));
        margin: 0 auto;
        text-align: center;
    }
    .dots{ display:none; } /* убираем левую «линейку» точек */
}

/* дополнительно убираем любые "артефакты" */
.title, .lead, .hero *{
    text-shadow: none !important;
    filter: none !important;
}

/* ====== ДОПОЛНИТЕЛЬНЫЕ УЛУЧШЕНИЯ ТИПОГРАФИКИ ====== */

/* Улучшенная читаемость для всех текстовых элементов */
h1, h2, h3, h4, h5, h6 {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

/* Стили для кода и технических элементов */
code, pre, .code {
    font-family: "JetBrains Mono", "Fira Code", "Consolas", monospace;
    font-weight: 400;
    font-size: 0.9em;
    letter-spacing: 0.02em;
}

/* Улучшенные стили для мобильных устройств */
@media (max-width: 768px) {
    .title {
        letter-spacing: -0.01em;
        line-height: 1.1;
    }
    
    .lead {
        letter-spacing: 0.005em;
        line-height: 1.6;
    }
    
    .kicker {
        letter-spacing: 0.25em;
    }
}

/* Дополнительные стили для лучшей типографики */
.hero-content {
    font-kerning: auto;
    text-rendering: optimizeLegibility;
}

/* Стили для улучшения контрастности текста */
.lead {
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Анимация для интерактивных элементов */
.menu a, .lang-btn, .cta .btn {
    will-change: transform, color, background-color;
}

/* ====== FOOTER ====== */
.footer {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--border-primary) 100%);
    border-top: 1px solid rgba(43, 90, 167, 0.1);
    margin-top: 80px;
    transition: background 0.3s ease;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px 24px;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 32px;
}

.footer__section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__title {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: 0.1px;
    transition: color 0.3s ease;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer__nav a:hover {
    color: var(--accent-primary);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__contact p {
    color: var(--text-secondary);
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 14px;
    margin: 0 0 8px 0;
    transition: color 0.3s ease;
}

.footer__contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 4px 0;
}

.footer__contact-link:hover {
    color: var(--accent-primary);
    text-decoration: none;
}

.footer__contact-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.footer__bottom {
    border-top: 1px solid rgba(43, 90, 167, 0.1);
    padding-top: 24px;
    text-align: center;
}

.footer__copyright {
    color: var(--text-tertiary);
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 13px;
    margin: 0;
    transition: color 0.3s ease;
}

.footer__promo {
    margin: 16px 0 0 0;
    text-align: center;
}

.footer__promo-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-primary);
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(43, 90, 167, 0.05);
    border: 1px solid rgba(43, 90, 167, 0.15);
    transition: all 0.2s ease;
}

.footer__promo-link:hover {
    background: rgba(43, 90, 167, 0.1);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 90, 167, 0.15);
}

.footer__promo-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: var(--accent-primary);
}

[data-theme="dark"] .footer__promo-link {
    background: rgba(106, 167, 255, 0.08);
    border-color: rgba(106, 167, 255, 0.2);
}

[data-theme="dark"] .footer__promo-link:hover {
    background: rgba(106, 167, 255, 0.15);
    border-color: var(--accent-primary);
    box-shadow: 0 4px 12px rgba(106, 167, 255, 0.2);
}

/* Dark theme for footer contact links */
[data-theme="dark"] .footer__contact-link {
    color: var(--text-secondary);
}

[data-theme="dark"] .footer__contact-link:hover {
    color: var(--accent-primary);
}

/* Адаптивность футера */
@media (max-width: 768px) {
    .footer__inner {
        padding: 32px 20px 20px;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 24px;
    }
    
    .footer__nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }
}

/* ====== SEARCH PAGE ====== */
.search-page {
    min-height: 100vh;
    padding: calc(var(--header-h) + 40px) 20px 40px;
    background: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.search-page__inner {
    max-width: 800px;
    margin: 0 auto;
}

.search-page__header {
    text-align: center;
    margin-bottom: 48px;
}

.search-page__title {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-weight: 700;
    font-size: clamp(32px, 5vw, 48px);
    color: var(--text-primary);
    margin: 0 0 16px;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.search-page__lead {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.search-page__form {
    margin-bottom: 48px;
}

.search-form__input-group {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-form__input {
    width: 100%;
    height: 56px;
    padding: 0 60px 0 20px;
    border: 2px solid var(--border-primary);
    border-radius: 28px;
    background: var(--bg-tertiary);
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-primary);
    outline: none;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
}

.search-form__input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 20px rgba(43, 90, 167, 0.15);
}

.search-form__input::placeholder {
    color: var(--text-tertiary);
}

.search-form__button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 20px;
    background: var(--accent-primary);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.search-form__button:hover {
    background: var(--accent-secondary);
    transform: translateY(-50%) scale(1.05);
}

.search-form__button svg {
    width: 20px;
    height: 20px;
}

.search-results {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease;
}

.search-results__title {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: var(--text-primary);
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.search-results__count {
    font-weight: 400;
    font-size: 16px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.search-results__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.search-result {
    padding: 20px;
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    background: var(--bg-secondary);
    transition: all 0.2s ease;
}

.search-result:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 12px rgba(43, 90, 167, 0.1);
}

.search-result__title {
    margin: 0 0 8px;
}

.search-result__link {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.search-result__link:hover {
    color: var(--accent-secondary);
}

.search-result__content {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.search-no-results {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.search-no-results p {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    margin: 0 0 8px;
    color: inherit;
    transition: color 0.3s ease;
}

.search-no-results p:last-child {
    font-size: 14px;
    color: var(--text-tertiary);
    transition: color 0.3s ease;
}

/* Адаптивность страницы поиска */
@media (max-width: 768px) {
    .search-page {
        padding: calc(var(--header-h) + 20px) 16px 20px;
    }
    
    .search-page__header {
        margin-bottom: 32px;
    }
    
    .search-page__form {
        margin-bottom: 32px;
    }
    
    .search-form__input {
        height: 48px;
        padding: 0 50px 0 16px;
        font-size: 14px;
    }
    
    .search-form__button {
        width: 36px;
        height: 36px;
        right: 6px;
    }
    
    .search-form__button svg {
        width: 18px;
        height: 18px;
    }
    
    .search-results {
        padding: 20px;
    }
    
    .search-result {
        padding: 16px;
    }
}

/* ====== PAGE LAYOUT ====== */
.page {
    min-height: 100vh;
    padding: calc(var(--header-h) + 40px) 20px 40px;
    background: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.page__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.page__header {
    text-align: center;
    margin-bottom: 60px;
}

.page__title {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-weight: 700;
    font-size: clamp(32px, 5vw, 48px);
    color: var(--text-primary);
    margin: 0 0 16px;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.page__lead {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    transition: color 0.3s ease;
}

.page__content {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* ====== CONTENT SECTIONS ====== */
.content-section {
    margin-bottom: 40px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section h2 {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: var(--text-primary);
    margin: 0 0 16px;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.content-section p {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 16px;
    transition: color 0.3s ease;
}

.content-section p:last-child {
    margin-bottom: 0;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    transition: color 0.3s ease;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.keywords-text {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    background: var(--bg-secondary);
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-primary);
    margin: 0;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.highlight-text {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: var(--accent-primary);
    line-height: 1.6;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--border-primary) 100%);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-primary);
    margin: 16px 0;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

/* ====== ADVANTAGES GRID ====== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 24px;
}

.advantage {
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.advantage h3 {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #1f2937;
    margin: 0 0 12px;
}

.advantage p {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ====== SERVICES GRID ====== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

/* ====== DETAILED SERVICES ====== */
.services-detailed {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 32px 0;
}

.service-detailed {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.service-detailed::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2b5aa7, #6aa7ff);
}

.service-detailed__header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.service-detailed__number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2b5aa7, #6aa7ff);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.service-detailed__title h3 {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: var(--text-primary);
    margin: 0 0 4px;
    transition: color 0.3s ease;
}

.service-detailed__title h4 {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    font-style: italic;
    transition: color 0.3s ease;
}

.service-detailed__features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.service-detailed__features li {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    transition: color 0.3s ease;
}

.service-detailed__features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 18px;
    transition: color 0.3s ease;
}

.service-keywords {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    background: var(--bg-tertiary);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-primary);
    margin: 0;
    font-style: italic;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.cta-section {
    text-align: center;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--border-primary) 100%);
    border-radius: 16px;
    padding: 40px;
    margin-top: 40px;
    transition: background 0.3s ease;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    min-width: 160px;
    text-align: center;
}

.cta-btn.primary {
    background: var(--accent-primary);
    color: white;
    border: 2px solid var(--accent-primary);
}

.cta-btn.primary:hover {
    background: #1e3a8a;
    border-color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 90, 167, 0.3);
}

.cta-btn.secondary {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.cta-btn.secondary:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 90, 167, 0.2);
}

.service-card {
    padding: 32px;
    border: 1px solid var(--border-primary);
    border-radius: 16px;
    background: var(--bg-tertiary);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2b5aa7, #6aa7ff);
}

.service-card:hover {
    border-color: #2b5aa7;
    box-shadow: 0 8px 25px rgba(43, 90, 167, 0.15);
    transform: translateY(-2px);
}

.service-card__icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2b5aa7, #6aa7ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card__icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.service-card__title {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: var(--text-primary);
    margin: 0 0 12px;
    transition: color 0.3s ease;
}

.service-card__description {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 20px;
    transition: color 0.3s ease;
}

.service-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card__features li {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    transition: color 0.3s ease;
}

.service-card__features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

/* ====== CONTACT PAGE ====== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-section h2,
.contact-info-section h2 {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: var(--text-primary);
    margin: 0 0 24px;
    transition: color 0.3s ease;
}

/* ====== FORM MESSAGES ====== */
.form-message {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.form-message--success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #16a34a;
}

.form-message--error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #dc2626;
}

.form-message p {
    margin: 0;
    font-weight: 500;
}

/* Dark theme adjustments for form messages */
[data-theme="dark"] .form-message--success {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

[data-theme="dark"] .form-message--error {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* ====== AUTHENTICATION STYLES ====== */
.auth-container {
    max-width: 450px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* OAuth кнопки */
.oauth-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.oauth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border: 2px solid var(--border-primary);
    border-radius: 12px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
    min-height: 56px;
}

.oauth-btn:hover {
    background: var(--border-primary);
    border-color: var(--border-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text-primary);
}

.oauth-btn--linkedin {
    background: #0077b5;
    border-color: #0077b5;
    color: white;
}

.oauth-btn--linkedin:hover {
    background: #005885;
    border-color: #005885;
    color: white;
}

.oauth-btn--google {
    background: #ffffff;
    border-color: #dadce0;
    color: #3c4043;
}

.oauth-btn--google:hover {
    background: #f8f9fa;
    border-color: #dadce0;
    color: #3c4043;
}

.oauth-btn__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.oauth-btn__text {
    font-weight: 600;
}

/* Разделитель */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 24px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-primary);
}

.auth-divider__text {
    background: var(--bg-primary);
    padding: 0 16px;
    color: var(--text-secondary);
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
}

/* Кнопка переключения на email */
.email-login-toggle {
    width: 100%;
    padding: 16px 24px;
    border: 2px solid var(--border-primary);
    border-radius: 12px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 24px;
}

.email-login-toggle:hover {
    background: var(--border-primary);
    border-color: var(--border-secondary);
    transform: translateY(-1px);
}

/* Форма email */
.email-form {
    margin-top: 24px;
}

/* Privacy Policy styles */
.last-updated {
    font-size: 14px;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid var(--border-primary);
}

.contact-info {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 12px;
    margin-top: 16px;
}

.contact-info p {
    margin: 8px 0;
    font-family: "Inter", sans-serif;
}

.contact-info a {
    color: var(--accent-primary);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.auth-form-section {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.auth-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-form .form-group--checkbox {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent-primary);
}

.checkbox-text {
    user-select: none;
}

.auth-links {
    margin-top: 24px;
    text-align: center;
}

.auth-links p {
    margin: 8px 0;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.auth-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

/* User info in navigation */
.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-container {
    position: relative;
    display: inline-block;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    object-fit: cover;
    background: var(--bg-secondary);
    display: block;
}

/* Стили для SVG аватарок (дефолтных) */
.user-avatar[src^="data:image/svg"] {
    background: transparent;
    border: 2px solid var(--border-primary);
}

/* Стили для аватарок из соцсетей */
.user-avatar[src^="https://"] {
    background: var(--bg-secondary);
}

.user-avatar:hover {
    border-color: var(--accent-primary);
    transform: scale(1.05);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    min-width: 280px;
    width: 280px;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown__content {
    padding: 20px;
}

.user-dropdown__email {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-primary);
    word-break: break-all;
}

.user-dropdown__logout {
    display: block;
    width: 100%;
    padding: 8px 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    color: #dc2626;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s ease;
}

.user-dropdown__logout:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
    color: #b91c1c;
    text-decoration: none;
}

.user-email {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Auth links in navigation */
.menu .auth-link {
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    transition: all 0.2s ease;
}

.menu .auth-link:hover {
    background: var(--border-primary);
    border-color: var(--border-secondary);
    text-decoration: none;
    transform: translateY(-1px);
}

.menu .logout-link {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.2);
    color: #dc2626;
}

.menu .logout-link:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
    color: #b91c1c;
}

.menu .login-link {
    background: var(--bg-secondary);
    border-color: var(--border-primary);
    color: var(--text-primary);
}

.menu .login-link:hover {
    background: var(--border-primary);
    border-color: var(--border-secondary);
    color: var(--text-primary);
}

.menu .register-link {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.menu .register-link:hover {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
    color: white;
}

/* Dark theme adjustments for auth */
[data-theme="dark"] .menu .logout-link {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

[data-theme="dark"] .menu .logout-link:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

[data-theme="dark"] .menu .login-link {
    background: var(--bg-secondary);
    border-color: var(--border-primary);
    color: var(--text-primary);
}

[data-theme="dark"] .menu .login-link:hover {
    background: var(--border-primary);
    border-color: var(--border-secondary);
    color: var(--text-primary);
}

/* Dark theme for user dropdown */
[data-theme="dark"] .user-dropdown__logout {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

[data-theme="dark"] .user-dropdown__logout:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

/* Dark theme for OAuth buttons */
[data-theme="dark"] .oauth-btn--google {
    background: var(--bg-tertiary);
    border-color: var(--border-primary);
    color: var(--text-primary);
}

[data-theme="dark"] .oauth-btn--google:hover {
    background: var(--border-primary);
    border-color: var(--border-secondary);
    color: var(--text-primary);
}

[data-theme="dark"] .email-login-toggle {
    background: var(--bg-secondary);
    border-color: var(--border-primary);
    color: var(--text-primary);
}

[data-theme="dark"] .email-login-toggle:hover {
    background: var(--border-primary);
    border-color: var(--border-secondary);
    color: var(--text-primary);
}

/* Responsive auth styles */
@media (max-width: 768px) {
    .auth-container {
        padding: 20px 16px;
    }
    
    .auth-form-section {
        padding: 24px;
    }
    
    .oauth-btn {
        padding: 14px 20px;
        font-size: 15px;
        min-height: 52px;
    }
    
    .oauth-btn__icon {
        width: 20px;
        height: 20px;
    }
    
    .email-login-toggle {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .menu .auth-link {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .user-info {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    
    .user-avatar {
        width: 36px;
        height: 36px;
    }
    
    .user-dropdown {
        right: -10px;
        min-width: 240px;
        width: 240px;
    }
    
    .user-dropdown__content {
        padding: 16px;
    }
    
    .user-dropdown__email {
        font-size: 13px;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }
    
    .user-dropdown__logout {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .user-email {
        font-size: 12px;
        padding: 6px 10px;
        text-align: center;
    }
}

/* ====== SERVICES SEARCH STYLES ====== */
.services-search {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.services-search__form {
    width: 100%;
    max-width: 500px;
}

.services-search__input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.services-search__input {
    width: 100%;
    height: 48px;
    padding: 0 50px 0 16px;
    border: 2px solid var(--border-primary);
    border-radius: 24px;
    background: var(--bg-tertiary);
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-primary);
    outline: none;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
}

.services-search__input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 20px rgba(43, 90, 167, 0.15);
}

.services-search__input::placeholder {
    color: var(--text-tertiary);
}

.services-search__button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 18px;
    background: var(--accent-primary);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.services-search__button:hover {
    background: var(--accent-secondary);
    transform: translateY(-50%) scale(1.05);
}

.services-search__button svg {
    width: 18px;
    height: 18px;
}

/* Responsive services search */
@media (max-width: 768px) {
    .services-search {
        margin-top: 24px;
    }
    
    .services-search__input {
        height: 44px;
        padding: 0 46px 0 14px;
        font-size: 14px;
    }
    
    .services-search__button {
        width: 32px;
        height: 32px;
        right: 6px;
    }
    
    .services-search__button svg {
        width: 16px;
        height: 16px;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-secondary);
    border-radius: 8px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-tertiary);
    transition: border-color 0.2s ease, background-color 0.3s ease, color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(43, 90, 167, 0.1);
}

.form-group input[readonly] {
    background: var(--border-primary);
    cursor: not-allowed;
    opacity: 0.7;
}

.form-group input[readonly]:focus {
    border-color: var(--border-secondary);
    box-shadow: none;
}

.submit-btn {
    padding: 14px 24px;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.submit-btn:hover {
    background: var(--accent-secondary);
    transform: translateY(-1px);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-method__icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2b5aa7, #6aa7ff);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method__icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.contact-method__content h3 {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
    margin: 0 0 4px;
    transition: color 0.3s ease;
}

.contact-method__content p {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 2px;
    transition: color 0.3s ease;
}

.contact-method__content p a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-method__content p a:hover {
    color: var(--accent-primary);
    text-decoration: underline;
}

.faq-section h3 {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--text-primary);
    margin: 0 0 20px;
    transition: color 0.3s ease;
}

.faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-primary);
    transition: border-color 0.3s ease;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-item h4 {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    margin: 0 0 8px;
    transition: color 0.3s ease;
}

.faq-item p {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    transition: color 0.3s ease;
}

/* Адаптивность для страниц */
@media (max-width: 768px) {
    .page {
        padding: calc(var(--header-h) + 20px) 16px 20px;
    }
    
    .page__header {
        margin-bottom: 40px;
    }
    
    .page__content {
        padding: 24px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 24px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-methods {
        gap: 20px;
    }
    
    .services-detailed {
        gap: 24px;
    }
    
    .service-detailed {
        padding: 24px;
    }
    
    .service-detailed__header {
        gap: 16px;
    }
    
    .service-detailed__number {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .service-detailed__title h3 {
        font-size: 18px;
    }
    
    .service-detailed__title h4 {
        font-size: 13px;
    }
    
    .cta-section {
        padding: 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ====== DEMO PAGE ====== */
.demo-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 32px 0;
}

.demo-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.demo-step:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 12px rgba(43, 90, 167, 0.1);
}

.demo-step__number {
    font-size: 24px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2b5aa7, #6aa7ff);
    border-radius: 50%;
    color: white;
    font-weight: 700;
}

.demo-step__content {
    flex: 1;
}

.demo-step__content p {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s ease;
}

.demo-result {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--border-primary) 100%);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    padding: 24px;
    margin-top: 32px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.demo-result h3 {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--text-primary);
    margin: 0 0 12px;
    transition: color 0.3s ease;
}

.demo-result p {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: var(--accent-primary);
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s ease;
}

/* Адаптивность для демо страницы */
@media (max-width: 768px) {
    .demo-steps {
        gap: 16px;
        margin: 24px 0;
    }
    
    .demo-step {
        padding: 20px;
        gap: 16px;
    }
    
    .demo-step__number {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
    
    .demo-step__content p {
        font-size: 14px;
    }
    
    .demo-result {
        padding: 20px;
        margin-top: 24px;
    }
    
    .demo-result h3 {
        font-size: 16px;
    }
    
    .demo-result p {
        font-size: 14px;
    }
}

/* ====== EXTRA SMALL SCREENS ====== */
@media (max-width: 480px) {
    .brand__logo {
        height: 24px;
        max-width: 100px;
    }
    
    .nav__inner {
        padding: 12px 16px;
    }
}