:root {
    --primary: #00D4FF;
    --primary-dark: #00A3C4;
    --bg-deep: #050A18;
    --bg-light: #0A1428;
    --text-main: #E2E8F0;
    --text-muted: #94A3B8;
    --white: #FFFFFF;
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo__text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header--scrolled {
    background: rgba(5, 10, 24, 0.85);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    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;
    gap: 10px;
    font-size: 1.5rem;
}

.logo__icon {
    color: var(--primary);
    display: flex;
}

.nav__list {
    display: flex;
    gap: 30px;
}

.nav__link:hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn--outline {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn--outline:hover {
    background: var(--primary);
    color: var(--bg-deep);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

/* Footer */
.footer {
    background: var(--bg-light);
    padding: 80px 0 30px;
    margin-top: 100px;
    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__description {
    margin-top: 20px;
    color: var(--text-muted);
}

.footer__title {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--white);
}

.footer__list li {
    margin-bottom: 12px;
}

.footer__list a {
    color: var(--text-muted);
}

.footer__list a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer__contacts li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.footer__contacts i {
    width: 18px;
    color: var(--primary);
}

.footer__bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Burger */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 992px) {
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .nav { display: none; }
    .burger { display: block; }
}

@media (max-width: 576px) {
    .footer__grid { grid-template-columns: 1fr; }
}
/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero__canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6; /* Чтобы фон не перебивал текст */
}

.hero__container {
    position: relative;
    z-index: 2;
}

.hero__content {
    max-width: 700px;
}

.hero__badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
}

.text-gradient {
    background: linear-gradient(90deg, #00D4FF, #0072FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn--primary {
    background: var(--primary);
    color: var(--bg-deep);
}

.btn--primary:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.btn--link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-weight: 600;
}

.btn--link:hover {
    color: var(--primary);
}

.btn--link i {
    width: 18px;
}

@media (max-width: 768px) {
    .hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }
}
.hero__physics {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none; /* Чтобы не мешать кликам по кнопкам */
}

/* Настраиваем прозрачность холста, чтобы текст читался */
.hero__physics canvas {
    opacity: 0.4;
    filter: blur(1px);
}

.hero__container {
    position: relative;
    z-index: 10; /* Контент всегда выше физики */
}
/* Possibilities Section */
.possibilities {
    padding: 120px 0;
    position: relative;
}

.possibilities__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.section-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--white);
}

.possibilities__features {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-item__icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.feature-item h4 {
    color: var(--white);
    margin-bottom: 5px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.possibilities__description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Visual Side */
.possibilities__visual {
    position: relative;
}

.lottie-container {
    width: 100%;
    max-width: 500px;
    position: relative;
    z-index: 2;
}

.visual-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(120px);
    opacity: 0.2;
    z-index: 1;
}

@media (max-width: 992px) {
    .possibilities__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .feature-item {
        text-align: left;
    }
    .possibilities__visual {
        order: -1;
        margin-bottom: 50px;
    }
    .lottie-container {
        margin: 0 auto;
    }
}
.ai-core {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.ai-core__inner {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px var(--primary);
    animation: pulseCore 3s infinite ease-in-out;
}

.ai-core__icon {
    width: 50px !important;
    height: 50px !important;
    color: var(--white);
}

.ai-core__orbit {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 50%;
    animation: rotateOrbit 10s linear infinite;
}

.ai-core__orbit::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary);
}

.ai-core__orbit--second {
    width: 70%;
    height: 70%;
    animation: rotateOrbit 7s linear infinite reverse;
}

@keyframes pulseCore {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes rotateOrbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Эффект частиц вокруг */
.ai-core__particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    animation: floatParticles 4s infinite linear;
}

@keyframes floatParticles {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(-100px) scale(0); opacity: 0; }
}
/* Solutions Section */
.solutions {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-light) 100%);
}

.solutions__header {
    text-align: center;
    margin-bottom: 60px;
}

.solutions__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solution-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.solution-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 212, 255, 0.3);
}

.solution-card__icon {
    width: 56px;
    height: 56px;
    background: var(--bg-deep);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: inset 0 0 10px rgba(0, 212, 255, 0.1);
}

.solution-card__title {
    font-size: 1.5rem;
    color: var(--white);
}

.solution-card__text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

/* Эффект свечения при наведении */
.solution-card__glow {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--primary);
    filter: blur(80px);
    opacity: 0;
    top: -50px;
    right: -50px;
    transition: var(--transition);
    pointer-events: none;
}

.solution-card:hover .solution-card__glow {
    opacity: 0.4;
}

.solutions__footer {
    margin-top: 60px;
    text-align: center;
}

.solutions__footer p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* Mobile Adaptive */
@media (max-width: 992px) {
    .solutions__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .solutions__grid {
        grid-template-columns: 1fr;
    }
}
/* Education */
.education {
    padding: 100px 0;
}

.education__header { text-align: center; margin-bottom: 80px; }

.steps-path {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.step-item {
    position: relative;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border-left: 2px solid var(--primary);
}

.step-item__number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(0, 212, 255, 0.1);
    margin-bottom: 15px;
}

.step-item h4 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.step-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Community */
.community {
    padding: 100px 0;
}

.community__box {
    background: var(--bg-light);
    border-radius: 40px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.community__text {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin: 25px 0 40px;
}

.stats-grid {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-card__val {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.stat-card__label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.community__image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
}

.community__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.abstract-shape {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--primary);
    filter: blur(100px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
}

@media (max-width: 992px) {
    .steps-path { grid-template-columns: repeat(2, 1fr); }
    .community__box { grid-template-columns: 1fr; text-align: center; padding: 40px 20px; }
    .stats-grid { justify-content: center; }
}

@media (max-width: 576px) {
    .steps-path { grid-template-columns: 1fr; }
}
/* Contact Section */
.contact {
    padding: 100px 0;
    position: relative;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact__text {
    color: var(--text-muted);
    margin: 20px 0 40px;
    font-size: 1.1rem;
}

.contact__badge {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
    font-weight: 600;
}

/* Form Styles */
.contact__form-wrapper {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.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: 15px 20px;
    border-radius: 12px;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.form__input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.form__captcha {
    margin: 25px 0;
    padding: 20px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 12px;
}

.form__label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form__checkbox a {
    color: var(--primary);
    text-decoration: underline;
}

.btn--full {
    width: 100%;
    padding: 18px;
}

.form__status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    display: none;
    text-align: center;
    font-weight: 600;
}

.form__status--success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.form__status--error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.2);
}

@media (max-width: 992px) {
    .contact__grid { grid-template-columns: 1fr; gap: 40px; }
}
/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 600px;
    background: var(--bg-light);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 20px 30px;
    border-radius: 20px;
    z-index: 2000;
    transition: bottom 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.cookie-popup--active { bottom: 30px; }

.cookie-popup__content {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

.cookie-popup__text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.4; }
.cookie-popup__text a { color: var(--primary); text-decoration: underline; }
.btn--sm { padding: 8px 20px; font-size: 0.85rem; }

/* Mobile Menu */
.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 1100;
}

.burger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* Состояние открытого меню */
.header--menu-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header--menu-open .burger span:nth-child(2) { opacity: 0; }
.header--menu-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 992px) {
    .burger { display: flex; }
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-deep);
        z-index: 1050;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
    }
    .header--menu-open .nav { right: 0; }
    .nav__list { flex-direction: column; text-align: center; gap: 40px; }
    .nav__link { font-size: 1.5rem; }
    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(5px);
        z-index: 1040;
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }
    .header--menu-open .mobile-overlay { opacity: 1; pointer-events: all; }
}
/* Legal & Static Pages Styling */
.legal-page {
    padding-top: 140px; /* Отступ под фиксированный хедер */
    background: radial-gradient(circle at top right, rgba(0, 212, 255, 0.05), transparent 40%);
    min-height: 100vh;
}

.pages {
    padding-bottom: 100px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.legal-page h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    margin-bottom: 30px;
    line-height: 1.1;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--text-main);
    max-width: 850px;
    margin-bottom: 60px;
    line-height: 1.6;
    opacity: 0.9;
}

/* Стили для текстов документов (H2, P, UL) */
.legal-page h2 {
    color: var(--white);
    font-size: 1.4rem;
    margin: 50px 0 20px;
}

.legal-page p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.legal-page ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.legal-page li {
    color: var(--text-muted);
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px;
}

.legal-page li::before {
    content: "→";
    position: absolute;
    left: -10px;
    color: var(--primary);
}

/* Контактные карточки */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.contact-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);
}

.contact-card:hover {
    border-color: var(--primary);
    background: rgba(0, 212, 255, 0.03);
    transform: translateY(-5px);
}

.contact-card__icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.contact-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--primary);
}

.contact-address {
    font-style: normal;
    color: var(--text-muted);
    line-height: 1.7;
}

.contact-extra {
    margin-top: 60px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 20px;
    border-left: 4px solid var(--primary);
    color: var(--text-muted);
}

.contact-extra a {
    color: var(--primary);
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 992px) {
    .contact-cards { grid-template-columns: 1fr; }
    .legal-page h1 { font-size: 1.5rem; }
}