:root {
    --bg-dark: #0a0b10;
    --bg-accent: #15171f;
    --primary: #c1ff00;
    /* Electric Lime */
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(10, 11, 16, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 800;
    font-size: 1.4rem;
    font-family: 'Montserrat', sans-serif;
}

.logo__dot {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 15px var(--primary);
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav__link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn--outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn--outline:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(193, 255, 0, 0.4);
}

/* Footer Styles */
.footer {
    background: var(--bg-accent);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer__logo {
    margin-bottom: 20px;
}

.footer__description {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer__title {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--primary);
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 12px;
}

.footer__links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer__contact-info {
    list-style: none;
}

.footer__contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.footer__contact-info i {
    color: var(--primary);
    width: 18px;
}

.footer__bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Mobile Nav */
.burger {
    display: none;
}

@media (max-width: 992px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .nav {
        display: none;
    }

    .burger {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
    }

    .burger span {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--primary);
        margin: 5px 0;
    }
}
/* Обновление цветов */
.text-gradient {
    background: linear-gradient(90deg, var(--primary), #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn--primary {
    background: var(--primary);
    color: var(--bg-dark);
}

.btn--primary:hover {
    box-shadow: 0 0 30px rgba(193, 255, 0, 0.6);
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 20% 30%, rgba(193, 255, 0, 0.05) 0%, transparent 40%);
}

#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero__container {
    position: relative;
    z-index: 2;
}

.hero__content {
    max-width: 750px;
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero__actions {
    display: flex;
    gap: 20px;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    right: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 2;
}

.hero__scroll-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    writing-mode: vertical-rl;
    color: var(--text-muted);
}

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}
/* Capabilities Section */
.capabilities {
    padding: 120px 0;
    background: var(--bg-dark);
    position: relative;
}

.section-header {
    margin-bottom: 60px;
    max-width: 600px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-subtitle {
    color: var(--text-muted);
}

.capabilities__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.cap-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cap-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(193, 255, 0, 0.1), transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.cap-card:hover {
    transform: translateY(-10px);
    border-color: rgba(193, 255, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.cap-card:hover::before {
    opacity: 1;
}

.cap-card__icon {
    width: 60px;
    height: 60px;
    background: rgba(193, 255, 0, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary);
    transition: var(--transition);
}

.cap-card:hover .cap-card__icon {
    background: var(--primary);
    color: var(--bg-dark);
    transform: scale(1.1) rotate(5deg);
}

.cap-card__title {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.cap-card__text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}
/* Workflow Section */
.workflow {
    padding: 120px 0;
    background: var(--bg-accent);
    overflow: hidden;
}

.workflow__steps {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 80px;
    position: relative;
}

.step-item {
    flex: 1;
    position: relative;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.step-item:hover {
    background: rgba(193, 255, 0, 0.03);
    border-color: rgba(193, 255, 0, 0.2);
    transform: translateY(-5px);
}

.step-item__number {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(193, 255, 0, 0.3);
    margin-bottom: 20px;
    transition: var(--transition);
}

.step-item:hover .step-item__number {
    color: var(--primary);
    -webkit-text-stroke: 1px var(--primary);
    text-shadow: 0 0 20px rgba(193, 255, 0, 0.4);
}

.step-item__title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.step-item__text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Линии-коннекторы между шагами (только для десктопа) */
.step-item__line {
    position: absolute;
    top: 50%;
    right: -40px;
    width: 40px;
    height: 1px;
    background: linear-gradient(to right, var(--primary), transparent);
    z-index: 1;
}

.workflow__cta {
    margin-top: 80px;
    text-align: center;
}

.workflow__cta p {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Адаптив для шагов */
@media (max-width: 992px) {
    .workflow__steps {
        flex-direction: column;
    }

    .step-item__line {
        display: none;
    }
}
/* Education Section */
.education {
    padding: 120px 0;
    background: var(--bg-dark);
}

.education__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.education__image-wrapper {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    background: var(--bg-accent);
    aspect-ratio: 4/5;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.education__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: var(--transition);
}

.education__image-wrapper:hover .education__img {
    transform: scale(1.05);
    opacity: 0.8;
}

.education__badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: var(--bg-dark);
    padding: 15px 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(193, 255, 0, 0.3);
}

.education__list {
    margin: 40px 0;
}

.edu-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 20px;
    transition: var(--transition);
}

.edu-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.edu-item__icon {
    color: var(--primary);
    flex-shrink: 0;
}

.edu-item__info h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.edu-item__info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Adaptive Education */
@media (max-width: 992px) {
    .education__container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .education__visual {
        order: 2;
    }

    .education__content {
        order: 1;
    }
}
/* Community Section */
.community {
    padding: 120px 0;
    background: var(--bg-accent);
}

/* Marquee Effect */
.marquee {
    overflow: hidden;
    user-select: none;
    display: flex;
    gap: 50px;
    margin-bottom: 80px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.marquee__content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    min-width: 100%;
    gap: 50px;
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.marquee span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.marquee span:hover {
    -webkit-text-stroke: 1px var(--primary);
    filter: drop-shadow(0 0 10px var(--primary));
}

/* Community Grid */
.community__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.comm-card {
    background: var(--bg-dark);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.comm-card__quote {
    font-family: 'Montserrat', sans-serif;
    font-size: 5rem;
    color: var(--primary);
    line-height: 1;
    position: absolute;
    top: 20px;
    right: 40px;
    opacity: 0.2;
}

.comm-card__text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.comm-card__user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.comm-card__avatar {
    width: 50px;
    height: 50px;
    background: var(--bg-accent);
    border-radius: 50%;
    border: 1px solid var(--primary);
}

.comm-card__name {
    font-weight: 600;
    color: var(--text-main);
}

.comm-card__role {
    font-size: 0.8rem;
    color: var(--text-muted);
}
/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--bg-dark);
}

.contact__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.contact__methods {
    margin-top: 40px;
}

.contact__method {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.contact__method i {
    color: var(--primary);
}

/* Form Styles */
.contact__form-wrapper {
    background: var(--bg-accent);
    padding: 50px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form__group {
    margin-bottom: 20px;
}

.form__input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 25px;
    border-radius: 15px;
    color: var(--text-main);
    font-family: inherit;
    transition: var(--transition);
}

.form__input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(193, 255, 0, 0.05);
}

.form__captcha {
    margin-bottom: 20px;
}

.captcha-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.form__consent {
    margin-bottom: 30px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.checkbox input {
    display: none;
}

.checkbox__box {
    width: 20px;
    height: 20px;
    border: 1px solid var(--text-muted);
    border-radius: 5px;
    position: relative;
}

.checkbox input:checked+.checkbox__box {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox__text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form__submit {
    width: 100%;
    padding: 18px;
}

.form__response {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    display: none;
    padding: 15px;
    border-radius: 10px;
}

.form__response.success {
    display: block;
    background: rgba(0, 255, 128, 0.1);
    color: #00ff80;
}

.form__response.error {
    display: block;
    background: rgba(255, 0, 0, 0.1);
    color: #ff4d4d;
}

@media (max-width: 992px) {
    .contact__container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}
/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100px;
    left: 20px;
    right: 20px;
    background: var(--bg-accent);
    border: 1px solid rgba(193, 255, 0, 0.2);
    padding: 20px;
    border-radius: 20px;
    z-index: 2000;
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.cookie-popup.active {
    bottom: 20px;
}

.cookie-popup__content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-popup__text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Mobile Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: var(--transition);
}

.menu-overlay.active {
    transform: translateX(0);
}

.mobile-nav__list {
    list-style: none;
    text-align: center;
}

.mobile-nav__link {
    display: block;
    font-size: 2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    margin-bottom: 30px;
    transition: var(--transition);
}

.mobile-nav__link:hover {
    color: var(--primary);
}

/* Burger Animation State */
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}
/* Базовые стили карточек отзывов для мобилок и десктопа */
.comm-card {
    background: var(--bg-dark);
    padding: 30px;
    /* Уменьшили паддинг для мобильных */
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.comm-card__quote {
    font-size: 3.5rem;
    /* Уменьшили гигантскую кавычку */
    top: 10px;
    right: 25px;
}

.comm-card__text {
    font-size: 1rem;
    /* Оптимальный размер для чтения с экрана смартфона */
    line-height: 1.5;
    margin-bottom: 25px;
}

.comm-card__avatar {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    background: linear-gradient(45deg, var(--bg-accent), var(--primary));
    opacity: 0.8;
}

/* Адаптив конкретно под мобильные устройства */
@media (max-width: 768px) {
    .community {
        padding: 80px 0;
        /* Меньше отступы секции */
    }

    .community__grid {
        grid-template-columns: 1fr;
        /* Одна колонка на мобилках */
        gap: 20px;
    }

    .section-title {
        font-size: 1.8rem;
        /* Более компактные заголовки */
    }

    .marquee span {
        font-size: 1.4rem;
        /* Уменьшаем бегущую строку, чтобы не рябило */
    }

    .comm-card {
        padding: 25px;
        /* Эффект легкого свечения только для активной карточки (визуальный фокус) */
        border-color: rgba(193, 255, 0, 0.1);
    }

    .comm-card__user {
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 15px;
    }
}
/* Styles for Legal Pages */
.pages {
    padding: 150px 0 100px;
    background: var(--bg-dark);
    min-height: 100vh;
}

.pages h1 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(193, 255, 0, 0.2);
    padding-bottom: 20px;
}

.pages h2 {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-top: 40px;
    margin-bottom: 20px;
}

.pages p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.8;
}

.pages ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.pages li {
    color: var(--text-muted);
    margin-bottom: 10px;
    list-style-type: square;
}

.pages li::marker {
    color: var(--primary);
}
/* Contact Cards Grid */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.contact-card {
    background: var(--bg-accent);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    text-align: center;
}

.contact-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-card__icon {
    width: 60px;
    height: 60px;
    background: rgba(193, 255, 0, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.contact-card h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    word-break: break-all;
}

.contact-address {
    font-style: normal;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-extra {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
}

/* Adaptive for mobile */
@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
}