* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 20px 0;
    font-family: Arial, sans-serif;
    /* background-color: #F5FFFA; */
    background-color: #F5FFFA;
}

h1, h2, h3 {
    color: #333333;
}

.container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.container.margin-top {
    margin: 20px auto 0 auto;
    padding: 0 20px;
}

.container-white-bg {
    width: 100%;
    margin: 40px 0;
    /* background-color: #F5FFFA; */
    background-color: #ffffff;
}

.container-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.content-centered {
    display: flex;
    justify-content: center;
}

.detection, .languages {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detection-title {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.detection-title h3{
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.detection-icons {
    display: flex;
    gap: 8px;
}

.detection-icons svg {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.download-btn {
    display: inline-flex;
    margin: 24px 0;
    padding: 12px 24px;
    align-items: center;
    gap: 12px;
    background: linear-gradient(to bottom, #2196F3, #9C27B0);
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s cubic-bezier(.25,1,.3,1);
}

.download-btn:hover {
    transform: scale(1.025);
}

.download-btn:active {
    transform: translateY(0);
}

.download-btn svg {
    fill: #ffffff;
    width: 40px;
    height: auto;
}

.features {
    display: flex;
    flex-direction: column;
    margin: 24px 0;
    gap: 12px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
}

.feature-icon {
    width: 32px;
    height: 32px;
}

.feedback .row {
    gap: 40px;
}

.feedback-group.margin-bottom {
    margin: 0 0 20px 0;
}

.feedback-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #495057;
}

.feedback-input,
.feedback-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.feedback-input:focus,
.feedback-textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.feedback-textarea {
    resize: vertical;
    min-height: 120px;
}

.feedback-input.error,
.feedback-textarea.error,
.dropdown-selected.error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

.feedback .goodbye-container{
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.feedback .container-form,
.feedback .button-wrapper {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.feedback .container-form.hide,
.feedback .button-wrapper.hide {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

.feedback .goodbye-container.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.goodbye-container,
.goodbye-container-page-end {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 24px 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333333;
}

.goodbye-container-page-end {
    margin: 20px auto;
}

.goodbye-container .goodbye-row,
.goodbye-container-page-end .goodbye-row{
    display: flex;
    gap: 16px;
    justify-content: center;
}

.goodbye-container .svg-icon,
.goodbye-container-page-end .svg-icon{
    width: 30px;
    height: 30px;
}

.myOutlinedColumn {
    width: 100%;
    margin: 20px 0 0 0;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.myOutlinedColumn img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
}

.quiz .goodbye-container{
    display: none;
}

.quiz .screen-form {
    display: block;
}

.rainbow-divider {
    height: 6px;
    margin: 20px 0;
    background: linear-gradient(to right, #F44336, #FF9800, #4CAF50, #2196F3, #9C27B0);
}

.rainbow-divider-rounded {
    height: 6px;
    margin: 20px 0;
    border-radius: 3px;
    background: linear-gradient(to right, #F44336, #FF9800, #4CAF50, #2196F3, #9C27B0);
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.site-title a {
    text-decoration: none;
    color: #333333;
}

.svg-icon[data-clr="N5"] { fill: #F44336; }
.svg-icon[data-clr="N4"] { fill: #FF9800; }
.svg-icon[data-clr="N3"] { fill: #4CAF50; }
.svg-icon[data-clr="N2"] { fill: #2196F3; }
.svg-icon[data-clr="N1"] { fill: #9C27B0; }

.spacer {
    width: 100%;
    height: 16px;
}

.spacer.spacer-between-forms {
    height: 24px;
}

.store-link {
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    color: #333;
}

.store-link img {
    width: 150px;
    display: block;
    margin: 0 auto 6px auto;
    transition: transform 0.3s cubic-bezier(.25,1,.3,1);
}

.store-link img:hover {
    transform: scale(1.025);
}

.store-link img:active {
    transform: translateY(0);
}

.mySwiper {
}

.swiper-slide {
    text-align: center;
}

.swiper-slide img {
    display: inline-block;
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
    .content-subtitle{
        display: flex;
        margin: 0 0 20px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .goodbye-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .row {
        grid-template-columns: 1fr;
    }

    .feedback .row {
        gap: 0;
    }

    .site-subtitle, .site-title{
        text-align: center;
    }

    .spacer.spacer-between-detections{
        display: none;
        height: 0;
    }
}
