:root {
    --primary-color: #004795;
    --primary-gradient: linear-gradient(to right, #003366, #004795);
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --gray: #666;
    --light-gray: #f0f0f0;
    --transition: all 0.3s ease;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.highlight {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    transition: var(--transition);
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #a00823;
    transform: translateY(-2px);
}

/* Header / Hero */
.hero {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.logo-area {
    margin-bottom: 30px;
}

.logo {
    max-height: 60px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    font-size: 3rem;
    color: var(--text-color);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text .subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--white);
}

.cta-section h2 {
    font-size: 2.25rem;
    margin-bottom: 30px;
}

.cta-note {
    margin-top: 15px;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Chatbot UI (Cloned) */
.nld-chatbot {
    position: fixed;
    z-index: 999999;
    bottom: 20px;
    font-family: inherit;
}

.nld-chatbot.nld-left {
    left: 20px;
}

.nld-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition);
}

.nld-avatar:hover {
    transform: scale(1.1);
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.nld-invite-message-container {
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    width: 250px;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.nld-chatbot-invite-message {
    background: white;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid #ddd;
    position: relative;
}

.nld-chatbot-invite-message::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    margin-top: -5px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid white;
}

.nld-chatbot-invite-message p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0;
}

/* Chat Window */
.nld-conversation {
    position: fixed;
    bottom: 90px;
    left: 20px;
    width: 380px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28), opacity 0.3s ease;
    transform-origin: bottom left;
    z-index: 1000000;
}

.nld-conversation.nld-hidden {
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

/* Fullscreen Mode */
.nld-conversation.nld-fullscreen {
    width: 100vw;
    height: 100vh;
    bottom: 0;
    left: 0;
    border-radius: 0;
    transform-origin: center;
}

.nld-conversation.nld-fullscreen .nld-conversation-header {
    padding: 20px 30px;
}

.nld-conversation-header {
    background: var(--primary-gradient);
    padding: 15px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nld-avatar.nld-hidden {
    opacity: 0;
    pointer-events: none;
}

.nld-infobar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.nld-title {
    font-weight: bold;
    font-size: 1rem;
}

.nld-subtitle {
    font-size: 0.75rem;
    opacity: 0.8;
}

.nld-close {
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.nld-close:hover {
    opacity: 1;
}

.nld-container {
    flex: 1;
    overflow: hidden;
    background: #f7f7f7;
    position: relative;
}

.nld-scrollable {
    height: 100%;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nld-group {
    max-width: 80%;
    display: flex;
}

.nld-group.nld-left {
    align-self: flex-start;
}

.nld-group.nld-right {
    align-self: flex-end;
}

.nld-bubble {
    padding: 10px 15px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.nld-left .nld-bubble {
    background: white;
    color: black;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.nld-right .nld-bubble {
    background: var(--primary-gradient);
    color: white;
    border-bottom-right-radius: 4px;
}

.nld-input {
    padding: 15px;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nld-input input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 10px 15px;
    outline: none;
    font-size: 0.9rem;
}

.nld-submit {
    width: 35px;
    height: 35px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='22' y1='2' x2='11' y2='13'%3E%3C/line%3E%3Cpolygon points='22 2 15 22 11 13 2 9 22 2'%3E%3C/polygon%3E%3C/svg%3E");
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Footer */
footer {
    background-color: #333;
    color: #ccc;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}

footer strong {
    color: white;
}

/* Responsive */
@media (max-width: 480px) {
    .nld-conversation {
        width: calc(100vw - 40px);
        height: calc(100vh - 120px);
        bottom: 80px;
    }
}