:root {
    --primary: #4F46E5;
    --primary-light: #818CF8;
    --accent: #BEF264;
    --bg-dark: #0F172A;
    --bg-card: #1E293B;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1200px;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.header--scrolled {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    padding: 15px 0;
    border-color: rgba(255, 255, 255, 0.1);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}

.logo__icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 8px;
    position: relative;
}

.logo__icon::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 12px; height: 12px;
    border: 2px solid white;
    border-radius: 2px;
}

/* Navigation */
.nav__list {
    display: flex;
    gap: 32px;
}

.nav__link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav__link:hover {
    color: var(--accent);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn--outline {
    border: 1px solid var(--primary);
    color: var(--text-main);
}

.btn--outline:hover {
    background: var(--primary);
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
}

/* Footer */
.footer {
    background: #070B14;
    padding: 80px 0 40px;
    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);
    font-size: 0.9rem;
}

.footer__title {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--text-main);
}

.footer__links li {
    margin-bottom: 12px;
}

.footer__links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer__links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer__contact-list li {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.icon-sm { width: 18px; color: var(--primary-light); }

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Mobile Nav */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 992px) {
    .nav { display: none; }
    .burger { display: block; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .footer__grid { grid-template-columns: 1fr; }
}
/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 20% 30%, #1a1f35 0%, var(--bg-dark) 100%);
}

.hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbFloat 20s infinite alternate;
}

.hero__orb--1 {
    width: 400px; height: 400px;
    background: var(--primary);
    top: -100px; right: -50px;
}

.hero__orb--2 {
    width: 300px; height: 300px;
    background: var(--primary-light);
    bottom: 50px; left: -50px;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 100px) scale(1.1); }
}

.hero__container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
}

/* Badge */
.hero__badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 24px;
}

/* Reveal Text Animation */
.hero__title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
}

.reveal-text {
    display: block;
    overflow: hidden;
    position: relative;
}

.reveal-text::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg-dark);
    animation: revealText 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.reveal-text--accent { color: var(--accent); }

@keyframes revealText {
    0% { transform: translateX(0); }
    100% { transform: translateX(101%); }
}

.hero__description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 40px;
}

/* Buttons */
.hero__btns { display: flex; gap: 16px; }

.btn--primary {
    background: var(--primary);
    color: white;
}

.btn--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Code Card */
.code-card {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: var(--transition);
}

.code-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.code-card__header {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    display: flex;
    gap: 8px;
}

.dot { width: 10px; height: 10px; border-radius: 50%; background: #ff5f56; }
.dot:nth-child(2) { background: #ffbd2e; }
.dot:nth-child(3) { background: #27c93f; }

.code-card__body {
    padding: 24px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--accent);
    min-height: 200px;
}

@media (max-width: 992px) {
    .hero__container { grid-template-columns: 1fr; text-align: center; }
    .hero__description { margin: 0 auto 40px; }
    .hero__btns { justify-content: center; }
    .hero__visual { display: none; }
}
/* Courses Styling */
.courses {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--text-muted);
}

.courses__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Glow Card Effect */
.course-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2px; /* Для эффекта границы */
    overflow: hidden;
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
}

.course-card__content {
    background: #161e2e;
    padding: 40px;
    border-radius: 18px;
    height: 100%;
    position: relative;
    z-index: 2;
}

.course-card__icon {
    width: 60px;
    height: 60px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent);
}

.course-card__title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.course-card__text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.course-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.course-card__tags li {
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: var(--primary-light);
}

/* Динамическое свечение */
.course-card__glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(190, 242, 100, 0.15) 0%,
        transparent 60%
    );
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-card:hover .course-card__glow {
    opacity: 1;
}

.courses__footer {
    margin-top: 50px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.text-link {
    color: var(--accent);
    text-decoration: underline;
}
/* Methodology Section */
.method {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0f1d 100%);
    overflow: hidden;
}

.timeline-wrapper {
    position: relative;
    padding: 60px 0;
    margin-top: 40px;
}

/* Линия прогресса */
.timeline-progress {
    position: absolute;
    top: 75px; /* Центрирование относительно точек */
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.timeline-progress__bar {
    height: 100%;
    width: 0%; /* Управляется через JS */
    background: linear-gradient(90deg, var(--primary), var(--accent));
    box-shadow: 0 0 15px var(--primary);
    transition: width 0.4s ease-out;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    z-index: 2;
}

.timeline__item {
    text-align: center;
    padding: 0 15px;
    opacity: 0.4;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.timeline__item.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline__dot {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.timeline__item.active .timeline__dot {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 20px rgba(190, 242, 100, 0.3);
    background: var(--bg-dark);
}

.timeline__content h4 {
    margin-bottom: 12px;
    font-size: 1.2rem;
    color: var(--text-main);
}

.timeline__content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Mobile Adaptive */
@media (max-width: 768px) {
    .timeline {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-left: 30px;
    }
    .timeline-progress {
        left: 45px;
        top: 0;
        width: 2px;
        height: 100%;
    }
    .timeline-progress__bar {
        width: 100%;
        height: 0%;
    }
    .timeline__item {
        text-align: left;
        display: flex;
        gap: 20px;
        align-items: flex-start;
    }
    .timeline__dot {
        margin: 0;
        flex-shrink: 0;
    }
}
/* About Section */
.about {
    padding: 120px 0;
    background: var(--bg-dark);
}

.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.about__text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.about__features {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 500;
}

.feature-item__icon {
    color: var(--accent);
    flex-shrink: 0;
}

/* Visual Side */
.about__visual {
    position: relative;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scene {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Glassmorphism Card */
.glass-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 350px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    z-index: 2;
    animation: floatMain 6s ease-in-out infinite;
}

.glass-card__line {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 20px;
}

.glass-card__line.short { width: 60%; }

/* Floating Elements */
.floating-element {
    position: absolute;
    z-index: 3;
    animation: floatElements 8s ease-in-out infinite;
}

.orb-blue {
    width: 120px;
    height: 120px;
    background: var(--primary);
    filter: blur(60px);
    opacity: 0.3;
    top: 10%;
    left: 10%;
}

.card-mini {
    top: 15%;
    right: 15%;
    background: var(--bg-card);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-mini-2 {
    bottom: 20%;
    left: 10%;
    background: rgba(190, 242, 100, 0.1);
    backdrop-filter: blur(5px);
    padding: 10px 18px;
    border-radius: 12px;
    color: var(--accent);
    border: 1px solid var(--accent);
    font-size: 0.8rem;
    animation-delay: -2s;
}

.deco-dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, var(--text-muted) 1px, transparent 1px);
    background-size: 10px 10px;
    opacity: 0.2;
    bottom: 10%;
    right: 10%;
}

/* Animations */
@keyframes floatMain {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, -55%); }
}

@keyframes floatElements {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

/* Mobile Adaptive */
@media (max-width: 992px) {
    .about__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    .about__visual { height: 350px; order: -1; }
    .feature-item { justify-content: center; }
}
/* FAQ Styling */
.faq {
    padding: 100px 0;
    background: #0a0f1d;
}

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

.faq__item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq__item:hover {
    border-color: rgba(79, 70, 229, 0.4);
}

.faq__trigger {
    width: 100%;
    padding: 24px 32px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
}

.faq__icon {
    color: var(--primary-light);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Состояние раскрытия */
.faq__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s;
    padding: 0 32px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq__item.active {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
}

.faq__item.active .faq__content {
    max-height: 200px; /* Достаточно для текста */
    padding-bottom: 24px;
}

.faq__item.active .faq__icon {
    transform: rotate(45deg);
    color: var(--accent);
}

@media (max-width: 600px) {
    .faq__trigger { padding: 20px; font-size: 1rem; }
    .faq__content { padding: 0 20px; }
}
/* Contact Section */
.contact { padding: 120px 0; background: var(--bg-dark); }
.contact__container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.contact-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--primary-light);
    border-left: 3px solid var(--accent);
}

/* Form Styles */
.contact__form-wrapper {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form__group { margin-bottom: 20px; }
.form__input {
    width: 100%;
    padding: 16px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    transition: var(--transition);
}

.form__input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
}

.form__captcha {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
}

.form__checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.btn--full { width: 100%; justify-content: center; }

.form__message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
    font-size: 0.9rem;
    text-align: center;
}

.form__message.success {
    display: block;
    background: rgba(39, 201, 63, 0.1);
    color: #27c93f;
    border: 1px solid #27c93f;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    background: var(--bg-card);
    padding: 20px 30px;
    border-radius: 16px;
    border: 1px solid var(--primary);
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-popup.active { transform: translateX(-50%) translateY(0); }
.cookie-popup__content { display: flex; align-items: center; gap: 20px; }
.cookie-popup p { font-size: 0.85rem; color: var(--text-muted); }
.btn--sm { padding: 8px 16px; font-size: 0.8rem; }

@media (max-width: 768px) {
    .contact__container { grid-template-columns: 1fr; }
    .cookie-popup__content { flex-direction: column; text-align: center; }
}
/* Burger Button */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.burger span {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
    transform-origin: left;
}

.burger.active span:nth-child(1) { transform: rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg); }

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.active { right: 0; }

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mobile-nav__link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
}

@media (max-width: 992px) {
    .nav, .btn--desktop { display: none; }
    .burger { display: flex; }
}
/* Legal Pages General Styles */
.legal-page {
    padding-top: 150px;
    padding-bottom: 100px;
    min-height: 80vh;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin-bottom: 60px;
    line-height: 1.8;
}

/* Contact Cards Grid */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 24px;
    padding: 2px;
    overflow: hidden;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card__content {
    background: #161e2e;
    padding: 40px;
    border-radius: 22px;
    height: 100%;
    position: relative;
    z-index: 2;
}

.contact-card__icon {
    width: 50px;
    height: 50px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent);
}

.contact-card h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.contact-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.contact-link {
    display: inline-block;
    color: var(--primary-light);
    font-weight: 600;
    font-size: 1.1rem;
    word-break: break-all;
}

.contact-link:hover {
    color: var(--accent);
}

.contact-address {
    font-style: normal;
    color: var(--text-main);
    line-height: 1.6;
    font-weight: 500;
}

/* Extra Text */
.contact-extra {
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border-left: 4px solid var(--primary);
    color: var(--text-muted);
}

/* Эффект свечения как у карточек обучения */
.contact-card__glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(79, 70, 229, 0.2) 0%,
        transparent 60%
    );
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover .contact-card__glow {
    opacity: 1;
}

@media (max-width: 768px) {
    .legal-page { padding-top: 120px; }
    .contact-card__content { padding: 30px; }
}
/* Legal Content Styling */
.legal-content {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.02);
    padding: 60px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Декоративный элемент перед заголовками */
.legal-content h2::before {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 2px;
    display: inline-block;
}

.legal-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Стилизация списков */
.legal-list {
    margin-bottom: 30px;
    padding-left: 0;
}

.legal-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--text-muted);
    list-style: none;
}

.legal-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: bold;
}

.legal-list strong {
    color: var(--text-main);
    font-weight: 600;
}

/* Блок контактов внутри текста */
.contact-info-block {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(190, 242, 100, 0.05) 100%);
    border-radius: 24px;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.contact-data {
    margin-top: 20px;
    padding: 0;
}

.contact-data li {
    list-style: none;
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
}

.contact-data a {
    color: var(--accent);
    text-decoration: underline;
}

/* Адаптив для мобилок */
@media (max-width: 768px) {
    .legal-content {
        padding: 30px 20px;
    }
    .legal-content h2 {
        font-size: 1.4rem;
    }
}
/* Disclaimer Specific Styles */
.legal-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.warning-icon {
    color: #FBBF24; /* Amber accent for warning */
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.legal-block {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-block:last-child {
    border-bottom: none;
}

.legal-block strong {
    color: var(--primary-light);
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Акцентный блок предупреждения о рисках */
.risk-warning {
    background: rgba(251, 191, 36, 0.05);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.risk-warning strong {
    color: #FBBF24;
}

/* Блок подтверждения */
.agreement {
    background: rgba(79, 70, 229, 0.05);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.agreement strong {
    color: var(--accent);
}

@media (max-width: 600px) {
    .legal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .warning-icon { width: 40px; }
}
/* Privacy Policy Specific Styles */
.policy-section {
    margin-bottom: 50px;
}

/* Стилизация терминологии */
.terminology-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.terminology-list li {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    list-style: none;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.terminology-list li strong {
    display: block;
    color: var(--accent);
    margin-bottom: 5px;
}

/* Сетка собираемых данных */
.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.data-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: rgba(79, 70, 229, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.data-item i {
    width: 32px;
    height: 32px;
    color: var(--primary-light);
    flex-shrink: 0;
}

.data-item strong {
    display: block;
    color: var(--text-main);
    font-size: 1rem;
}

.data-item span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Футер политики */
.contact-footer-policy {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--primary);
}

.policy-mail {
    display: inline-block;
    margin-top: 15px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .terminology-list { grid-template-columns: 1fr; }
    .data-item { padding: 15px; }
}
/* Privacy Final Enhancements */
.policy-hero-card {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(15, 23, 42, 0.1) 100%);
    padding: 30px;
    border-radius: 20px;
    border: 1px dashed rgba(79, 70, 229, 0.3);
    margin-bottom: 30px;
}

.policy-notice {
    border-left: 4px solid var(--accent);
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 40px;
    font-size: 0.95rem;
}

/* Срок хранения */
.storage-info {
    display: flex;
    gap: 20px;
    margin: 25px 0;
}

.storage-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    padding: 15px 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.storage-item i {
    color: var(--accent);
    width: 20px;
}

/* Сетка сбора данных */
.data-collection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 40px 0;
}

.data-box {
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.data-box h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.data-box h3 i {
    color: var(--primary-light);
}

.data-box ul {
    padding: 0;
}

.data-box li {
    list-style: none;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.data-box li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Кнопка в правах */
.rights-block {
    margin-top: 50px;
    text-align: center;
    padding: 40px;
    background: var(--bg-card);
    border-radius: 24px;
}

.contact-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 40px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.contact-btn:hover {
    box-shadow: 0 0 25px rgba(79, 70, 229, 0.5);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .data-collection-grid { grid-template-columns: 1fr; }
    .storage-info { flex-direction: column; }
}
/* Refund Policy Specific Styles */
.refund-accent {
    border-left: 4px solid var(--primary);
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.1) 0%, transparent 100%);
}

.refund-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0 50px;
}

.refund-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.refund-card:hover {
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.05);
}

.refund-card i {
    width: 32px;
    height: 32px;
    color: var(--accent);
    margin-bottom: 20px;
}

.refund-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.refund-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Мини-шаги */
.steps-mini {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-mini {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-card);
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
}

.step-mini span {
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Блок исключений */
.warning-block {
    background: rgba(239, 68, 68, 0.05); /* Мягкий красный оттенок */
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    margin: 50px 0;
}

.warning-block h2 {
    color: #FCA5A5; /* Светло-красный для заголовка */
}

@media (max-width: 768px) {
    .refund-grid { grid-template-columns: 1fr; }
}
/* Terms & Conditions Specific Styles */
.terms-accent {
    border-left: 4px solid var(--accent);
    background: linear-gradient(90deg, rgba(190, 242, 100, 0.05) 0%, transparent 100%);
}

.legal-section {
    margin-bottom: 45px;
}

.legal-section h2 {
    font-size: 1.6rem;
    color: var(--text-main);
    margin-bottom: 20px;
}

/* Блок интеллектуальной собственности */
.property-block {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
}

.property-block i {
    width: 40px;
    height: 40px;
    color: var(--primary-light);
    flex-shrink: 0;
}

.property-block p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Стилизация списков внутри текста */
.legal-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: var(--text-muted);
}

.legal-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent);
}

@media (max-width: 768px) {
    .property-block {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
}