:root {
    --primary: #032820;
    --pro: rgb(252, 76, 0);
    --hover: #0057ff;
    --secondary:  rgb(8, 101, 44);
    --accent:  #8cee2b;
    --light: #F7F9FC;
    --dark: #121212;
    --text:    #1F2937;
    --gap: 10px;
    --arrow-size: 48px;
    --card-radius:12px;
    --card-height:220px;
    --shadow: 0 10px 10px rgb(252, 76, 0, 05);
    --bg-primary: linear-gradient(135deg, var(--accent) 25%, var(--secondary) 50%);
    --bg-sacnd: linear-gradient(90deg, var(--secondary) 50%, var(--primary) 125%);
}

.ask-pro i {
    margin-left: 5px;
}

/* =========================================
   ASK PRO
========================================= */

.ask-pro {
    font-family: inherit;
    position: fixed;
    right: 15px;
    bottom: 20px;
    z-index: 9999;
}

/* Main Button */

.ask-pro-button {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    padding: 13px 20px;
    border-radius: 15px;
    background: var(--accent);
    color: var(--secondary);
    font-size: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.75);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    font-weight: bold;
    border: 2px solid var(--secondary);
}

.ask-pro-button:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.75);
    transform: translateY(-5px);
    background: var(--hover);
    color: var(--light);
    border: 2px solid var(--pro);
}

.ask-pro-icon {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light);
    color: var(--secondary);
    font-size: 25px;
}

/* =========================================
   CHAT WINDOW
========================================= */

.ask-pro-chat {
    position: absolute;
    right: 0;
    bottom: 60px;
    width: 350px;
    max-width: calc(100vw - 30px);
    height: 450px;
    display: flex;
    flex-direction: column;
    background: var(--light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    border: 2px solid var(--accent);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.97);
    transform-origin: bottom right;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.ask-pro-chat.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* =========================================
   HEADER
========================================= */
.ask-pro-header {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 16px;
    background: var(--primary);
    color: var(--light);
}

.ask-pro-avatar {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light);
    color: var(--secondary);
    font-size: 35px;
}

.ask-pro-title {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ask-pro-title strong {
    font-size: 16px;
}

.ask-pro-title span {
    font-size: 11px;
    opacity: 0.7;
    color: var(--accent);
}

.ask-pro-close {
    border: none;
    background: transparent;
    color: var(--pro);
    font-size: 30px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.ask-pro-close:hover {
    background: var(--hover);
}

/* =========================================
   CHAT BODY
========================================= */

.ask-pro-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    background: var(--secondary);
}

/* AI MESSAGE */
.ask-message {
    display: flex;
    gap: 9px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.ask-message-avatar {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: var(--accent);
    font-size: 20px;
    border: 1px solid var(--accent);
}

.ask-message-content {
    max-width: 85%;
    background: var(--light);
    padding: 12px 14px;
    border-radius: 5px 16px 16px 16px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
    border: 1px solid var(--accent);
}

.ask-message-content strong {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.ask-message-content p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--primary);
}

/* =========================================
   QUESTIONS
========================================= */

.ask-question {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
}

.ask-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 6px;
}

.ask-options button {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px;
    background: var(--light);
    border: 1px solid var(--accent);
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    transition: all 0.2s ease;
}

.ask-options button:hover {
    background: var(--hover);
    border: 2px solid var(--pro);
    color: var(--light);
    transform: translateY(-1px);
}

/* =========================================
   INPUT
========================================= */

.ask-pro-input {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: var(--light);
    border-top: 2px solid var(--accent);
}

.ask-pro-input input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--accent);
    border-radius: 12px;
    padding: 11px 13px;
    outline: none;
    font-family: inherit;
    font-size: 13px;
}

.ask-pro-input input:focus {
    border: 1px solid var(--pro);
}

.ask-pro-input button {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--secondary);
    color: var(--light);
    cursor: pointer;
    font-size: 16px;
    border: 1px solid var(--accent);
}

.ai-content {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: bold;
}

.ai-content:hover {
     color: var(--light);
}


.ask-whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 11px 15px;
    background: var(--secondary);
    color: var(--light);
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
    border: 1px solid var(--accent);
}

.ask-whatsapp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.25);
}

/* =========================================
   MOBILE
========================================= */
@media (max-width: 600px) {
    .ask-pro {
        right: 15px;
        bottom: 20px;
    }

    .ask-pro-label {
        display: block;
        font-size: 0.75rem;
    }

    .ask-pro-button {
        width: 100px;
        height: 55px;
        padding: 0;
        justify-content: center;
    }

    .ask-pro-icon {
        width: 25px;
        height: 25px;
    }

    .ask-pro-chat {
        right: -5px;
        bottom: 65px;
        width: calc(100vw - 30px);
        height: 70vh;
        max-height: 600px;
    }
}