/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg1);
    color: var(--text1);
    line-height: 1.5;
    min-height: 100vh;
}

/* Layout components */
._section_88erc_1 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

._section__content_88erc_15 {
    width: 100%;
    min-width: 600px;
    max-width: 600px;
    margin: 0 auto;
}

._wrapper_8ao7y_1 {
    background: var(--bg2);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

._wrapper__content_8ao7y_8 {
    padding: 32px;
}

._wrapper_variant_testContent_8ao7y_17 {
    padding: 24px 32px 32px;
}

/* Image component */
._aspectRatioBlock_16_9_atyhn_8 {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

._aspectRatioBlock__content_atyhn_29 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

._image_16gel_1 {
    background-color: var(--bg1);
}

._image__content_16gel_38 {
    width: 100%;
    height: 100%;
}

/* Typography */
._text_d5sc8_1 {
    margin: 0;
}

._text_variant_h1_d5sc8_68 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

._text_variant_h2_d5sc8_78 {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
}

._text_variant_default_d5sc8_94 {
    font-size: 1rem;
    line-height: 1.5;
}

._text_variant_small_d5sc8_114 {
    font-size: 0.875rem;
}

._text_variant_additional_d5sc8_104 {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

._text_variant_inherit_d5sc8_122 {
    font-size: inherit;
}

._text_weight_600_d5sc8_133 {
    font-weight: 600;
}

._text_weight_700_d5sc8_136 {
    font-weight: 700;
}

._text_color_text1_d5sc8_142 {
    color: var(--text1);
}

._text_color_text2_d5sc8_145 {
    color: var(--text2);
}

._text_color_text3_d5sc8_148 {
    color: var(--text3);
}

._text_color_success {
    color: var(--success);
}

._text_textTransform_uppercase_d5sc8_9 {
    text-transform: uppercase;
}

/* Spacers */
._spacer_margin_8_yzn1c_11 { margin-bottom: 8px; }
._spacer_margin_16_yzn1c_17 { margin-bottom: 16px; }
._spacer_margin_20_yzn1c_20 { margin-bottom: 20px; }
._spacer_margin_32_yzn1c_26 { margin-bottom: 32px; }
._spacer_marginRight_12_yzn1c_44 { margin-right: 12px; }

@media (max-width: 768px) {
    ._spacer_xsMargin_12_yzn1c_75 { margin-bottom: 12px; }
    ._spacer_xsMargin_20_yzn1c_81 { margin-bottom: 20px; }
}

/* Buttons */
._button_6qdyf_1 {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: var(--buttonBackgroundColor);
    color: var(--buttonTextColor);
    min-height: 48px;
}

._button_6qdyf_1:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

._button_isInline_6qdyf_37 {
    display: inline-flex;
}

._button_variant_unstyled_6qdyf_41 {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    text-decoration: none;
}

._button_1rlwz_1 {
    width: 100%;
    padding: 16px;
    margin-bottom: 12px;
    background: var(--bg1);
    border: 2px solid transparent;
    border-radius: 12px;
    text-align: left;
    transition: all 0.2s ease;
}

._button_1rlwz_1:hover {
    border-color: var(--primary1);
    background: rgba(39, 174, 96, 0.1);
    transform: none;
    box-shadow: none;
}

/* Aligners */
._aligner_19dxe_1 {
    display: flex;
}

._aligner_valign_center_19dxe_7 {
    align-items: center;
}

._aligner_valign_top_19dxe_10 {
    align-items: flex-start;
}

._aligner__center_19dxe_34 {
    margin: 0 auto;
}

._answerStretch_1wqg2_18 {
    flex: 1;
}

@media (max-width: 768px) {
    ._aligner_xsValign_top_19dxe_104 {
        align-items: flex-start;
    }
    
    ._aligner_xsValign_stretch_19dxe_113 {
        align-items: stretch;
    }
    
    ._aligner_xsFlexDirection_column_19dxe_98 {
        flex-direction: column;
    }
}

/* Progress bar */
._progress_43t2i_1 {
    margin-bottom: 20px;
}

._progress__text_43t2i_5 {
    margin-bottom: 8px;
}

._progress__bar_43t2i_8 {
    width: 100%;
}

._bar_1js9j_1 {
    width: 100%;
    height: 4px;
    background-color: var(--secondary1);
    border-radius: 2px;
    overflow: hidden;
}

._bar__progress_1js9j_14 {
    height: 100%;
    background-color: var(--primary1);
    transition: width 0.3s ease;
}

/* Answer items */
._answer__item_b0l7l_1 {
    margin-bottom: 12px;
}

._radio__iconWrapper_1uijj_11 {
    width: 20px;
    height: 20px;
    border: 2px solid var(--text2);
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s ease;
}

._button_1rlwz_1:hover ._radio__iconWrapper_1uijj_11 {
    border-color: var(--primary1);
}

._button_1rlwz_1:hover ._radio__iconWrapper_1uijj_11::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: var(--primary1);
    border-radius: 50%;
}

/* Editor HTML */
._editorHtml_10cpq_1 p {
    margin: 0;
}

.md-block-unstyled {
    margin: 0;
}

/* Copyright */
._copyright_avwmk_1 {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text2);
    font-size: 0.875rem;
}

._copyright__logo_avwmk_7 {
    display: flex;
    align-items: center;
}

._logo_1xr6k_1 {
    font-weight: 700;
    color: var(--text2);
}

/* Responsive design */
@media (max-width: 768px) {
    ._section_88erc_1 {
        padding: 10px;
    }
    
    ._wrapper__content_8ao7y_8 {
        padding: 24px;
    }
    
    ._wrapper_variant_testContent_8ao7y_17 {
        padding: 20px 24px 24px;
    }
    
    ._text_variant_h1_d5sc8_68 {
        font-size: 2rem;
    }
    
    ._text_variant_h2_d5sc8_78 {
        font-size: 1.5rem;
    }
    
    ._button_6qdyf_1 {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
    
    .visible-xs {
        display: block;
    }
}

@media (min-width: 769px) {
    .visible-xs {
        display: none;
    }
}

/* RTL support */
[dir="rtl"] ._radio__iconWrapper_1uijj_11 {
    margin-right: 0;
    margin-left: 12px;
}

[dir="rtl"] ._spacer_marginRight_12_yzn1c_44 {
    margin-right: 0;
    margin-left: 12px;
}

[dir="rtl"] ._button_1rlwz_1 {
    text-align: right;
}

/* Standalone app styles */
._isStandalone {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
}

/* Loader styles */
._loader_spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--secondary1);
    border-top: 4px solid var(--primary1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

._loader_spinner_small {
    width: 20px;
    height: 20px;
    border: 2px solid var(--secondary1);
    border-top: 2px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form styles */
._card_form {
    width: 100%;
}

._form_group {
    margin-bottom: 20px;
}

._form_group_half {
    flex: 1;
}

._form_row {
    display: flex;
    gap: 16px;
}

._form_label {
    display: block;
    color: var(--text2);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 8px;
}

._form_input {
    width: 100%;
    padding: 16px;
    background: var(--bg1);
    border: 2px solid var(--secondary1);
    border-radius: 8px;
    color: var(--text1);
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

._form_input:focus {
    outline: none;
    border-color: var(--primary1);
}

._form_input::placeholder {
    color: var(--text2);
}

/* Input formatting */
._card_number_input {
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

._expiry_input,
._cvv_input {
    font-family: 'Courier New', monospace;
    text-align: center;
}

/* Button with loader */
._submit_button {
    position: relative;
    min-width: 200px;
}

._button_text {
    transition: opacity 0.2s ease;
}

._button_loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

._submit_button.loading ._button_text {
    opacity: 0;
}

._submit_button.loading ._button_loader {
    display: block !important;
}

/* Error messages */
._error_messages {
    background: rgba(223, 17, 17, 0.1);
    border: 1px solid var(--fail);
    border-radius: 8px;
    padding: 16px;
}

._error_message {
    color: var(--fail);
    font-size: 0.875rem;
    margin-bottom: 8px;
}

._error_message:last-child {
    margin-bottom: 0;
}

/* Success checkmark */
._success_checkmark {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 32px 0;
}

._checkmark_circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success) 0%, #2ecc71 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(39, 174, 96, 0.3);
    animation: checkmark-circle 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

._checkmark_circle::before {
    content: '';
    position: absolute;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: var(--bg2);
    top: 4px;
    left: 4px;
}

._checkmark_icon {
    position: relative;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

._checkmark_svg {
    width: 32px;
    height: 32px;
    stroke: var(--success);
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

._checkmark_path {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    animation: checkmark-draw 0.6s ease-in-out 0.4s forwards;
}

@keyframes checkmark-circle {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.1) rotate(-90deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes checkmark-draw {
    0% {
        stroke-dashoffset: 20;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

/* Mobile form adjustments */
@media (max-width: 768px) {
    ._section__content_88erc_15 {
        min-width: auto;
        width: 100%;
    }
    
    ._form_row {
        flex-direction: column;
        gap: 20px;
    }
    
    ._form_input {
        padding: 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    ._submit_button {
        width: 100%;
        min-width: auto;
    }
    
    ._checkmark_circle {
        width: 80px;
        height: 80px;
    }
    
    ._checkmark_circle::before {
        width: 72px;
        height: 72px;
        top: 4px;
        left: 4px;
    }
    
    ._checkmark_icon {
        width: 32px;
        height: 32px;
    }
    
    ._checkmark_svg {
        width: 24px;
        height: 24px;
    }
}

/* RTL form support */
[dir="rtl"] ._form_label {
    text-align: right;
}

[dir="rtl"] ._form_row {
    flex-direction: row-reverse;
}

[dir="rtl"] ._expiry_input,
[dir="rtl"] ._cvv_input {
    text-align: center;
}

/* Google Play Badge Placeholder */
._download_button {
    text-decoration: none;
    display: inline-block;
}

._google_play_badge {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid #4a4a4a;
    border-radius: 8px;
    padding: 12px 20px;
    min-width: 200px;
    transition: all 0.3s ease;
    cursor: pointer;
}

._google_play_badge:hover {
    background: linear-gradient(135deg, #2d2d2d 0%, #3a3a3a 100%);
    border-color: var(--primary1);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(39, 174, 96, 0.3);
}

._play_icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #4285f4 0%, #34a853 25%, #fbbc05 50%, #ea4335 75%, #4285f4 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    position: relative;
}

._play_triangle {
    width: 0;
    height: 0;
    border-left: 8px solid white;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    margin-left: 2px;
}

._play_text {
    display: flex;
    flex-direction: column;
    color: var(--text1);
}

._play_get {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text2);
    line-height: 1;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

._play_store {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text1);
    line-height: 1;
}

/* RTL support for download button */
[dir="rtl"] ._play_icon {
    margin-right: 0;
    margin-left: 12px;
}

[dir="rtl"] ._play_text {
    text-align: right;
}
