/**
 * Demo Request Modal - Premium Dark/Gold Theme
 * Based on Massa Traders design system
 * Author: Massa Traders
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --gold: #d4af37;
    --gold-light: #f4d03f;
    --gold-dark: #b8960c;
    --black: #0a0a0a;
    --black-light: #141414;
    --black-lighter: #1a1a1a;
    --gray-dark: #333333;
    --gray: #666666;
    --gray-light: #888888;
    --white: #ffffff;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
    }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes checkmark {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* ==========================================================================
   Base Modal Styles
   ========================================================================== */
div.modal {
    background: linear-gradient(180deg, var(--black) 0%, var(--black-light) 50%, var(--black) 100%) !important;
    color: var(--white);
    border-radius: 24px !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8), 0 0 60px rgba(212, 175, 55, 0.1) !important;
    max-width: 700px;
    padding: 0 !important;
    overflow: hidden;
}

div.modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

/* ==========================================================================
   Container Styles
   ========================================================================== */
.containerAllWidth {
    padding: 40px;
    animation: fadeIn 0.5s ease-out;
}

.containerContentPage {
    max-width: 600px;
    margin: 0 auto;
}

.containerLongTextContentPageMarginMobile {
    padding: 0;
}

/* ==========================================================================
   Logo & Header
   ========================================================================== */
.containerAllWidth .alignCenter > .displayInlineBlock > img {
    max-width: 150px !important;
    border-radius: 16px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.containerAllWidth .alignCenter > .displayInlineBlock > img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.2);
}

/* Title "Software trial request" */
p#scrollHereToNextStep {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    margin-top: 25px !important;
    margin-bottom: 30px !important;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Progress Steps
   ========================================================================== */
.containerProgressHorizontalStep {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 450px;
    position: relative;
    padding: 20px 0;
}

.containerProgressHorizontalStep .lineProgressStep {
    position: absolute;
    top: 50%;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.1));
    transform: translateY(-50%);
    z-index: 0;
}

.step1, .step2, .step3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.circleProgressDefault {
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px !important;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.circleProgressStepWithoutFill {
    background: var(--black-lighter) !important;
    border: 2px solid rgba(212, 175, 55, 0.3) !important;
}

.circleProgressStepFill {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%) !important;
    border: 2px solid var(--gold) !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.circleProgressStepFill::after {
    content: '✓';
    color: var(--black);
    font-size: 18px;
    font-weight: bold;
}

.textCircleProgressStepHorizontal {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--gray-light) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.circleProgressStepFill + .textCircleProgressStepHorizontal {
    color: var(--gold) !important;
}

/* ==========================================================================
   Form Container Parts
   ========================================================================== */
.container_payout_parts {
    width: 100%;
    max-width: 550px;
    animation: fadeInUp 0.6s ease-out;
}

/* ==========================================================================
   Requirements Section
   ========================================================================== */
#container_requirements p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px !important;
}

#container_requirements ul {
    margin-top: 25px !important;
    padding-left: 0 !important;
}

#container_requirements ul li {
    display: flex !important;
    align-items: flex-start;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.02) 100%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    margin-bottom: 12px !important;
    transition: all 0.3s ease;
    animation: slideIn 0.5s ease-out both;
}

#container_requirements ul li:nth-child(1) { animation-delay: 0.1s; }
#container_requirements ul li:nth-child(2) { animation-delay: 0.2s; }
#container_requirements ul li:nth-child(3) { animation-delay: 0.3s; }

#container_requirements ul li:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateX(5px);
}

#container_requirements ul li svg {
    flex-shrink: 0;
    width: 20px !important;
    height: 20px;
    margin-right: 15px !important;
    margin-top: 2px;
    color: var(--gold) !important;
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.5));
}

/* ==========================================================================
   Form Inputs
   ========================================================================== */
.fieldFormPessoalData {
    width: 100% !important;
    padding: 16px 20px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: var(--white) !important;
    font-size: 15px !important;
    font-family: 'Inter', sans-serif !important;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
    outline: none !important;
}

.fieldFormPessoalData::placeholder {
    color: var(--gray-light) !important;
}

.fieldFormPessoalData:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(212, 175, 55, 0.4) !important;
}

.fieldFormPessoalData:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15), 0 0 20px rgba(212, 175, 55, 0.1) !important;
}

/* Select Dropdown Styling */
select.fieldFormPessoalData {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 18px center !important;
    background-size: 18px !important;
    padding-right: 50px !important;
    cursor: pointer !important;
}

select.fieldFormPessoalData option {
    background-color: var(--black-light) !important;
    color: var(--white) !important;
    padding: 12px !important;
}

/* ==========================================================================
   Radio Buttons
   ========================================================================== */
.containerInput {
    margin-top: 25px;
}

.containerInput label {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
}

.containerInput > div {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.containerInput > div:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
}

.containerInput > div:has(input:checked) {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--gold);
}

input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    margin-right: 12px !important;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

input[type="radio"]:checked {
    border-color: var(--gold);
    background: var(--gold);
}

input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--black);
    border-radius: 50%;
}

input[type="radio"] + label,
input[type="radio"] ~ label {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 14px !important;
}

/* ==========================================================================
   Checkbox
   ========================================================================== */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 6px;
    margin-right: 12px !important;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    vertical-align: middle;
}

input[type="checkbox"]:checked {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border-color: var(--gold);
}

input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--black);
    font-size: 14px;
    font-weight: bold;
    animation: checkmark 0.3s ease;
}

input[type="checkbox"]:hover {
    border-color: var(--gold);
}

/* ==========================================================================
   Error Messages
   ========================================================================== */
.fieldEmpty {
    display: none;
    margin-top: 8px !important;
    padding: 10px 15px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #f87171 !important;
    font-size: 13px !important;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

.fieldEmpty::before {
    content: '⚠ ';
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.containerButtons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

button.worx,
.buttonColorYellow,
.buttonColorGreen,
.buttonColorGray {
    padding: 16px 32px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 12px !important;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
    border: none !important;
    position: relative;
    overflow: hidden;
}

button.worx::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

button.worx:hover::before {
    left: 100%;
}

/* Yellow/Gold Button */
.buttonColorYellow,
#buttonNextStep2 {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%) !important;
    background-size: 200% 100%;
    color: var(--black) !important;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.buttonColorYellow:hover,
#buttonNextStep2:hover {
    background-position: 100% 0 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(212, 175, 55, 0.5);
}

/* Green Button */
.buttonColorGreen,
#buttonNextStep3 {
    background: linear-gradient(135deg, var(--success) 0%, #34d399 100%) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.buttonColorGreen:hover,
#buttonNextStep3:hover {
    background: linear-gradient(135deg, #34d399 0%, var(--success) 100%) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(16, 185, 129, 0.5);
}

/* Gray Button */
.buttonColorGray,
#buttonReturnStep1 {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: var(--gray-light) !important;
}

.buttonColorGray:hover,
#buttonReturnStep1:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
}

/* CTA Button (Close modal) */
.cta-container {
    text-align: center;
    margin-top: 40px;
    padding-top: 25px;
}

.cta-button {
    display: inline-block;
    padding: 16px 50px !important;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%) !important;
    background-size: 200% 100%;
    color: var(--black) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 25px rgba(212, 175, 55, 0.4);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.cta-button:hover {
    background-position: 100% 0 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.6);
    text-decoration: none !important;
    color: var(--black) !important;
}

/* ==========================================================================
   Success Message
   ========================================================================== */
#form_payout_part_six {
    text-align: center;
    padding: 30px 20px;
    animation: fadeInUp 0.6s ease-out;
}

#form_payout_part_six .colorYellow {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.8rem !important;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px !important;
}

#form_payout_part_six .colorwhite {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 15px !important;
    line-height: 1.7;
    max-width: 450px;
    margin: 0 auto 15px !important;
}

#form_payout_part_six::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--success) 0%, #34d399 100%);
    border-radius: 50%;
    font-size: 40px;
    color: var(--white);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4);
    animation: checkmark 0.5s ease 0.2s both;
}

/* ==========================================================================
   Disclaimer Text
   ========================================================================== */
.colorGrayLight {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border-left: 3px solid rgba(212, 175, 55, 0.3);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.colorWhite {
    color: var(--white) !important;
}

.colorYellow {
    color: var(--gold) !important;
}

.colorBlack {
    color: var(--black) !important;
}

/* Text Size Classes */
.textSize1 { font-size: 10px !important; }
.textSize2 { font-size: 12px !important; }
.textSize3 { font-size: 14px !important; }
.textSize4 { font-size: 16px !important; }
.textSize5 { font-size: 18px !important; }
.textSize6 { font-size: 20px !important; }
.textSize7 { font-size: 24px !important; }

/* Form Separator */
.separatorFormPayoutData {
    height: 1px;
    background: rgba(212, 175, 55, 0.2);
    margin: 20px 0;
}

.hidden {
    display: none !important;
}

.alignCenter {
    text-align: center;
}

.alignLeft {
    text-align: left;
}

.marginNone {
    margin: 0 !important;
}

.marginTopExtraBig {
    margin-top: 20px !important;
}

.marginTopBig {
    margin-top: 15px !important;
}

.marginBottomExtraBig {
    margin-bottom: 30px !important;
}

.marginRightBig {
    margin-right: 12px !important;
}

.paddingLeftExtraBig {
    padding-left: 0 !important;
}

.paddingTopExtraBig {
    padding-top: 15px !important;
}

.displayInlineBlock {
    display: inline-block;
}

.floatLeft {
    float: left;
}

.floatRight {
    float: right;
}

/* Clear floats */
.containerButtons::after {
    content: '';
    display: table;
    clear: both;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 768px) {
    .containerAllWidth {
        padding: 25px 20px;
    }

    p#scrollHereToNextStep {
        font-size: 1.4rem !important;
    }

    .containerProgressHorizontalStep {
        max-width: 100%;
        padding: 15px 10px;
    }

    .circleProgressDefault {
        width: 38px !important;
        height: 38px !important;
    }

    .textCircleProgressStepHorizontal {
        font-size: 10px !important;
    }

    .fieldFormPessoalData {
        padding: 14px 16px !important;
        font-size: 14px !important;
    }

    .containerButtons {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .containerButtons button {
        width: 100%;
        float: none !important;
    }

    #container_requirements ul li {
        padding: 10px 15px;
    }

    .cta-button {
        padding: 14px 40px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .containerAllWidth {
        padding: 20px 15px;
    }

    p#scrollHereToNextStep {
        font-size: 1.2rem !important;
    }

    .containerProgressHorizontalStep .lineProgressStep {
        left: 10%;
        right: 10%;
    }

    .circleProgressDefault {
        width: 32px !important;
        height: 32px !important;
    }

    .circleProgressStepFill::after {
        font-size: 14px;
    }

    .textCircleProgressStepHorizontal {
        font-size: 9px !important;
        letter-spacing: 0.5px;
    }

    #form_payout_part_six::before {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }

    #form_payout_part_six .colorYellow {
        font-size: 1.4rem !important;
    }
}

/* ==========================================================================
   Close Button (jQuery Modal)
   ========================================================================== */
.modal a.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
}

.modal a.close-modal:hover {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: rgba(239, 68, 68, 0.4);
    transform: rotate(90deg);
}

.modal a.close-modal::before,
.modal a.close-modal::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 2px;
    background: var(--white);
    transition: background 0.3s ease;
}

.modal a.close-modal::before {
    transform: rotate(45deg);
}

.modal a.close-modal::after {
    transform: rotate(-45deg);
}

.modal a.close-modal:hover::before,
.modal a.close-modal:hover::after {
    background: #f87171;
}

/* Hide default close text/icon */
.modal a.close-modal svg,
.modal a.close-modal img {
    display: none !important;
}

/* ==========================================================================
   Scrollbar Styling
   ========================================================================== */
.modal::-webkit-scrollbar {
    width: 8px;
}

.modal::-webkit-scrollbar-track {
    background: var(--black-light);
    border-radius: 4px;
}

.modal::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold-dark), var(--gold));
    border-radius: 4px;
}

.modal::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--gold), var(--gold-light));
}
