@font-face {
    font-family: 'PeridotPE';
    src: url('./fonts/PeridotPE-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap; /* Tells the browser to load fallback text immediately, then swap when ready */
}

/* Bold weight definition */
@font-face {
    font-family: 'PeridotPE';
    src: url('./fonts/PeridotPE-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Extra Bold weight definition */
@font-face {
    font-family: 'PeridotPE';
    src: url('./fonts/PeridotPE-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Semi Bold weight definition */
@font-face {
    font-family: 'PeridotPE';
    src: url('./fonts/PeridotPE-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Core Document & Layout Architecture Settings */
body {
    font-family: PeridotPE, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #111111;
    -webkit-font-smoothing: antialiased;
}

#app {
    position: relative;
    min-height: 100vh;
    background-color: #ffffff;
}

.fullscreen-toggle {
    position: absolute;
    top: 2px;
    left: 2px;
    z-index: 1100;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: rgba(17, 17, 17, 0.22);
    cursor: pointer;
    opacity: 0.18;
    box-shadow: none;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.fullscreen-toggle:hover,
.fullscreen-toggle:focus-visible {
    opacity: 0.45;
    color: rgba(226, 0, 116, 0.55);
    background: transparent;
    outline: none;
}

.fullscreen-toggle__icon {
    display: block;
}

.fullscreen-toggle--active {
    opacity: 0.35;
    color: rgba(226, 0, 116, 0.45);
}

/* 1. Header Layout Structure */
.brand-header {
    background-color: #ffffff;
    padding: 60px 0;
    background-image: url(./images/left-green.png);
    background-repeat: no-repeat;
    background-position: left top;
}
.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: flex-end;
}
.logo-flex {
    display: flex;
    align-items: flex-end;
    gap: 20px;
}
.logo-flex img {
    max-width: 500px;
    width: 100%;
    height: auto;
}
.brand-text-green {
    color: #28b446;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
}

/* 2. Vibrant Green Hero Section */
.hero-banner {
    background-color: #e20074;
    color: #ffffff;
    padding: 50px 0;
    text-align: left;
}
.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}
.hero-banner h1 {
    font-size: 80px;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    font-weight: 800;
}
.hero-subtitle {
    font-size: 24px;
    margin: 0;
    font-weight: 400;
}

/* 3. Text & Copy Introduction Row */
.intro-callout {
    background-color: #ffffff;
    padding: 50px 20px;
    text-align: center;
    background-image: url(./images/left-green.png);
    background-repeat: no-repeat;
    background-position: left bottom;
}
.intro-container {
    max-width: 750px;
    margin: 0 auto;
}
.intro-callout h2 {
    font-size: 28px;
    margin: 0 0 10px 0;
    font-weight: 700;
}
.pitch-bold {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 20px 0;
}
.pitch-light {
    font-size: 16px;
    color: #555555;
    line-height: 1.5;
    margin: 0;
}

/* 4. Form User Registration Area (Gray Strip) */
.personal-info-section {
    background-color: #f3f3f3;
    padding: 40px 20px;
}
.form-container {
    max-width: 650px;
    margin: 0 auto;
}
.personal-info-section h3 {
    font-size: 20px;
    margin: 0 0 25px 0;
    text-align: left;
    font-weight: 700;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444444;
    margin-bottom: 6px;
}
.form-group label.required::after {
    content: "*";
    color: #e20074;
}
.form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cccccc;
    background-color: #ffffff;
    font-size: 15px;
    color: #222222;
    border-radius: 0; /* Boxy inputs styling native to profile reference */
    box-sizing: border-box;
}
.form-group input::placeholder {
    color: #aaaaaa;
}

/* 5. Pink Quiz Background Section */
.quiz-outer-wrapper {
    background-color: #e20074;
    padding: 50px 20px 80px 20px;
}
.quiz-title-head {
    color: #ffffff;
    text-align: center;
    font-size: 32px;
    margin: 0 0 30px 0;
    font-weight: 700;
}
.quiz-white-card {
    background-color: #ffffff;
    max-width: 650px;
    margin: 0 auto;
    border-radius: 24px;
    padding: 45px 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* 6. Dynamic Question Card Styling */
.question-block {
    margin-bottom: 40px;
}
.question-text {
    font-size: 18px;
    color: #111111;
    margin: 0 0 20px 0;
    line-height: 1.4;
}
.q-num {
    font-weight: bold;
}
.quiz-option-label {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #444444;
    margin-bottom: 14px;
    cursor: pointer;
    line-height: 1.2;
}

/* Redesigning checkboxes to align with the visual wireframe look */
.quiz-option-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 1px solid #cccccc;
    margin-right: 14px;
    cursor: pointer;
    display: inline-grid;
    place-content: center;
    background-color: #ffffff;
    flex-shrink: 0;
}
.quiz-option-label input[type="checkbox"]:checked {
    border-color: #e20074;
    background-color: #e20074;
}
.quiz-option-label input[type="checkbox"]:checked::before {
    content: "✓";
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* 7. Under-Quiz Legal and Disclaimers block */
.required-indicator {
    font-size: 11px;
    color: #888888;
    margin: 0 0 15px 0;
}
.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}
.checkbox-group input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #cccccc;
    margin-right: 12px;
    margin-top: 2px;
    cursor: pointer;
    display: inline-grid;
    place-content: center;
    background-color: #ffffff;
    flex-shrink: 0;
}
.checkbox-group input[type="checkbox"]:checked {
    border-color: #28b446;
    background-color: #28b446;
}
.checkbox-group input[type="checkbox"]:checked::before {
    content: "✓";
    color: white;
    font-size: 12px;
    font-weight: bold;
}
.checkbox-group label {
    font-size: 12px;
    color: #555555;
    line-height: 1.4;
    cursor: pointer;
}
.green-link {
    color: #28b446;
    text-decoration: underline;
    font-weight: 600;
}
.green-bold {
    color: #28b446;
    font-weight: bold;
}
.legal-disclaimer {
    font-size: 11px;
    color: #777777;
    margin: 20px 0 0 0;
    line-height: 1.4;
}

/* Legal pages (terms, privacy) */
.logo-link {
    display: inline-flex;
    text-decoration: none;
}

.hero-banner--legal {
    padding: 36px 0;
}

.hero-banner--legal h1 {
    font-size: clamp(28px, 5vw, 52px);
    text-transform: none;
    line-height: 1.15;
}

.intro-callout--legal h2 {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 600;
    color: #333333;
}

.legal-page-section {
    background-color: #f3f3f3;
    padding: 40px 20px 56px;
}

.legal-page-container {
    max-width: 820px;
    margin: 0 auto;
}

.legal-content {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 32px 36px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    text-align: left;
}

.legal-meta {
    font-size: 13px;
    color: #777777;
    margin: 0 0 24px;
}

.legal-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: #e20074;
    margin: 28px 0 12px;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #444444;
    margin: 0 0 14px;
}

.legal-content ul {
    margin: 0 0 16px;
    padding-left: 1.35em;
    font-size: 15px;
    line-height: 1.6;
    color: #444444;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content li:last-child {
    margin-bottom: 0;
}

.legal-back-link {
    margin: 32px 0 0;
    text-align: center;
}

.legal-back-btn {
    display: inline-block;
    width: auto;
    min-width: 240px;
    text-decoration: none;
    box-sizing: border-box;
}

/* 8. Action Control Submissions Layout Block */
.btn-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 35px;
}
button {
    font-family: inherit;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}
.btn-submit {
    background-color: #28b446;
    color: #ffffff;
    width: 65%;
    padding: 14px 0;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    text-align: center;
}
.btn-submit:hover:not(:disabled) {
    background-color: #21963a;
}

.btn-submit:disabled {
    background-color: #9fd4ad;
    color: #ffffff;
    cursor: not-allowed;
    opacity: 0.85;
}
.btn-reset {
    background: none;
    color: #888888;
    text-decoration: underline;
    font-size: 13px;
    padding: 5px;
    font-weight: 500;
}
.btn-reset:hover {
    color: #e20074;
}

/* 9. Site Map Corporate Footer Setup */
.brand-footer {
    background-color: #ffffff;
    text-align: center;
    padding: 40px 0 0 0;
}
.footer-social-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    font-size: 20px;
    color: #1a365d; /* Off-black tone matching icon layout blocks */
}
.social-icon {
    cursor: pointer;
}
.footer-links-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}
.footer-links-row a {
    color: #111111;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}
.footer-links-row a:hover {
    text-decoration: underline;
}
.footer-bottom-accent {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}
.footer-accent {
    max-width: 100%;
    height: auto;
    display: block;
}

.optins-info-section {
    background-color: #EFEFF0;
    padding: 40px 0;
}

/* App modal (success, errors, notices) */
.app-modal[hidden] {
    display: none !important;
}

.app-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.app-modal__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(17, 17, 17, 0.55);
}

.app-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background-color: #ffffff;
    border-radius: 18px;
    padding: 32px 28px 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    text-align: center;
    box-sizing: border-box;
}

.app-modal__title {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.app-modal--success .app-modal__title {
    color: #e20074;
}

.app-modal--error .app-modal__title,
.app-modal--notice .app-modal__title {
    color: #333333;
}

.app-modal__message {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.45;
    color: #333333;
}

.app-modal__btn {
    width: 100%;
    max-width: none;
}

body.app-modal-open {
    overflow: hidden;
}

.recaptcha-disclaimer {
    margin: 16px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: #666666;
}

.recaptcha-disclaimer a {
    color: #e20074;
    text-decoration: underline;
}

/* Tablet shell: transparent on desktop */
.tablet-top-stack-tablet,
.tablet-header-row-tablet,
.tablet-header-panel-tablet,
.tablet-intro-row-tablet,
.tablet-intro-panel-tablet {
    display: contents;
}

.tablet-green-rail-tablet {
    display: none;
}

.quiz-option-letter-tablet {
    display: none;
}

/* Tablet/mobile: ισχύει στα 600px και κάτω */
@media (max-width: 601px) {
    .brand-header,
    .intro-callout {
        background-image: none !important;
    }

    .tablet-top-stack-tablet {
        --tablet-rail: clamp(22px, calc(36 * 100vw / 600), 36px);
        display: flex;
        flex-direction: column;
    }

    .tablet-header-row-tablet,
    .tablet-intro-row-tablet {
        display: grid;
        grid-template-columns: var(--tablet-rail) minmax(0, 1fr);
        align-items: stretch;
    }

    .tablet-green-rail-tablet {
        display: block;
        grid-column: 1;
        background-color: #28b446;
        background-repeat: no-repeat;
    }

    .tablet-green-rail-tablet--top {
        background-image: url(./images/left-green.png);
        background-position: left top;
        background-size: var(--tablet-rail) auto;
    }

    .tablet-green-rail-tablet--bottom {
        background-image: url(./images/left-green.png);
        background-position: left bottom;
        background-size: var(--tablet-rail) auto;
    }

    .tablet-header-panel-tablet {
        grid-column: 2;
        min-width: 0;
        background-color: #ffffff;
        border-top-left-radius: clamp(16px, calc(24 * 100vw / 600), 24px);
        overflow: hidden;
    }

    .brand-header.brand-header-tablet,
    .brand-header-tablet {
        display: block;
        padding: 0;
        background-image: none !important;
        background-color: #ffffff;
    }

    .header-container-tablet {
        max-width: none;
        margin: 0;
        padding: calc(22 * 100vw / 600) calc(24 * 100vw / 600) calc(18 * 100vw / 600) calc(24 * 100vw / 600);
        display: flex;
        justify-content: flex-end;
        box-sizing: border-box;
    }

    .logo-flex-tablet img {
        max-width: calc(185 * 100vw / 600);
        width: 100%;
        height: auto;
    }

    /* Magenta full-width — καλύπτει την πράσινη ράγα στη μέση */
    .hero-banner.hero-banner-tablet,
    .hero-banner-tablet {
        display: block;
        width: 100%;
        padding: 0;
        margin: 0;
        background-color: #e20074;
        color: #ffffff;
        position: relative;
        z-index: 1;
        box-sizing: border-box;
    }

    .hero-container-tablet {
        max-width: none;
        margin: 0;
        padding: calc(18 * 100vw / 600) calc(18 * 100vw / 600) calc(20 * 100vw / 600);
        padding-left: calc(var(--tablet-rail) + (18 * 100vw / 600));
        box-sizing: border-box;
    }

    .hero-banner-tablet h1 {
        font-size: clamp(22px, calc(30 * 100vw / 600), 30px);
        line-height: 1.08;
        letter-spacing: -0.5px;
        margin: 0;
        text-transform: uppercase;
    }

    .tablet-intro-panel-tablet {
        grid-column: 2;
        min-width: 0;
        background-color: #ffffff;
    }

    .intro-callout.intro-callout-tablet,
    .intro-callout-tablet {
        display: block;
        padding: 0;
        margin: 0;
        text-align: left;
        background-image: none !important;
        background-color: #ffffff;
    }

    .intro-container-tablet {
        max-width: none;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
        padding: calc(20 * 100vw / 600) calc(18 * 100vw / 600) calc(24 * 100vw / 600) calc(18 * 100vw / 600);
        text-align: left;
        background-color: #ffffff;
    }

    .intro-callout-tablet h2 {
        font-size: clamp(14px, calc(17 * 100vw / 600), 17px);
        line-height: 1.45;
        font-weight: 700;
        margin: 0;
        color: #111111;
    }

    .personal-info-section-tablet {
        padding: calc(28 * 100vw / 600) calc(18 * 100vw / 600) calc(32 * 100vw / 600);
    }

    .form-container-tablet {
        max-width: none;
    }

    .personal-info-section-tablet h3 {
        font-size: clamp(14px, calc(16 * 100vw / 600), 16px);
        margin-bottom: calc(18 * 100vw / 600);
    }

    .form-container-tablet .form-group {
        margin-bottom: calc(18 * 100vw / 600);
    }

    .form-container-tablet .form-group label {
        font-size: clamp(11px, calc(12 * 100vw / 600), 12px);
        margin-bottom: calc(6 * 100vw / 600);
    }

    .form-container-tablet .form-group input {
        padding: calc(11 * 100vw / 600) calc(12 * 100vw / 600);
        font-size: clamp(13px, calc(14 * 100vw / 600), 14px);
    }

    .quiz-outer-wrapper.quiz-outer-wrapper-tablet,
    .quiz-outer-wrapper-tablet {
        padding: calc(20 * 100vw / 600) calc(16 * 100vw / 600) calc(28 * 100vw / 600);
    }

    .quiz-title-head-tablet {
        font-size: clamp(18px, calc(22 * 100vw / 600), 22px);
        margin-bottom: calc(14 * 100vw / 600);
    }

    .quiz-white-card-tablet {
        max-width: none;
        width: 100%;
        padding: calc(22 * 100vw / 600) calc(16 * 100vw / 600);
        border-radius: clamp(14px, calc(18 * 100vw / 600), 18px);
        box-shadow: none;
        box-sizing: border-box;
    }

    .question-block-tablet {
        margin-bottom: calc(24 * 100vw / 600);
    }

    .question-block-tablet:last-child {
        margin-bottom: 0;
    }

    .question-text-tablet {
        font-size: clamp(13px, calc(15 * 100vw / 600), 15px);
        line-height: 1.35;
        margin-bottom: calc(14 * 100vw / 600);
        font-weight: 700;
    }

    .quiz-option-label-tablet {
        align-items: flex-start;
        font-size: clamp(12px, calc(13 * 100vw / 600), 13px);
        line-height: 1.35;
        margin-bottom: calc(10 * 100vw / 600);
    }

    .quiz-option-label-tablet input[type="checkbox"] {
        width: clamp(18px, calc(20 * 100vw / 600), 20px);
        height: clamp(18px, calc(20 * 100vw / 600), 20px);
        margin-right: calc(10 * 100vw / 600);
        margin-top: 1px;
    }

    .quiz-option-label-tablet input[type="checkbox"]:checked::before {
        font-size: clamp(11px, calc(13 * 100vw / 600), 13px);
    }

    .quiz-option-letter-tablet {
        display: inline;
        font-weight: 700;
        color: #111111;
    }

    .quiz-option-text-tablet {
        flex: 1;
        min-width: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .optins-info-section-tablet {
        padding: calc(28 * 100vw / 600) calc(18 * 100vw / 600) calc(34 * 100vw / 600);
    }

    .optins-info-section-tablet .checkbox-group {
        margin-bottom: calc(12 * 100vw / 600);
    }

    .optins-info-section-tablet .checkbox-group label {
        font-size: clamp(10px, calc(11 * 100vw / 600), 11px);
    }

    .optins-info-section-tablet .legal-disclaimer {
        font-size: clamp(10px, calc(11 * 100vw / 600), 11px);
    }

    .btn-container-tablet {
        margin-top: calc(28 * 100vw / 600);
        gap: calc(12 * 100vw / 600);
    }

    .btn-submit-tablet {
        width: 100%;
        max-width: calc(260 * 100vw / 600);
        padding: calc(13 * 100vw / 600) 0;
        font-size: clamp(15px, calc(17 * 100vw / 600), 17px);
        border-radius: clamp(6px, calc(8 * 100vw / 600), 8px);
    }

    .btn-reset-tablet,
    .btn-container-tablet .btn-reset {
        font-size: clamp(11px, calc(13 * 100vw / 600), 13px);
    }

    .brand-footer-tablet {
        padding-top: calc(24 * 100vw / 600);
    }

    .footer-links-row-tablet {
        flex-wrap: wrap;
        justify-content: center;
        gap: calc(10 * 100vw / 600) calc(18 * 100vw / 600);
        padding: 0 calc(18 * 100vw / 600) calc(20 * 100vw / 600);
        margin-bottom: 0;
    }

    .footer-links-row-tablet a {
        font-size: clamp(10px, calc(11 * 100vw / 600), 11px);
    }

    .brand-footer-tablet .footer-bottom-accent {
        justify-content: flex-end;
    }

    .brand-footer-tablet .footer-accent {
        max-width: 55%;
    }

    .fullscreen-toggle {
        top: calc(10 * 100vw / 600);
        left: calc(24 * 100vw / 600);
    }

    .legal-page-section-tablet {
        padding: calc(24 * 100vw / 600) calc(16 * 100vw / 600) calc(40 * 100vw / 600);
    }

    .legal-content {
        padding: calc(22 * 100vw / 600) calc(18 * 100vw / 600);
        border-radius: clamp(12px, calc(14 * 100vw / 600), 14px);
    }

    .legal-content h2 {
        font-size: clamp(16px, calc(18 * 100vw / 600), 18px);
        margin-top: calc(22 * 100vw / 600);
    }

    .legal-content p,
    .legal-content ul {
        font-size: clamp(13px, calc(14 * 100vw / 600), 14px);
    }

    .legal-back-btn {
        min-width: calc(220 * 100vw / 600);
        max-width: 100%;
    }
}