/* Box-Sizing alapbeállítás az egész oldalon */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Figma colorTokens alapú CSS változók */
:root {
    --bg-color: #fbfafa;
    --primary-color: #000000;
    --accent-color: #6eabb5; /* Figma VariableID:6:717 */
    --text-gray: #595959;
    --border-color: #ececec;
    --input-border: #8e8e93;
    --card-bg: #ffffff;
    --font-family: 'Manrope', sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--primary-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
}

.landing-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.main-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

/* Bal oszlop stílusai (Info & Mockup) - flex-basis százalékos kalkuláció (739px / 1440px) */
.info-section {
    flex: 0 1 51.3%;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.brand-logo {
    height: 41px;
    width: auto;
    display: block;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

/* Alapértelmezetten a mobil logó rejtve van */
.mobile-only {
    display: none;
}

.hero-text h1 {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -0.44px;
    margin-bottom: 20px;
}

.intro-paragraph {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.875;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.launch-date {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.875;
    color: var(--primary-color);
    margin-top: 20px;
}

.mockup-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.mockup-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.footer-copyright {
    font-size: 12px;
    font-weight: 500;
    color: #aeaeb2;
    margin-top: 40px;
}

/* Jobb oszlop stílusai (Form kártya) - flex-basis százalékos kalkuláció (620px / 1440px) */
.form-section {
    flex: 0 1 43%;
}

.signup-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-header h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
    margin-bottom: 10px;
}

.form-subtitle {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 30px;
}

.form-group-fieldset {
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group-fieldset legend {
    font-size: 20px;
    font-weight: 700;
    line-height: 16px;
    margin-bottom: 28px;
    color: var(--primary-color);
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.form-field label {
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
}

.form-field input,
.select-wrapper select {
    width: 100%;
    padding: 10px 15px;
    font-size: 15px;
    font-family: var(--font-family);
    border: 1px solid var(--input-border);
    border-radius: 4px;
    outline: none;
    background-color: transparent;
    transition: border-color 0.2s;
}

.form-field input:focus,
.select-wrapper select:focus {
    border-color: var(--accent-color);
}

/* Egyedi Select stílusok */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

.select-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 14px;
}

.divider {
    border: none;
    border-top: 1px solid var(--input-border);
    opacity: 0.3;
    margin: 10px 0;
}

/* Radio csoport */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.radio-label, .checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
}

.radio-label input, .checkbox-label input {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

.radio-custom {
    height: 20px;
    width: 20px;
    border: 1px solid var(--input-border);
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.radio-label input:checked ~ .radio-custom {
    border-color: var(--accent-color);
}

.radio-custom:after {
    content: "";
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-color);
}

.radio-label input:checked ~ .radio-custom:after {
    display: block;
}

/* Checkbox csoport */
.checkbox-custom {
    height: 21px;
    width: 21px;
    border: 1px solid var(--input-border);
    border-radius: 4px;
    display: inline-block;
    position: relative;
}

.checkbox-label input:checked ~ .checkbox-custom {
    border-color: var(--accent-color);
    background-color: var(--accent-color);
}

.checkbox-custom:after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: white;
}

.checkbox-label input:checked ~ .checkbox-custom:after {
    display: block;
}

/* Mock reCAPTCHA doboz */
.captcha-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
	/*
    background-color: #f9f9f9;
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    padding: 10px 15px;
    max-width: 302px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	*/
}

.captcha-checkbox {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.captcha-checkbox .checkbox-custom {
    height: 24px;
    width: 24px;
    border-radius: 2px;
    border-color: #c1c1c1;
}

.captcha-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.captcha-logo {
    height: 32px;
    width: auto;
}

.captcha-terms {
    font-family: 'Roboto', sans-serif;
    font-size: 8px;
    color: #9b9b9b;
}

/* Consents */
.consents-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.consent-item {
    align-items: flex-start;
}

.consent-item .checkbox-custom {
    margin-top: 4px;
    flex-shrink: 0;
}

.consent-text {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}

.inline-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.inline-link:hover {
    text-decoration: underline;
}

/* Gomb stílusok */
.btn-submit {
    width: 100%;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 15px;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-submit:hover {
    background-color: #55919c;
}

/* Hibaüzenet doboz stílusai */
.error-box {
    background-color: #fdf2f2;
    border: 1px solid #f8b4b4;
    border-radius: 6px;
    padding: 15px 20px;
    color: #9b1c1c;
    font-size: 14px;
    line-height: 1.5;
}

.error-box-title {
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.error-list {
    padding-left: 20px;
    list-style-type: disc;
}

/* Thank You Screen Stílusok */
.thank-you-container {
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.thank-you-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px; /* Távolság a logó és a sikertest kártya között a JSON alapján */
}

.success-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    width: 100%;
}

.success-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 10px;
}

.thank-you-title {
    font-size: 44px;
    font-weight: 700;
    line-height: 51px;
    letter-spacing: -0.44px;
    color: var(--primary-color);
}

.success-subtitle {
    font-size: 20px;
    font-weight: 800;
    line-height: 32px;
    color: var(--accent-color);
}

.thank-you-message {
    font-size: 16px;
    font-weight: 500;
    line-height: 30px;
    color: var(--primary-color);
}

.btn-return {
    composes: btn-submit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    padding: 0 60px;
    transition: background-color 0.2s;
}

.btn-return:hover {
    background-color: #55919c;
}

/* Reszponzív Breakpointok */
@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 36px;
    }
}

@media (max-width: 1023px) {
    body {
        padding: 20px 10px;
    }

    .main-content {
        /* Oszlopok megfordítása: jobb oszlop (Form) felülre kerül, bal oszlop alulra */
        flex-direction: column-reverse;
        align-items: center;
        gap: 6px;
    }

    .form-section,
    .info-section {
        flex: 1 1 100%;
        width: 100%;
        max-width: 800px;
    }

    .info-section {
        padding:40px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }
}

/* 640px alatti mobil optimalizáció a figma_raw_data_mobile.json alapján */
@media (max-width: 640px) {
    body {
        padding: 15px 0;
    }

    .main-content {
        gap: 25px;
        padding: 0 15px;
    }

    .mobile-only .brand-logo {
        width: 230px;
    }

    

    .info-section {
        padding: 0 9px;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 30px;
        line-height: 36px;
        letter-spacing: -0.3px;
    }

    .intro-paragraph,
    .launch-date {
        font-size: 14px;
        line-height: 22px;
    }

    .signup-card {
        padding: 24px;
        gap: 18px;
        border-radius: 0; /* Mobilon még kompaktabb teljes szélességű kártya-érzet */
    }

    .form-header h2 {
        font-size: 24px;
        line-height: 30px;
    }

    .form-subtitle {
        font-size: 14px;
        line-height: 22px;
    }

    .form-group-fieldset legend {
        font-size: 18px;
        line-height: 18px;
        margin-bottom: 26px;
    }

    .form-field label {
        font-size: 15px;
    }

    .form-field input,
    .select-wrapper select {
        padding: 8px 12px;
        font-size: 14px;
    }

    .radio-group {
        gap: 12px;
    }

    .radio-label, 
    .checkbox-label {
        font-size: 15px;
    }

    .consent-text {
        font-size: 14px;
        line-height: 22px;
    }

    /* Thank You mobil optimalizálás */

    .thank-you-container {
        min-height: 90vh;
    }

    .thank-you-content {
        gap: 50px;
    }

    .thank-you-header .brand-logo {
        width: 230px; /* Kisebb logó méret mobilon a kérésednek megfelelően */
    }

    .success-card {
        gap: 25px; /* Kompaktabb elrendezés mobilon */
    }

    .thank-you-title {
        font-size: 30px;
        line-height: 36px;
        letter-spacing: -0.3px;
    }

    .success-subtitle {
        font-size: 18px;
        line-height: 24px; /* Figma alapján 24px */
    }

    .thank-you-message {
        font-size: 14px;
        line-height: 22px; /* Figma alapján 22px */
    }
}