* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: #060505;
    font-family: "Nunito", sans-serif !important;

}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Панель навигации */
.navbar .nav-link {
    transition: color 0.3s ease;
    font-size: 1.1rem;
}
.custom-navbar select.form-select {
    min-width: 80px;
    margin-left: 1rem;
}
.navbar-brand span {
    font-size: 1.5rem;
}
@media (max-width: 991.98px) {
    .navbar-collapse {
        align-items: flex-start !important;
    }
    .navbar-nav {
        align-items: flex-start;
    }
    .navbar-nav .nav-link {
        text-align: left;
        padding-left: 1rem;
    }
}
.dropdown-menu a {
    font-weight: 500;
    padding: 8px 12px;
}
.dropdown-toggle img {
    border-radius: 2px;
}
.navbar .dropdown-menu {
    background-color: black;
    border: none;
    padding: 0.5rem 0;
}
.navbar .dropdown-menu .dropdown-item {
    color: #fff;
}
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
    background-color: black;
    color: #fff;
}
.navbar-transparent {
    background-color: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease;
    padding: 1rem 0;
    backdrop-filter: blur(10px);
}
.navbar-scrolled {
    background-color: black;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    padding: 0.5rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
body.scrolled-padding {
    padding-top: 70px;
}
.navbar-transparent .lang-toggle-btn {
    background-color: transparent;
    background-color: black;
    border: none;
    color: #fff;
}
.navbar-scrolled .lang-toggle-btn {
    background-color: black;
    border: none;
    color: #fff;
    border-radius: 4px;
}
.lang-toggle-btn {
    transition: background-color 0.3s ease, border 0.3s ease;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}
.lang-toggle-btn:focus {
    box-shadow: none !important;
    outline: none !important;
}
.navbar .lang-toggle-btn {
    background-color: transparent;
    border: none;
    box-shadow: none;
    color: white !important;
}
.navbar .nav-link {
    color: #fff !important;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #adb5bd !important;
}


.hidden-navbar {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}
.visible-navbar {
    opacity: 1;
    pointer-events: auto;
}

.reveal-after-hero {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-after-hero.visible {
    opacity: 1;
    transform: translateY(0);
}
.custom-burger {
    background: transparent;
    border: none;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
}

.custom-burger:focus {
    outline: none;
    box-shadow: none;
}

.custom-burger .bar {
    display: block;
    width: 28px;
    height: 2px;
    background-color: white;
    border-radius: 1px;
    transition: all 0.4s ease;
    transform-origin: center;
}

.custom-burger.open .top {
    transform: rotate(45deg) translate(5px, 5px);
}
.custom-burger.open .middle {
    opacity: 0;
}
.custom-burger.open .bottom {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Main */
.main{
    padding-bottom: 48px;
}
.hero_section{
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    z-index: 2;
    padding: 0;
}

.input-wrapper {
    width: 100%;
    margin: 30px auto;
}

/* Инпут поле */
.input-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 12px 16px;
    box-shadow: none;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    transition: background 0.3s ease;
}
.input-box:focus-within {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

#queryInput {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    background-color: transparent;
    border: none;
    color: #eee;
    outline: none;
    resize: none;
    box-sizing: border-box;
    overflow: hidden;
    white-space: pre-wrap;
    line-height: 1.5;
    min-height: 48px;
    height: auto;
    max-height: 48px;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

#queryInput::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
#queryInput.initial-size {
    width: 50px;
    min-height: 48px;
}

#queryInput.expanded {
    min-height: 100px;
    width: 100%;
}

#submitBtn {
    background: rgba(255, 255, 255, 0.8);
    color: #111;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    transition: background 0.3s ease, opacity 0.3s ease;
}

#submitBtn:hover {
    background: #fff;
}

.close-btn {
    position: absolute;
    top: 8px;
    right: 4px;
    background: transparent;
    border: none;
    color: #eee;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    z-index: 20;
    line-height: 1;
    padding: 0 6px;
    transition: opacity 0.3s ease;
}

.chat-messages {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    color: #eee;
    text-align: left;
    width: 100%;
    max-width: 100%;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.message {
    display: flex;
    gap: 12px;
    word-wrap: break-word;
    white-space: pre-wrap;
    line-height: 1.4;
    align-items: center;
    padding: 8px 0;
}

.user-message .icon {
    font-weight: bold;
    color: #ccc;
    white-space: nowrap;
    user-select: none;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.user-message .text {
    max-width: 100%;
    white-space: pre-wrap;
    padding: 6px 12px;
    word-break: break-word;
}

.bot-message .icon {
    font-weight: bold;
    color: #888;
    white-space: nowrap;
    user-select: none;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.bot-message .text {
    max-width: 100%;
    white-space: pre-wrap;
    padding: 6px 12px;
    word-break: break-word;
}

.go-to-bot {
    margin: 12px auto 0 auto;
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    display: none;
}

.go-to-bot:hover {
    background: rgba(255, 255, 255, 0.15);
}

.icon-svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-right: 4px;
}

.input-inner {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Общие переходы для элементов */
#queryInput,
#submitBtn,
#closeBtn,
#chatMessages,
#goToBotBtn {
    transition: opacity 0.3s ease;
}

/* Benefits section */

.benefits_section {
    margin-bottom:  96px;

}

.benefits_section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.benefits_section .card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-align: center;
    min-height: 220px;
    position: relative;
    overflow: hidden;
}

.benefits_section .card:hover .overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.benefits_section .card-icon {
    display: block;
    margin: 0 auto;
}

.benefits_section .card-icon img {
    display: block;
    margin: 0 auto;
    max-width: 96px;
    max-height: 96px;
}

.benefits_section .card-text {
    font-weight: 600;
    font-size: 18px;
    color: #e0e0e0;
    margin-top: 0.75rem;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    text-align: center;
    pointer-events: none;
}

.overlay-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.prompt-text {
    font-size: 14px;
    margin-bottom: 0.5rem;
}

.description {
    font-size: 13px;
    color: #ccc;
    margin-bottom: 0.75rem;
}

.copy-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    transition: transform 0.2s ease;
}

.copy-btn:hover {
    transform: scale(1.1);
}

.benefits_section .card-icon img {
    filter: grayscale(100%) brightness(140%) contrast(80%);
}

@keyframes tapPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.85);
    }
}

.benefits_section .card:first-child {
    position: relative;
}
.benefits_section .card:first-child .corner-icon {
    top: 12px;
    right: 12px;
    left: auto; /* чтобы убрать возможный left */
    position: absolute;
    width: 28px;
    height: 28px;
    cursor: pointer;
    z-index: 10;
    user-select: none;
    animation: tapPulse 1.2s ease-in-out infinite;
}
.benefits_section .card:first-child .corner-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

/* AI Section */
.ai_section {
    margin-bottom: 96px;
}

.ai-cards-grid {
    --gap: 10px;
    margin-left: calc(-1 * var(--gap) / 2);
    margin-right: calc(-1 * var(--gap) / 2);
}

.ai-cards-grid > [class*="col-"] {
    padding-left: calc(var(--gap) / 2);
    padding-right: calc(var(--gap) / 2);
    margin-bottom: var(--gap);
}

.ai-card-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    user-select: none;
    pointer-events: none;
}
.ai-card-img {
    filter: brightness(0) invert(1);
}
.ai-card {
    background-color: #1e1e1e;
    padding: 20px;
    text-align: center;
    border: 1px solid #1e1e1e;
    border-radius: 0;
    color: white;
    transition: border-radius 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    height: 100%;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.ai-card:hover,
.ai-card:focus {
    outline: none;
    transform: scale(1.05);
    border-color: #555;
}

.rounded-top-left {
    border-top-left-radius: 25px;
}

.rounded-top-right {
    border-top-right-radius: 25px;
}

.rounded-bottom-left {
    border-bottom-left-radius: 25px;
}

.rounded-bottom-right {
    border-bottom-right-radius: 25px;
}

.placeholder-logo {
    width: 80px;
    height: 80px;
    background-color: #ced4da;
    color: #495057;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border-radius: 8px;
}


@media (max-width: 575.98px) {
    .rounded-top-left,
    .rounded-top-right,
    .rounded-bottom-left,
    .rounded-bottom-right {
        border-radius: 0 !important;
    }
    .ai-cards-grid > .col-6:nth-child(1) .ai-card {
        border-top-left-radius: 25px !important;
    }
    .ai-cards-grid > .col-6:nth-child(2) .ai-card {
        border-top-right-radius: 25px !important;
    }
    .ai-cards-grid > .col-6:nth-child(7) .ai-card {
        border-bottom-left-radius: 25px !important;
    }
    .ai-cards-grid > .col-6:nth-child(8) .ai-card {
        border-bottom-right-radius: 25px !important;
    }
}
.reveal-after-hero:not(.visible) .always-clickable * {
    pointer-events: auto !important;
}
.custom-modal {
    background-color: #121212;
    color: #f1f1f1;
    border-radius: 16px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    animation: fadeInModal 0.3s ease;
}

.custom-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-modal .modal-title {
    font-weight: 600;
    font-size: 1.25rem;
}

.custom-modal .modal-body {
    padding: 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
}


.custom-modal .btn-close {
    filter: invert(1);
    opacity: 0.7;
    transition: 0.2s ease;
}

.custom-modal .btn-close:hover {
    opacity: 1;
}


@keyframes fadeInModal {
    from {
        transform: scale(0.96);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
.ai-bot-button {
    background-color: #ffffff10;
    color: #fff;
    border: 1px solid #ffffff33;
    padding: 16px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
    z-index: 1;
    text-decoration: none;
}

.ai-bot-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05), rgba(255,255,255,0.2));
    transition: left 0.4s ease;
    z-index: -1;
}

.ai-bot-button:hover::before {
    left: 0;
}

.ai-bot-button:hover {
    color: #fff;
    border-color: #ffffff66;
    transform: scale(1.03);
}

.corner-icon {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 24px;
    height: 24px;
    user-select: none;
    pointer-events: none;
    z-index: 10;
    animation: tapPulse 1.2s ease-in-out infinite;
}

@keyframes tapPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}
/* How it works section */
.how_it_works {
    margin-bottom:  96px;
}
.how_it_works p {
    font-size: 1.4rem;
    line-height: 2;
    max-width: 640px;
    margin-top: 1.5rem;
    text-indent: 1.8em;
}

.how_it_works .btn {
    background-color: #ffffff10;
    color: #fff;
    border: 1px solid #ffffff33;
    padding: 14px 32px;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.how_it_works .btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}
.how_it_works .btn:hover::before {
    opacity: 1;
}

.how_it_works .btn:hover {
    border-color: #ffffff66;
    color: #fff;
}
.iphone-frame {
    width: 360px;
    height: 640px;
    border: 4px solid #000;
    border-radius: 42px;
    background-color: #111;
    padding: 14px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.iphone-screen {
    width: 100%;
    height: 100%;
    background-color: #000;
    border-radius: 30px;
    overflow: hidden;
}
.video-placeholder {
    width: 100%;
    height: 100%;
    background-color: #2c2c2c;
    color: #ccc;
    font-size: 18px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.volume-buttons {
    position: absolute;
    left: -7px;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.volume-btn {
    width: 4px;
    height: 40px;
    background-color: #444;
    border-radius: 2px;
}
.power-button {
    position: absolute;
    right: -7px;
    top: 160px;
    width: 4px;
    height: 60px;
    background-color: #444;
    border-radius: 2px;
}
@media (max-width: 767.98px) {
    .how_it_works .btn {
        display: block;
        margin: 2rem auto 0 auto;
        width: fit-content;
    }
}
/* Why we section */
.why_we_section {
    margin-bottom: 96px;
    position: relative;
    z-index: 2;
}

.why-card {
    background-color: #1e1e1e;
    border-radius: 32px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.why-image-placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    margin-bottom: 20px;
}

#whyCarousel {
    height: 400px;
    position: relative;
    display: none; /* по умолчанию скрыт */
}

#whyCarousel .carousel-control-prev,
#whyCarousel .carousel-control-next {
    top: 70%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
}

.why-card.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 24px;
    transition: transform 0.3s ease;
}

.why-card.glass:hover {
    transform: translateY(-5px) scale(1.02);
}

.why-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

/* Скрываем сетку на мобильных */
.row.gx-5.d-none.d-md-flex {
    display: flex !important;
}

/* Мобильный слайдер показываем ниже md */
@media (max-width: 767.98px) {
    /* Скрываем сетку */
    .row.gx-5.d-none.d-md-flex {
        display: none !important;
    }
    /* Показываем слайдер */
    #whyCarousel {
        display: block !important;
    }
}


/* FAQ */
/* да да да и что то есть !important я так чувствую xD */
n.FAQ h2.text-center {
    font-weight: 700 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-bottom: 1.5rem !important;
}

section.FAQ .accordion-button {
    border-radius: 8px !important;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease !important;
    position: relative;
    z-index: 1;
}
section.FAQ .accordion-button:hover {
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    background-color: rgba(60, 60, 60, 0.65) !important;
    color: rgba(255, 255, 255, 0.95) !important;
}
section.FAQ .accordion-button:not(.collapsed) {
    background-color: rgba(50, 50, 50, 0.55) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: none !important;
}

section.FAQ .accordion-body {
    background-color: rgba(40, 40, 40, 0.25) !important;
    color: rgba(220, 220, 220, 0.85) !important;
    font-size: 0.95rem !important;
    border-top: 1px solid rgba(100, 100, 100, 0.3) !important;
    padding-top: 1rem !important;
}

section.FAQ .accordion-item {
    border-radius: 8px !important;
    overflow: hidden;
}
section.FAQ .accordion-item + .accordion-item {
    margin-top: 1rem !important;
}


/* Contact US */
.contact_us {
    padding: 40px 20px;
    background: transparent;
}

.contact_us h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
}

.contact_us p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact_us a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.contact_us a:hover {
    color: #cccccc;
}

.contact-form {
    max-width: 500px;
    text-align: center;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #555;
    background-color: transparent;
    color: #fff;
    font-size: 1rem;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
}
.contact-form button {
    background-color: #ffffff10;
    color: #fff;
    border: 1px solid #ffffff33;
    padding: 16px 40px;
    font-size: 1.2rem;
    border-radius: 10px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    backdrop-filter: blur(6px);
    margin-top: 16px;
}


.contact-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(120deg, #ffffff22, #ffffff55, #ffffff22);
    transition: all 0.6s ease;
    z-index: 0;
}

.contact-form button:hover::before {
    left: 0;
}

.contact-form button:hover {
    border-color: #ffffff66;
    color: #fff;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.2);
}


.contact-form button span {
    position: relative;
    z-index: 2;
}


.contact-form button {
    z-index: 1;
}
.contact-form button span {
    position: relative;
    z-index: 2;
}

/* Footer */
.page-footer {
    background-color: transparent;
    color: #ccc;
    padding: 40px 0 20px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1 1 220px;
    min-width: 200px;
}

.footer-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #fff;
}

.footer-divider {
    padding-bottom: 8px;
    margin-bottom: 16px;
    display: inline-block;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #0dcaf0;
    text-decoration: underline;
}

.btn-telegram {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 18px;
    background-color: rgba(0, 136, 204, 0.85);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-telegram:hover {
    background-color: rgba(0, 95, 138, 0.85);
}

.footer-bottom {
    padding-top: 15px;
    text-align: center;
    font-size: 0.875rem;
    color: #999;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .footer-section {
        width: 100%;
        min-width: unset;
    }

    .footer-title {
        font-size: 1.1rem;
    }

    .btn-telegram {
        width: 100%;
        text-align: center;
    }

    .footer-nav li {
        margin-bottom: 8px;
    }

    .footer-bottom {
        font-size: 0.8rem;
        text-align: center;
        padding-top: 20px;
    }

    .container {
        padding: 0 16px;
    }
}

.footer-divider-line {
    border: none;
    border-top: 3px solid #444;
    margin: 20px 0 12px;
    width: 100%;
}

.legal-links li {
    margin-bottom: 8px;
}



.legal-links .footer-link:hover {
    color: #0dcaf0;
}
/* мобилка - тест попытка трай */
@media (max-width: 575.98px) {


    .hero_section {
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0 15px;
    }


    .ai_section {
        margin-bottom: 40px;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .ai_section h2 {
        margin-bottom: 12px !important;
        font-size: 1.5rem;
    }

    .ai_section p {
        margin-bottom: 16px !important;
        font-size: 1rem;
        line-height: 1.3;
    }


    .ai-cards-grid {
        --gap: 6px;
    }

    .ai-cards-grid > [class*="col-"] {
        margin-bottom: var(--gap);
        padding-left: calc(var(--gap) / 2);
        padding-right: calc(var(--gap) / 2);
    }
}

@media (max-width: 767.98px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.75rem;
    }

    /* Навигация */
    .navbar .nav-link {
        font-size: 1rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .custom-navbar select.form-select {
        min-width: 60px;
        margin-left: 0.5rem;
    }
    .navbar-brand span {
        font-size: 1.25rem;
    }


    /* Benefits section */
    .benefits_section {
        margin-bottom: 48px;
        padding: 0 1rem;
    }
    .benefits_section h2 {
        font-size: 1.5rem;
    }
    .benefits_section .card {
        min-height: auto;
        padding: 1.5rem 1rem;
    }
    .benefits_section .card-icon img {
        max-width: 64px;
        max-height: 64px;
    }
    .benefits_section .card-text {
        font-size: 16px;
    }

    /* AI Section */
    .ai_section {
        margin-bottom: 48px;
        padding: 0 1rem;
    }
    .ai-card {
        padding: 15px;
        font-size: 14px;
        border-radius: 0;
    }

    /* How it works */
    .how_it_works {
        margin-bottom: 48px;
        padding: 0 1rem;
    }
    .how_it_works p {
        font-size: 1rem;
        max-width: 100%;
        text-indent: 1em;
    }
    .how_it_works .btn {
        padding: 10px 20px;
        font-size: 1rem;
        border-radius: 6px;
    }

    /* iPhone Frame */
    .iphone-frame {
        width: 280px;
        height: 500px;
        border-radius: 30px;
        padding: 12px;
    }
    .iphone-screen {
        border-radius: 24px;
    }

    /* Why we section */
    .why_we_section {
        margin-bottom: 300px;
        padding: 0 1rem;

    }
    .why-card {
        padding: 16px;
    }
    .why-image-placeholder {
        border-radius: 16px;
        font-size: 14px;
    }
    #whyCarousel {
        height: 300px;
    }
    #whyCarousel .carousel-control-prev,
    #whyCarousel .carousel-control-next {
        width: 30px;
        height: 30px;
        top: 70%;
    }

    /* FAQ section */
    section.FAQ {
        padding: 0 1rem;
    }
    section.FAQ h2.text-center {
        font-size: 1.5rem !important;
    }
    section.FAQ .accordion-button {
        font-size: 0.9rem !important;
        border-radius: 6px !important;
    }
    section.FAQ .accordion-body {
        font-size: 0.85rem !important;
    }
}

/* конец мобилки */













/* Вторая страница */
.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.hero-subtitle {
    font-size: 2rem;
}
.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    color: white;
    font-weight: 500;
    border-radius: 2rem;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}
.go-circle {
    color: #000;
    background: white;
    border-radius: 50%;
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
    font-weight: bold;
}


/* how-it-works */
.how-it-works {
    background-color: transparent;
    position: relative;
    z-index: 2;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
}
.step-block {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.step-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-image {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #111;
}


.btn-ghost {
    background-color: #ffffff10;
    color: #fff;
    border: 1px solid #ffffff33;
    padding: 14px 32px;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-ghost::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}
.btn-ghost:hover::before {
    opacity: 1;
}

.btn-ghost:hover {
    border-color: #ffffff66;
    color: #fff;
}


.placeholder-image {
    background: linear-gradient(135deg, #222, #111);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.02);
}
.phone-style {
    width: 300px;
    height: 500px;
    margin: 0 auto;
    border-radius: 2rem;
}

@media (max-width: 767.98px) {
    .how-it-works .btn-ghost {
        display: block;
        margin: 20px auto 0;
        text-align: center;
        width: fit-content;
        padding-left: 32px;
        padding-right: 32px;
    }
}

.iphone-frame {
    position: relative;
    width: 320px;
    height: 680px;
    border: 4px solid #fff; /* Белая тонкая рамка */
    border-radius: 48px;
    background: #000;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    margin: auto;
}

/* Гифка внутри телефона */
.gif-inside {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 44px; /* чуть меньше, чем внешний контейнер */
}

/* Кнопки */
.buttons.left::before,
.buttons.left::after,
.buttons.right::before {
    content: '';
    position: absolute;
    background: #ccc;
    border-radius: 2px;
}

/* Левая сторона — громкость */
.buttons.left::before {
    top: 100px;
    left: -6px;
    width: 3px;
    height: 40px;
}
.buttons.left::after {
    top: 160px;
    left: -6px;
    width: 3px;
    height: 30px;
}

/* Правая сторона — блокировка */
.buttons.right::before {
    top: 130px;
    right: -6px;
    width: 3px;
    height: 50px;
}


.error-message {
    color: red;
    font-size: 0.85rem;
}

.grecaptcha-badge {
    position: static !important;
    display: block;
    margin-top: 8px;
    transform: scale(0.85);
    transform-origin: top left;
}
