* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --secondary-color: #f0f0f0;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --success-color: #00cc66;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: lab(97.3623 -2.33802 -4.13098);
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}
.blue-color-text {
    color: #43c3ff;
}
.btn {
    cursor: pointer;
}
.btn a {
    text-decoration: none;
    color: white;
}
.--clicked {
    /* color: white!important; */
    background-color: lab(97.3623% -2.33802 -4.13098) !important;
    scale: 0.9;
}
/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    background-image: url("../img/main.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;

    text-align: center;
}
.hero_inner {
    padding: 20px 0 50px 0;
}
.hero_logo {
    max-width: 90px;
    margin: 0 auto;
    margin-bottom: 20px;
}
.hero_logo img {
    width: 100%;
    height: auto;
    display: block;
}
.hero-btn {
    max-width: 500px;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 30px;
}
.hero_logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
}
.hero_logos img {
    width: 90px;
    height: auto;
    display: block;
}
.hero_title h1 {
    font-size: 14px;
    font-weight: 600;

    text-transform: uppercase;
}
.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    background: rgb(23 141 23);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero_text {
    font-size: 25px;
    text-transform: uppercase;
    font-weight: 700;
}

/* Buttons */
.btn {
    padding: 12px 32px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: lab(63.3038 -18.433 -51.0407);
    color: white;
    padding: 12px 32px;
    border-radius: 1em;
    transition: all 0.2s ease-in-out;
}
.btn-primary:active {
    transform: scale(0.99);
}
.btn-primary:hover {
    background-color: lab(46.63% -10.38 -29.79);

    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #0052a3;
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* Calculator Section */
.calculator {
    padding: 40px 0;
    background-color: white;
}

.calculator h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
}

.calculator-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
    align-items: center;
}

@media (max-width: 768px) {
    .calculator-content {
        grid-template-columns: 1fr;
    }
}

.calculator-form {
    width: 100%;
    max-width: 500px;
}
.calculator-result {
    width: 100%;
    max-width: 400px;
}
.calc-btn {
    width: 100%;
    max-width: 500px;
}
.calculator-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 14px;
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.amount-btn {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.amount-btn:hover,
.amount-btn.active {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
}

.custom-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.custom-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.result-box {
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
}

.result-box p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
}

.result-box h3 {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 700;
}

/* Suitable Section */
.suitable {
    padding: 80px 0;
    max-width: 500px;
    margin: 0 auto;
}

.suitable h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
}

.suitable-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.suitable-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
}
.suitable-card svg {
    color: lab(63.3038% -18.433 -51.0407);
}
.suitable-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.suitable-card p {
    color: var(--text-dark);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.12;
}
.suitable-card p + p {
    margin-top: 10px;
}

/* How It Works */
.how-it-works {
    padding: 0 0 30px 0;
    max-width: 600px;
    margin: 0 auto;
    /* background-color: white; */
}

.how-it-works h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step-card {
    text-align: center;
    position: relative;
}
.how-it-works_title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 50px;
}
.how-it-works-steps-containet {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-left: 50px;
    position: relative;
    counter-reset: steps;
}
.how-it-works-steps-containet:before {
    content: "";
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: lab(47.97% -1.73 -16.9 / 0.332);
    border-radius: 2px;
}
.hit-step:before {
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(calc(-100% - 16px), -50%);

    width: 50px;
    height: 50px;
    background-color: white;
    border: 2px solid lab(65.1% -8.56 -48.29 / 0.324);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: lab(63.3038% -18.433 -51.0407);
    font-weight: 700;
}
.hit-btn {
    margin: 0 auto;
    margin-top: 50px;
    display: block;
}
.hit-step {
    display: flex;
    gap: 10px;
    padding: 20px;
    background-color: white;
    border-radius: 1em;
    margin-left: 20px;
    counter-increment: steps;
    position: relative;
}
.hit-step svg {
    color: lab(63.3038% -18.433 -51.0407);
    flex-shrink: 0;
}
.hit-step_title {
    font-weight: 600;
    font-size: 16px;
}
.hit-step_subtitle {
    font-weight: 400;
    font-size: 14px;
    color: lab(48.0876% -2.03595 -16.5814);
}
.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* Trust Section */
.trust {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.trust h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.trust-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.trust-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 600;
}

.trust-card p {
    color: var(--text-light);
    font-size: 13px;
}

.trust-highlight {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    padding: 50px;
    border-radius: 8px;
    text-align: center;
}

.trust-highlight p {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 50px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-links {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.disclaimer {
    margin-top: 30px;
    font-size: 12px;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero_title h1 {
        font-size: 11px;
    }

    .hero p {
        font-size: 23px;
    }

    .badge {
        font-size: 10px;
        padding: 6px 12px;
    }

    section {
        padding: 50px 0 !important;
    }

    h2 {
        font-size: 24px !important;
    }

    .features-grid,
    .suitable-grid,
    .steps-grid,
    .trust-grid {
        gap: 20px;
    }

    .feature-card,
    .suitable-card,
    .trust-card {
        padding: 20px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .result-box {
        padding: 30px;
    }

    .result-box h3 {
        font-size: 24px;
    }

    .trust-highlight {
        padding: 30px;
    }

    .trust-highlight p {
        font-size: 16px;
    }
}

/* Quiz */

#landing-screen {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}
#landing-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}
#landing-screen.fade-in {
    opacity: 1;
}
#quiz-screen {
    display: none;
}
.quiz-screen_inner {
    background-color: #ffffff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px 0px #00000045;
    margin-top: 40px;
    margin-bottom: 150px;
}
.quiz-item_answers {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}
.quiz-item_answer {
    background-color: lab(98.1434 -0.369519 -1.05966);
    border-radius: 12px;
    border: 1px solid lab(84.8039% -4.53754 -12.2082);
    color: var(--text-dark);
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    padding: 10px 0;
    cursor: pointer;
    width: 100%;
    transition: 0.3s all ease;
}
.quiz-item_answer:hover {
    background-color: lab(93.7255% -1.85258 -5.05106);
    border-color: lab(63.3038% -18.433 -51.0407);
}
.quiz-item_subtitle {
    text-align: center;
    font-size: 14px;
    margin-bottom: 15px;
    color: lab(48.0876% -2.03595 -16.5814);
}
.quiz-item_title {
    text-align: center;
    font-size: 18px;
}
.quiz-item_img-content {
    width: 100%;
    max-width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 2em;
    overflow: hidden;
    margin: 20px auto;
}
.quiz-item_img-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.quiz-item {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}
.quiz-item.fade-out {
    opacity: 0;
    pointer-events: none;
}
.quiz-item.fade-in {
    opacity: 1;
}
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
    padding: 15px 0 10px 0;
    box-shadow: 0px -4px 10px 0px #00000017;
    background-color: #ffffff;
    font-size: 13px;
    color: lab(48.0876% -2.03595 -16.5814);
}
.bottom-bar_dots-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}
.bottom-bar_dot {
    width: 8px;
    height: 8px;
    background-color: #d9d9d9;
    border-radius: 50%;
    margin: 0 5px;
    will-change: background-color;
    transition: background-color 0.3s ease;
}
.dot--active {
    background-color: #0e347a;
}
/* HTML: <div class="quiz-loader"></div> */
.quiz-loader {
    width: 50px;
    aspect-ratio: 1;
    display: grid;
    border: 4px solid #0000;
    border-radius: 50%;
    border-right-color: lab(63.3038% -18.433 -51.0407);
    animation: l15 1s infinite linear;
}
.quiz-loader::before,
.quiz-loader::after {
    content: "";
    grid-area: 1/1;
    margin: 2px;
    border: inherit;
    border-radius: 50%;
    animation: l15 2s infinite;
}
.quiz-loader::after {
    margin: 8px;
    animation-duration: 3s;
}
@keyframes l15 {
    100% {
        transform: rotate(1turn);
    }
}

/* Loader Screen */
.loader-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    /* min-height: 100vh; */
    /* background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%); */
    animation: fadeIn 0.5s ease-in;
}

.loader-screen_content {
    text-align: center;
    color: white;
}

.loader-spinner {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.loader-messages {
    color: var(--text-dark);
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 60px;
}

.loader-message {
    font-size: 16px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.6s ease-in;
    white-space: nowrap;
}

@keyframes messageAppear {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Final Form Styles */
.final-form {
    display: none;
    /* padding: 40px 20px; */
    animation: fadeIn 0.5s ease-in;
}

.final-form_inner {
    text-align: center;
}

.final-form_icon {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.final-form_icon img {
    width: 80px;
    height: 80px;
}

.final-form_title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.final-form_subtitle {
    font-size: 18px;
    font-weight: 600;
    color: lab(63.3038 -18.433 -51.0407);
    margin-bottom: 20px;
}

.final-form_text {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Form Styles */
.reg-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reg-form__group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.reg-form__group input {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.reg-form__group input:focus {
    outline: none;
    border-color: lab(63.3038 -18.433 -51.0407);
    box-shadow: 0 0 0 3px rgba(67, 195, 255, 0.1);
}

.reg-form__group input::placeholder {
    color: #ccc;
}

.reg-form__btn {
    width: 100%;
    padding: 14px 32px;
    background-color: lab(63.3038 -18.433 -51.0407);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.reg-form__btn:hover {
    background-color: lab(46.63% -10.38 -29.79);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.reg-form__btn:active {
    transform: translateY(0);
}

.error {
    color: red;
    font-size: 12px;
    margin-left: 4px;
}
.reg-form__group:has(.error:not(:empty)) input {
    border-color: rgba(255, 0, 0, 0.34);
}
/* loader  */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(168 168 168 / 70%);
    z-index: 4000;
}

#loader img {
    position: absolute;
    width: 130px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* modal */

.universal-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    z-index: 3000 !important;
    overflow: hidden !important;
}

.universal-modal-content {
    background-color: #ffffff !important;
    padding: 32px 24px !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    text-align: center !important;
    max-width: 400px !important;
    position: relative !important;
    margin: 0 10px !important;
    border: none !important;
}

.universal-modal-content p {
    line-height: 140% !important;
    margin: 10px 0 0 !important;
    color: #1c1c1c;
}

.universal-modal-close {
    position: absolute !important;
    top: 5px !important;
    right: 5px !important;
    cursor: pointer !important;
    width: 30px !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    color: #777777 !important;
}

.universal-modal-close:hover {
    color: #333333 !important;
}

.universal-modal-close::before,
.universal-modal-close::after {
    content: "" !important;
    position: absolute !important;
    width: 16px !important;
    height: 2px !important;
    background-color: #777777 !important;
}

.universal-modal-close::before {
    transform: rotate(45deg) !important;
}

.universal-modal-close::after {
    transform: rotate(-45deg) !important;
}

.universal-modal-open {
    overflow: hidden !important;
}

@media (max-width: 640px) {
    /* .final-form_inner {
        padding: 0px 20px;
    } */

    .final-form_title {
        font-size: 24px;
    }

    .final-form_subtitle {
        font-size: 16px;
    }

    .final-form_text {
        font-size: 11px;
    }

    .final-form_icon img {
        width: 60px;
        height: 60px;
    }
}
