/* stop-bullying.ru — общие стили */
:root {
    --bg-main: #08080C;
    --accent: #7F42E2;
    --accent-light: #A06EF5;
    --green: #49FFA3;
    --text-white: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border: rgba(127, 66, 226, 0.25);
    --padding-x: clamp(20px, 5vw, 60px);
    --danger: #FF5A5A;
    --danger-soft: rgba(255, 90, 90, 0.15);
}

::selection { background-color: var(--green); color: var(--bg-main); }

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

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

.ambient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.35;
    pointer-events: none;
}
.orb-1 { width: 500px; height: 500px; background: rgba(127, 66, 226, 0.3); top: -10%; left: -10%; }
.orb-2 { width: 400px; height: 400px; background: rgba(73, 255, 163, 0.12); bottom: -10%; right: -5%; }

/* Навигация */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px var(--padding-x);
    border-bottom: 1px solid var(--border);
    background: rgba(8, 8, 12, 0.9);
    backdrop-filter: blur(20px);
}
.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.5px;
    color: var(--text-white);
    text-decoration: none;
}
.nav-logo span { color: var(--accent-light); }

/* Контент */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 48px var(--padding-x);
}

h1, h2, h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

h1 {
    font-size: clamp(32px, 5vw, 48px);
    letter-spacing: -2px;
    margin-bottom: 24px;
    line-height: 1.1;
}

h2 {
    font-size: clamp(24px, 3vw, 32px);
    margin: 48px 0 20px;
    color: var(--accent-light);
}

h3 {
    font-size: 18px;
    margin: 24px 0 12px;
    color: var(--text-white);
}

p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

/* Красный для негативного */
.text-danger, .danger { color: var(--danger); }
.bg-danger-soft { background: var(--danger-soft); }
.border-danger { border-color: var(--danger); }

/* Карточки — главный блок, крупнее и выразительнее */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 32px;
}
@media (min-width: 720px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
        margin-top: 40px;
    }
}

/* Главные карточки — дополнительный отступ сверху для акцента */
.cards-grid--main {
    padding-top: 8px;
}

.card {
    background: linear-gradient(165deg, rgba(127,66,226,0.18) 0%, rgba(127,66,226,0.06) 50%, rgba(10,10,20,0.95) 100%);
    border: 1px solid rgba(127, 66, 226, 0.4);
    border-radius: 20px;
    padding: 36px 32px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.03) inset;
}
.card:hover {
    border-color: var(--accent-light);
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -12px rgba(0,0,0,0.6), 0 0 40px rgba(127, 66, 226, 0.2);
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.card-link:hover .card { border-color: var(--accent-light); }

.card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-white);
    line-height: 1.3;
}
@media (min-width: 720px) {
    .card-title {
        font-size: 24px;
        margin-bottom: 18px;
    }
}

.card-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.65;
}
@media (min-width: 720px) {
    .card-desc {
        font-size: 17px;
    }
}

.card-arrow {
    margin-top: 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--accent-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Списки */
ul {
    margin: 16px 0;
    padding-left: 24px;
}
ul li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

/* Секция контактов */
.contacts {
    margin-top: 64px;
    padding: 48px var(--padding-x);
    background: rgba(127, 66, 226, 0.06);
    border-top: 1px solid var(--border);
}

.contacts h2 {
    text-align: center;
    margin-top: 0;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 32px auto 0;
}

.contact-card {
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.contact-card a {
    color: var(--green);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}
.contact-card a:hover { text-decoration: underline; }

.contact-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* Футер */
.footer {
    padding: 24px var(--padding-x);
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* Внутренние страницы */
.page-header {
    margin-bottom: 32px;
}
.page-header .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 24px;
}
.page-header .back-link:hover { color: var(--accent-light); }

.step-list { counter-reset: step; }
.step-list li {
    list-style: none;
    padding-left: 40px;
    position: relative;
    margin-bottom: 16px;
}
.step-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    width: 28px;
    height: 28px;
    background: rgba(127, 66, 226, 0.3);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-light);
}

.warning-box {
    background: var(--danger-soft);
    border: 1px solid rgba(255, 90, 90, 0.4);
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
}
.warning-box strong { color: var(--danger); }
