/* =========================================================
   AI ENTER — HOME
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #050505;
    color: #fff;
    font-family: Arial, sans-serif;
    line-height: 1.5;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 50px 10px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 3px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.services-nav {
    position: sticky;
    top: 0;
    z-index: 100;

    display: flex;
    justify-content: center;
    gap: 8px;

    max-width: 1400px;
    margin: 20px auto 0;

    padding: 15px 30px;

    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(15px);

    border-bottom: 1px solid #181818;
}

.service-link {
    padding: 12px 22px;

    border-radius: 12px;

    color: #777;
    text-decoration: none;

    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.5px;

    transition: 0.2s;
}

.service-link:hover {
    color: #fff;
    background: #111;
}

.service-link.active {
    color: #fff;
    background: #191919;
    border: 1px solid #2b2b2b;
}


/* =========================================================
   MAIN
========================================================= */

main {
    max-width: 1400px;
    margin: 0 auto;
}

.section {
    padding: 110px 50px;
    border-bottom: 1px solid #151515;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    display: flex;
    gap: 30px;

    max-width: 850px;
    margin-bottom: 55px;
}

.section-number {
    color: #555;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    padding-top: 10px;
}

.section-heading h1,
.section-heading h2 {
    margin: 0 0 15px;

    font-size: 52px;
    line-height: 1.05;
    letter-spacing: -1.5px;
}

.section-heading p {
    margin: 0;

    color: #888;

    font-size: 18px;
    line-height: 1.7;
    max-width: 650px;
}


/* =========================================================
   CHAT
========================================================= */

.chat-wrapper {
    max-width: 1000px;
    min-height: 570px;

    margin: 0 auto;

    background: #0b0b0b;

    border: 1px solid #222;
    border-radius: 28px;

    overflow: hidden;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.4);
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 25px;

    border-bottom: 1px solid #222;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 10px;

    font-weight: bold;
}

.status-dot {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #00ff99;

    box-shadow:
        0 0 12px rgba(0, 255, 153, 0.5);
}

.chat-model {
    color: #666;
    font-size: 13px;
}

.chat-messages {
    min-height: 400px;
    padding: 35px;

    display: flex;
    flex-direction: column;
    gap: 25px;
}

.message {
    max-width: 700px;
}

.message-label {
    margin-bottom: 8px;

    color: #666;

    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

.ai-message {
    padding: 20px;

    background: #111;

    border: 1px solid #222;
    border-radius: 18px;
}

.message-text {
    color: #ddd;
    line-height: 1.7;
}

.message-placeholder {
    margin-top: auto;

    text-align: center;

    color: #444;

    font-size: 14px;
}

.chat-input-area {
    display: flex;
    gap: 10px;

    padding: 20px;

    border-top: 1px solid #222;
}

.chat-input-area input {
    flex: 1;

    min-width: 0;

    padding: 17px 20px;

    background: #050505;

    border: 1px solid #292929;
    border-radius: 15px;

    color: white;
    font-size: 16px;

    outline: none;
}

.chat-input-area button {
    width: 55px;

    border: 1px solid #333;
    border-radius: 15px;

    background: #fff;
    color: #000;

    font-size: 22px;
    font-weight: bold;
}

.chat-input-area button:disabled {
    opacity: 0.5;
}

.chat-note {
    padding: 0 20px 20px;

    color: #444;

    text-align: center;
    font-size: 12px;
}


/* =========================================================
   VIDEO
========================================================= */

.video-examples {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.video-card {
    background: #0b0b0b;

    border: 1px solid #222;
    border-radius: 24px;

    overflow: hidden;

    transition: 0.25s;
}

.video-card:hover {
    transform: translateY(-4px);

    border-color: #333;
}

.video-preview {
    height: 300px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at 50% 35%,
            #242424 0,
            #111 40%,
            #070707 75%
        );
}

.preview-label {
    position: absolute;

    top: 18px;
    left: 18px;

    padding: 7px 10px;

    border-radius: 8px;

    background: rgba(0, 0, 0, 0.5);

    color: #777;

    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
}

.play-button {
    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.9);

    color: #000;

    font-size: 20px;

    padding-left: 3px;
}

.video-info {
    padding: 24px;
}

.prompt-title {
    margin: 0 0 10px;

    color: #666;

    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.prompt {
    min-height: 100px;

    margin: 0 0 20px;

    color: #bbb;

    font-size: 14px;
    line-height: 1.7;
}

.copy-prompt {
    width: 100%;

    padding: 12px;

    background: #111;

    border: 1px solid #292929;
    border-radius: 12px;

    color: #aaa;

    cursor: pointer;

    transition: 0.2s;
}

.copy-prompt:hover {
    background: #181818;
    color: white;
}


/* =========================================================
   BUTTON
========================================================= */

.section-action {
    margin-top: 45px;

    text-align: center;
}

.main-button {
    display: inline-block;

    padding: 17px 30px;

    border-radius: 15px;

    background: #fff;
    color: #000;

    text-decoration: none;

    font-size: 15px;
    font-weight: bold;

    transition: 0.2s;
}

.main-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}


/* =========================================================
   SECURITY
========================================================= */

.security-card {
    display: grid;

    grid-template-columns: 1.4fr 1fr;

    gap: 40px;

    padding: 50px;

    background: #0b0b0b;

    border: 1px solid #222;
    border-radius: 28px;
}

.security-content {
    max-width: 650px;
}

.security-icon {
    margin-bottom: 20px;

    color: #00ff99;

    font-size: 34px;
}

.security-content h3 {
    margin: 0 0 18px;

    font-size: 34px;
}

.security-content p {
    margin: 0 0 30px;

    color: #888;

    font-size: 17px;
    line-height: 1.7;
}

.security-features {
    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 15px;
}

.security-features div {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 18px;

    background: #111;

    border: 1px solid #222;
    border-radius: 15px;
}

.security-features strong {
    font-size: 20px;
}

.security-features span {
    color: #aaa;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    max-width: 1400px;

    margin: 0 auto;

    padding: 50px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    color: #444;
}

footer .logo {
    color: #777;
    font-size: 18px;
}

footer p {
    margin: 0;
    font-size: 13px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .header {
        padding: 25px 20px 5px;
    }

    .services-nav {
        justify-content: flex-start;

        overflow-x: auto;

        padding: 12px 15px;

        scrollbar-width: none;
    }

    .services-nav::-webkit-scrollbar {
        display: none;
    }

    .service-link {
        flex-shrink: 0;

        padding: 11px 15px;

        font-size: 12px;
    }

    .section {
        padding: 75px 20px;
    }

    .section-heading {
        gap: 15px;

        margin-bottom: 35px;
    }

    .section-heading h1,
    .section-heading h2 {
        font-size: 36px;
    }

    .section-heading p {
        font-size: 16px;
    }

    .section-number {
        padding-top: 6px;
        font-size: 11px;
    }

    .chat-wrapper {
        min-height: 500px;

        border-radius: 20px;
    }

    .chat-messages {
        max-height: 520px;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .chat-header {
        padding: 17px;
    }

    .chat-model {
        display: none;
    }

    .chat-input-area {
        padding: 15px;
    }

    .video-examples {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .video-preview {
        height: 260px;
    }

    .security-card {
        grid-template-columns: 1fr;

        padding: 30px 22px;

        border-radius: 22px;
    }

    .security-content h3 {
        font-size: 28px;
    }

    .security-features {
        gap: 10px;
    }

    footer {
        padding: 35px 20px;

        flex-direction: column;

        align-items: flex-start;

        gap: 12px;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 500px) {

    .logo {
        font-size: 20px;
    }

    .section-heading h1,
    .section-heading h2 {
        font-size: 31px;
    }

    .chat-messages {
        padding: 15px;
    }

    .ai-message {
        padding: 16px;
    }

    .chat-input-area input {
        padding: 14px;
        font-size: 14px;
    }

    .chat-input-area button {
        width: 48px;
    }

    .video-info {
        padding: 20px;
    }

    .security-card {
        padding: 25px 18px;
    }

}

.message-text p {
    margin: 0 0 14px 0;
}

.message-text p:last-child {
    margin-bottom: 0;
}

.message-text h1,
.message-text h2,
.message-text h3 {
    margin-top: 22px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.message-text h1:first-child,
.message-text h2:first-child,
.message-text h3:first-child {
    margin-top: 0;
}

.message-text ul,
.message-text ol {
    margin: 10px 0 16px 22px;
    padding: 0;
}

.message-text li {
    margin-bottom: 7px;
}

.message-text strong {
    font-weight: 700;
}

.message-text code {
    padding: 3px 6px;
    border-radius: 6px;
    background: #222;
    font-family: monospace;
}

.message-text pre {
    margin: 15px 0;
    padding: 16px;
    overflow-x: auto;
    border-radius: 12px;
    background: #050505;
    border: 1px solid #222;
}

.message-text pre code {
    padding: 0;
    background: none;
}

.register-chat-button {
    display: inline-block;
    margin-top: 8px;
    padding: 12px 22px;

    border: 1px solid #fff;
    border-radius: 8px;

    color: #fff;
    background: transparent;

    text-decoration: none;
    font-size: 13px;
    font-weight: 600;

    transition: all 0.2s ease;
}

.register-chat-button:hover {
    background: #fff;
    color: #000;
}

.header-account {
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
}

.header-account a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.05em;
    transition: opacity 0.2s ease;
}

.header-account a:hover {
    opacity: 0.65;
}

.header-balance {
    font-weight: 600;
}

.header-register-link {
    padding: 8px 14px;
    border: 1px solid #fff;
    border-radius: 6px;
}