@font-face {
    font-family: 'Inter';
    font-display: swap;
    src: url('../niCol-fonts/niCol-inter.woff2') format("woff2");
}

@font-face {
    font-family: 'Space Grotesk';
    font-display: swap;
    src: url('../niCol-fonts/niCol-spacegrotesk.woff2') format("woff2");
}

@font-face {
    font-family: 'Poppins';
    font-display: swap;
    src: url('../niCol-fonts/niCol-poppins.woff2') format("woff2");
}

/* --- БАЗОВЫЕ СТИЛИ --- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #000000;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    overflow-x: hidden;
    line-height: 1.5;
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1,
h2,
.card-title,
.btn-primary,
.btn-submit,
.btn-outline {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 820px;
    margin: 0 auto;
    width: 100%;
}

section {
    padding: 70px 24px 0px 24px;
}

.section-title {
    text-align: center;
    font-family: Space Grotesk;
    font-weight: 700;
    font-style: Bold;
    font-size: 32px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 40px;
}

/* --- HEADER --- */
.site-header {
    background-color: #0A0A0E;
    padding: 23px 24px;
    border-bottom: 1px solid #463E5C;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 14px;
    color: #CCCCCC;
}

.nav-link:hover {
    color: #FFFFFF;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
}

.hero-grid {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.hero-content {
    width: 100%;
    max-width: 405px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.hero-greeting {
    color: #C8B6FF;
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 1;
}

.hero-title {
    font-family: Space Grotesk;
    font-weight: 700;
    font-style: Bold;
    font-size: 48px;
    color: #FFFFFF;
    line-height: 1.2;
}

.hero-desc {
    color: #7F7F7F;
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 1;
}

.hero-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 12px;
    color: #FFFFFF;
}

.status-dot {
    width: 12px;
    height: 12px;
    background-color: #009A1C;
    border-radius: 50%;
    box-shadow: 0 0 8px #009A1C;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #5C33BF;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 15px;
    font-size: 24px;
    justify-content: center;
}

/* --- STATS SECTION --- */
.stats-section {
    padding: 70px 24px 0px 24px !important;
}

.stats-inner {
    background-color: #1A1A1A;
    border: 1px solid #463E5C;
    box-shadow: 0px 1px 36.9px 0px #8768D166;
    border-radius: 18px;
    padding: 20px;
}

.stats-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-item {
    text-align: center;
    flex: 1;
    border-right: 1px solid #463E5C;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #C8B6FF;
    margin-bottom: 12px;
}

.stat-label {
    font-family: Inter;
    font-weight: 400;
    text-align: center;
    font-size: 16px;
    color: #FFFFFF;
    letter-spacing: 0.5px;
}

/* --- ABOUT SECTION --- */
.about-grid {
    display: flex;
    gap: 24px;
}

.about-content {
    flex: 1;
}

.about-subtitle {
    color: #C8B6FF;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-text {
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 1.3;
}

.about-list {
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 1.3;
}

/* --- SERVICES SECTION --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.service-card {
    background-color: #1A1A1A;
    border: 1px solid #463E5C;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0px 0px 15.3px 0px #8768D166;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #6030B1;
    box-shadow: 0 10px 20px rgba(96, 48, 177, 0.2);
}


.card-title {
    font-family: Space Grotesk;
    font-weight: 700;
    font-style: Bold;
    font-size: 23px;
    color: #C8B6FF;
}

.card-desc {
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    color: #ffffff;

}

/* --- SELECTED WORK SECTION --- */
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 40px;
}

.work-card {
    background-color: #1A1A1A;
    border: 1px solid #463E5C;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0px 0px 15.3px 0px #8768D166;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;

}


.work-tag {
    display: inline-block;
    background-color: #2F2B3A;
    border: 1px solid #463E5C;
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 12px;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 3px;
}

.work-card img {
    width: 100%;
}

.work-btn-wrapper {
    text-align: center;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid #5C33BF;
    padding: 10px 21px;
    border-radius: 18px;
    font-family: Space Grotesk;
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
}

.btn-outline:hover {
    border-color: #FFFFFF;
}

/* --- TESTIMONIALS --- */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.testi-card {
    background-color: #1A1A1A;
    border: 1px solid #463E5C;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0px 0px 15.3px 0px #8768D166;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
}

.testi-text {
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    color: #ffffff;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 30px;
    height: 30px;
}

.author-role {
    font-family: Space Grotesk;
    font-weight: 700;
    font-style: Bold;
    font-size: 18px;
    color: #FFFFFF;
}

/* --- CONTACT SECTION --- */
.contact-card {
    background: linear-gradient(92.42deg, #AC73D5 -0.01%, #3A0560 101.26%);
    border-radius: 13px;
    padding: 20px;
    text-align: center;
}

.contact-title {
    font-family: Space Grotesk;
    text-align: left;
    font-weight: 700;
    font-style: Bold;
    font-size: 32px;
    padding-bottom: 12px;
    max-width: 306px;
    margin: 0 auto;
    color: #ffffff;
}

.contact-subtitle {
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    color: #ffffff;
    max-width: 306px;
    margin: 0 auto;
    text-align: left;
}

.contact-form {
    width: 100%;
    max-width: 563px;
    margin: 0 auto;
    text-align: left;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group label {
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    color: #ffffff;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: #E6E6FA;
    border: none;
    border-radius: 8px;
    padding: 12px 15px;
    font-family: 'Inter', sans-serif;
    color: #000000;
    outline: none;
}

.block-btn {
    width: 100%;
    display: flex;
    justify-content: center;
}

.btn-submit {
    width: 100%;
    max-width: 284px;
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    padding: 10px;
    border-radius: 15px;
    font-family: Space Grotesk;
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background-color: #FFFFFF;
    color: #4B0082;
}

.form-message {
    display: none;
    background-color: #00FF00;
    color: #000000;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

.form-message.success {
    display: block;
}

/* --- FOOTER --- */
.site-footer {
    padding: 70px 24px 40px;
    text-align: center;
}

.footer-divider {
    height: 1px;
    background-color: #C8B6FA;
    margin-bottom: 70px;
}


.footer-disclaimer {
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    color: #ffffff;
    line-height: 1.2;
    text-align: center;
}

.footer-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.foot-fl {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    border-top: 1px solid #C8B6FA;
    padding-top: 70px;
}

.logo-stub {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #FFFFFF;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    color: #fff;
}

.dot-separator {
    color: #C8B6FA;
}

/* --- ADAPTIVE (Mobile) --- */
@media (max-width: 768px) {

    /* Header Burger */
    .burger-menu {
        display: block;
    }

    .nav-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0A0A0A;
        border-bottom: 1px solid #1A1A1A;
        padding: 20px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .nav-wrapper.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .burger-menu.is-active .burger-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .burger-menu.is-active .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.is-active .burger-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Sections */
    .hero-grid {
        flex-direction: column;
        text-align: left;
        align-items: center;
    }

    .about-grid {
        flex-direction: column-reverse;
        text-align: left;
        align-items: center;
    }

    .hero-image-wrapper img {
        display: none;
    }

    .hero-content {
        align-items: flex-start;
    }

    .hero-title {
        font-size: 32px;
    }



    .hero-status {
        justify-content: center;
    }

    .stats-list {
        flex-direction: column;
        gap: 20px;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid #333333;
        padding-bottom: 20px;
    }

    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .services-grid,
    .work-grid,
    .testi-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 30px 20px;
    }
}


/* --- СТИЛИ ДЛЯ СЕКЦИИ ПОЛИТИКИ (POLICY SECTION) --- */

.policy-section {
    padding: 70px 24px;
}

/* Главный заголовок h1 */
.policy-main-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 32px;
    color: #FFFFFF;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 32px;
    letter-spacing: 1px;
}

/* Обёртка каждого смыслового блока */
.policy-block {
    margin-top: 32px;
    margin-bottom: 32px;
}

/* Подзаголовки h2 */
.policy-subheading {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #FFFFFF;
    margin-bottom: 16px;
}

/* Основной текст */
.policy-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #CACACA;
}

/* Выделение текста в блоке "Types of Cookies We Use" (чтобы смотрелось структурно) */
.policy-highlight {
    color: #FFFFFF;
    /* Выделяем белым названия куки-файлов */
}

/* Списки внутри политики */
.policy-list {
    padding: 0;
    list-style-type: disc;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #CACACA;
    padding-left: 15px;
}

.policy-list li {
    padding-left: 5px;
}

/* Адаптив под мобильные устройства (до 768px) */
@media (max-width: 768px) {
    .policy-main-title {
        font-size: 26px;
        margin-bottom: 40px;
    }

    .policy-subheading {
        font-size: 18px;
    }

    .policy-text,
    .policy-list {
        font-size: 14px;
        /* Чуть уменьшаем текст на мобилках */
    }

    .policy-block {
        margin-top: 30px;
        margin-bottom: 30px;
    }
}

/* Настройки секции с игрой (правая колонка) */
.demo-section {
    flex: 1;
    /* Игра занимает все оставшееся место (55%) */
    display: flex;
    align-items: center;
    /* Центрируем игру по вертикали относительно зеленого блока */
    justify-content: center;
}

/* --- Контейнер самой игры (адаптивный 16:9) --- */
.block-game {
    position: relative;
    width: 100%;
    /* Ограничитель, чтобы игра не становилась гигантской на больших экранах */
    margin: 0 auto;
    padding-bottom: 56.25%;
    /* Пропорция 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    /* Немного скруглим углы для красоты */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 10px solid #C8B6FA;
    /* Легкая тень, чтобы выделить игру */
}

.block-game iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    /* Убираем стандартную рамку iframe */
}

@media (max-width: 600px) {
    .logo img {
        width: 150px;
    }

    .site-header {
        background-color: #0A0A0E;
        padding: 27px 24px;
    }

    .hero-section {
        padding: 12px 24px;
    }

    .hero-title {
        font-size: 24px;
    }

    .btn-primary {
        width: 100%;
        background: transparent;
        border: 1px solid #5C33BF;
    }

    .stats-inner {
        padding: 12px;
    }

    .stat-item {
        border-right: none;
        border-bottom: none;
        padding-bottom: 0px;
    }

    .footer-logos {
        display: flex;
        justify-content: center;
        gap: 40px;
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0px;
    }
}