/* ФИКС ДЛЯ text-transform: capitalize ПРИ transform: scale(0.85) — ЭТО ГЛАВНОЕ */
input.capitalize-words,
select.capitalize-words,
textarea.capitalize-words {
    text-transform: capitalize !important;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-font-feature-settings: "tnum";
    font-feature-settings: "tnum";
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

body {
    background: #ffffff;
    font-family: 'Playfair Display', serif;
    transform: scale(0.85);
    transform-origin: top center;
    min-height: 100vh;
    margin: 0 auto;
}
.navbar {
    background: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100vw;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
    position: relative;
}
.navbar .container {
    max-width: 100%;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}
.navbar .logo img {
    max-height: 60px;
}
.hero-cta {
    background: #ffffff;
    padding: 40px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    margin: 30px auto;
    max-width: 850px;
}
.hero-cta h2 {
    color: #1a3c87;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.hero-cta .smaller-text {
    font-size: 1.2rem;
    color: #555;
}
.hero-cta .hero-logo {
    max-width: 190px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;
}
.aigradient {
    background: #e9ecef;
    color: #343a40;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    text-align: center;
}
.btn-primary {
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    background: #4a00e0;
    border: none;
    transition: background-color 0.2s ease;
}
.btn-primary:hover {
    background: #3c00b3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.btn-outline-primary {
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    background: transparent;
    border: 2px solid #495057;
    color: #495057;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-outline-primary:hover {
    background: #343a40;
    border-color: #343a40;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.btn-secondary {
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    background: transparent;
    border: 2px solid #6c757d;
    color: #6c757d;
    transition: box-shadow 0.2s ease;
}
.btn-secondary:hover {
    background: transparent;
    border-color: #6c757d;
    color: #6c757d;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.btn-outline-secondary {
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    background: transparent;
    border: 2px solid #6c757d;
    color: #6c757d;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-outline-secondary:hover {
    background: #5a6268;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.navbar .nav-btn {
    margin: 5px;
    min-width: 90px;
    font-size: 1rem;
    border-radius: 5px;
    background: transparent;
    border: 2px solid #495057;
    color: #495057;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.navbar .nav-btn:hover {
    background: #343a40;
    border-color: #343a40;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.form-step {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 570px;
    margin: 30px auto;
}
.progress-bar {
    background: #4a00e0 !important;
    transition: width 0.3s ease;
    border-radius: 10px;
}
.processing-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.form-control {
    padding: 5px;
    font-size: 1rem;
    height: 50px;
}
.form-control:focus {
    border-color: #4a00e0;
    box-shadow: 0 0 5px rgba(74, 0, 224, 0.5);
}
.input-group-text {
    height: 50px;
}
.dollar-sign {
    width: 40px;
    font-size: 1rem;
    background: #f8f9fa;
    border: 1px solid #ced4da;
    border-right: none;
}
.amount-decrement, .amount-increment {
    width: 50px;
}
.start-request {
    white-space: nowrap;
}
.amount-btn {
    margin: 5px;
    min-width: 90px;
}
body {
    font-family: Arial, sans-serif;
}
.aigradient {
    background-color: #e9ecef;
    color: #343a40;
    margin: 20px 0;
}
.btn-outline-dark {
    border-color: #495057;
    color: #495057;
    min-width: 90px;
    padding: 10px 20px;
    border-radius: 5px;
}
.btn-outline-dark:hover {
    background-color: #343a40;
    color: #ffffff;
}
.btn-primary {
    background-color: #007bff;
}
.btn-primary:hover {
    background-color: #3c00b3;
}
.btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
}
.btn-outline-secondary:hover {
    border-color: #6c757d;
    color: #6c757d;
    background-color: transparent;
}
.input-group-text {
    background-color: #e9ecef;
}
.processing-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.company-title {
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
}
.header-logo {
    max-width: 150px;
    height: auto;
}
.is-invalid .form-control,
.is-invalid .form-select {
    border-color: #dc3545 !important;
    background-color: #fff5f5;
}
.invalid-feedback {
    color: #dc3545;
    display: block;
}
.text-muted {
    background-color: #f8f9fa !important;
    color: #6c757d !important;
    cursor: not-allowed;
}
input:disabled, select:disabled {
    background-color: #e9ecef;
    opacity: 1;
}
#about-modal .modal-backdrop,
#terms-modal .modal-backdrop,
#contact-modal .modal-backdrop {
    display: none !important;
}
#about-modal .modal-content,
#terms-modal .modal-content,
#contact-modal .modal-content {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: none;
    background: #ffffff;
    animation: modalPop 0.3s ease-out;
}
@keyframes modalPop {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
#about-modal .modal-dialog,
#terms-modal .modal-dialog,
#contact-modal .modal-dialog {
    margin: 2rem auto;
}
.partner-box {
    transition: all 0.3s ease;
    min-height: 220px;
    background: #fff;
}
.partner-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    border-color: #007bff !important;
}
.partner-name {
    font-weight: 600;
    color: #333;
}
.border-dashed {
    border: 2px dashed #dee2e6 !important;
}
@media (max-width: 768px) {
    .partner-box {
        min-height: 180px;
    }
    .partner-name {
        font-size: 1rem;
    }
}
.timer-circle {
    transform: rotate(-90deg);
}
.timer-circle .track {
    stroke: #e9ecef;
}
.timer-circle .progress {
    stroke: #007bff;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear;
}
.timer-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
}
#processing-modal .modal-content {
    border-radius: 16px;
    animation: modalPop 0.4s ease-out;
}
@keyframes modalPop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
#about-modal .modal-backdrop,
#terms-modal .modal-backdrop,
#contact-modal .modal-backdrop,
#processing-modal .modal-backdrop {
    display: none !important;
}
#about-modal .modal-content,
#terms-modal .modal-content,
#contact-modal .modal-content,
#processing-modal .modal-content {
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    border: none;
    background: #ffffff;
    animation: modalPop 0.35s ease-out;
}
@keyframes modalPop {
    from {
        transform: scale(0.92);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
#about-modal .modal-dialog,
#terms-modal .modal-dialog,
#contact-modal .modal-dialog {
    margin: 1.5rem auto;
}
#processing-modal .modal-dialog {
    margin: 20px auto 0 auto;
    max-width: 420px;
    width: 90%;
    display: block;
}
#processing-modal .modal-content {
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    border: none;
    background: #ffffff;
    animation: modalPop 0.4s ease-out;
    position: relative;
    z-index: 1055;
}
@keyframes modalPop {
    from {
        transform: scale(0.85) translateY(20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}
#processing-modal .modal-backdrop {
    display: none !important;
}
#processing-modal.show {
    display: flex !important;
}
{
    scroll-behavior: smooth;
}
#privacy-modal .modal-backdrop,
#terms-of-use-modal .modal-backdrop,
#about-modal .modal-backdrop,
#terms-modal .modal-backdrop,
#contact-modal .modal-backdrop,
#disclosure .modal-backdrop {
    display: none !important;
}
.capitalize-words {
    text-transform: capitalize !important;
}