:root {
    --main-bg: #17175d;
    --dark-bg: #0f1038;
    --primary: #4800ff;
    --secondary: #48b0ff;
    --card-bg: rgba(255, 255, 255, 0.06);
    --border-color: rgba(255, 255, 255, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, var(--dark-bg), var(--main-bg));
    color: white;
}

.custom-navbar {
    background-color: rgba(9, 11, 39, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-box {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(72, 176, 255, 0.3);
}

.text-info-custom {
    color: var(--secondary);
}

.custom-link {
    position: relative;
    color: white;
    text-decoration: none;
    transition: 0.3s;
    font-size: 18px;
}

.custom-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: 0.3s;
}

.custom-link:hover {
    color: var(--secondary);
}

.custom-link:hover::after {
    width: 100%;
}

.btn-main {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
}

.btn-main:hover {
    color: white;
    opacity: 0.95;
}

.btn-demo {
    color: white;
    border: 1px solid rgba(72, 176, 255, 0.35);
}

.btn-demo:hover {
    background-color: rgba(72, 176, 255, 0.1);
    color: white;
}

.btn-outline-custom {
    border: 1px solid var(--secondary);
    color: white;
    background: transparent;
}

.btn-outline-custom:hover {
    background-color: var(--secondary);
    color: white;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.small-title {
    color: var(--secondary);
    font-size: 1.1rem;
}

.gradient-text {
    background: linear-gradient(90deg, #ffffff, #48b0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    max-width: 650px;
}

.mini-pill {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    font-size: 0.95rem;
}

.chat-preview,
.feature-card,
.doc-card,
.contact-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: 0 0 30px rgba(72, 176, 255, 0.12);
}

.window-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    margin-right: 6px;
}

.chat-box {
    background-color: rgba(13, 16, 49, 0.75);
    border-radius: 18px;
    overflow: hidden;
}

.chat-sidebar {
    background-color: rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-item {
    background-color: rgba(255, 255, 255, 0.06);
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 0.8rem;
    font-size: 0.92rem;
}

.message {
    padding: 1rem;
    border-radius: 18px;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.user-msg {
    background-color: rgba(72, 176, 255, 0.12);
    border: 1px solid rgba(72, 176, 255, 0.2);
    margin-left: auto;
    max-width: 90%;
}

.ai-msg {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
    max-width: 90%;
}

.input-box {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 0.9rem 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.section-text {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.75);
}

.feature-card,
.doc-card {
    transition: 0.25s;
}

.feature-card:hover,
.doc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 30px rgba(72, 176, 255, 0.25);
}

.icon-box {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(72, 0, 255, 0.5), rgba(72, 176, 255, 0.45));
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
}

.badge-custom {
    background-color: rgba(72, 176, 255, 0.12);
    color: #bfe8ff;
    border: 1px solid rgba(72, 176, 255, 0.18);
}

.footer-custom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.08);
    color: white;
    border-color: #48b0ff;
    box-shadow: none;
}

@media (max-width: 991px) {
    .hero {
        min-height: auto;
        padding-top: 4rem;
    }

    .chat-sidebar {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
}