@charset "utf-8";

/* ==========================================================================
   Request Demo modal
   Χρησιμοποιεί το ιδιο palette/typography με το υπολοιπο site:
   #8C3CFA (purple), #00E09D / #00d998 (green), #242833 (dark), Syne + CeraGreek
   ========================================================================== */

.demoModalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    background: rgba(36, 40, 51, 0.72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    -webkit-transition: opacity 0.25s ease;
    -moz-transition: opacity 0.25s ease;
    -o-transition: opacity 0.25s ease;
    transition: opacity 0.25s ease;
}

.demoModalOverlay.isVisible {
    display: flex;
}

.demoModalOverlay.isOpen {
    opacity: 1;
}

body.demoModalLock {
    overflow: hidden;
}

.demoModalBox {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 940px;
    max-height: 94vh;
    overflow: hidden;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    -webkit-transform: translateY(30px) scale(0.97);
    -moz-transform: translateY(30px) scale(0.97);
    -ms-transform: translateY(30px) scale(0.97);
    -o-transform: translateY(30px) scale(0.97);
    transform: translateY(30px) scale(0.97);
    -webkit-transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    -moz-transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    -o-transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* μονο το περιεχομενο κυλαει - το gradient & το X μενουν σταθερα */
.demoModalScroll {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 42px 48px 34px;
    /* το scroll δουλευει κανονικα, απλα δεν φαινεται η μπαρα (χαλαει την οψη) */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.demoModalScroll::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.demoModalOverlay.isOpen .demoModalBox {
    -webkit-transform: translateY(0) scale(1);
    -moz-transform: translateY(0) scale(1);
    -ms-transform: translateY(0) scale(1);
    -o-transform: translateY(0) scale(1);
    transform: translateY(0) scale(1);
}

/* λεπτη γραμμη gradient στην κορυφη, ιδια λογικη με το sticky header */
.demoModalBox:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 7px;
    z-index: 3;
    background: linear-gradient(to right, #8C3CFA 0%, #8C3CFA 55%, #00E09D 100%);
}

/* fade στο κατω μερος οταν το περιεχομενο δεν χωραει (η μπαρα ειναι κρυφη) */
.demoScrollFade {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 46px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #fff 85%);
    pointer-events: none;
    opacity: 1;
    z-index: 2;
    -webkit-transition: opacity 0.2s ease;
    -o-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
}

.demoModalBox.isScrollable .demoScrollFade {
    display: block;
}

.demoModalBox.isAtEnd .demoScrollFade {
    opacity: 0;
}

.demoModalClose {
    position: absolute;
    z-index: 4;
    top: 22px;
    right: 22px;
    width: 42px;
    height: 42px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    border-radius: 50%;
    background: #F5F6FA;
    color: #242833;
    font-size: 18px;
    cursor: pointer;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.demoModalClose:hover {
    background: #8C3CFA;
    color: #fff;
}

/* ----- head ----- */

.demoModalHead {
    text-align: center;
    margin-bottom: 26px;
}

.demoModalBadge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(140, 60, 250, 0.1);
    font-family: 'Syne-SemiBold';
    font-size: 11px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #8C3CFA;
    margin-bottom: 13px;
}

.demoModalHead h3 {
    font-family: 'Syne-Bold';
    font-size: 30px;
    letter-spacing: 0.2px;
    color: #242833;
    margin: 0 0 9px;
}

.demoModalHead p {
    font-family: 'CeraGreek-Regular';
    font-size: 15px;
    line-height: 1.55;
    color: #6C7183;
    max-width: 600px;
    margin: 0 auto;
}

/* ----- form grid ----- */

.demoFormGrid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.demoField {
    width: 50%;
    padding: 0 12px;
    margin-bottom: 15px;
}

.demoField.demoFieldFull {
    width: 100%;
}

.demoField.demoFieldThird {
    width: 33.3333%;
}

.demoField label {
    display: block;
    font-family: 'Syne-Regular';
    font-size: 14px;
    letter-spacing: 0.15px;
    color: #8C3CFA;
    padding-left: 22px;
    margin-bottom: 8px;
}

/* label + μετρητης χαρακτηρων στην ιδια γραμμη (γλιτωνουμε υψος) */
.demoLabelRow {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.demoLabelRow label {
    margin-bottom: 8px;
}

.demoField label span.demoReq {
    color: #E2445C;
    margin-left: 2px;
}

.demoInputWrap {
    position: relative;
}

.demoField input[type="text"],
.demoField input[type="email"],
.demoField input[type="tel"],
.demoField input[type="url"],
.demoField select,
.demoField textarea {
    width: 100%;
    height: 54px;
    border: 2px solid transparent;
    outline: none;
    border-radius: 30px;
    /* ΠΑΝΤΑ background-color (οχι shorthand) - το shorthand σβηνει το βελακι του select */
    background-color: #F5F6FA;
    padding: 0 24px;
    font-family: 'CeraGreek-Regular';
    font-size: 16px;
    color: #242833;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.demoField textarea {
    height: 84px;
    border-radius: 22px;
    padding: 15px 24px;
    resize: none;
    line-height: 1.45;
}

.demoField select {
    cursor: pointer;
    padding-right: 48px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238C3CFA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 24px center;
    background-size: 12px 8px;
}

.demoField select:invalid,
.demoField select.isPlaceholder {
    color: #9499A8;
}

.demoField input::placeholder,
.demoField textarea::placeholder {
    font-family: 'CeraGreek-Regular';
    font-size: 16px;
    color: #9499A8;
}

.demoField input::-webkit-input-placeholder,
.demoField textarea::-webkit-input-placeholder {
    color: #9499A8;
}

.demoField input:focus,
.demoField select:focus,
.demoField textarea:focus {
    background-color: #fff;
    border-color: #8C3CFA;
    box-shadow: 0 0 0 4px rgba(140, 60, 250, 0.1);
}

/* σωστα συμπληρωμενο πεδιο */
.demoField.isValid input,
.demoField.isValid select,
.demoField.isValid textarea {
    border-color: rgba(0, 224, 157, 0.65);
    background-color: #fff;
}

/* λαθος συμπληρωμενο πεδιο */
.demoField.hasError input,
.demoField.hasError select,
.demoField.hasError textarea {
    border-color: #E2445C;
    background-color: #FFF6F7;
}

.demoField.hasError input:focus,
.demoField.hasError select:focus,
.demoField.hasError textarea:focus {
    box-shadow: 0 0 0 4px rgba(226, 68, 92, 0.1);
}

.demoError {
    display: none;
    font-family: 'CeraGreek-Regular';
    font-size: 12.5px;
    line-height: 1.35;
    color: #E2445C;
    padding-left: 24px;
    margin-top: 6px;
}

.demoField.hasError .demoError {
    display: block;
    -webkit-animation: demoErrorIn 0.25s ease both;
    animation: demoErrorIn 0.25s ease both;
}

.demoError i {
    margin-right: 6px;
}

@-webkit-keyframes demoErrorIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes demoErrorIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.demoCharCount {
    font-family: 'CeraGreek-Regular';
    font-size: 12px;
    color: #9499A8;
    text-align: right;
    padding-right: 24px;
}

/* ----- consent ----- */

.demoConsent {
    margin-top: 2px;
    padding: 0 12px;
}

.demoConsent .demoCheckLine {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: flex-start;
}

.demoConsent input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.demoConsent label {
    position: relative;
    display: block;
    padding-left: 36px;
    font-family: 'CeraGreek-Regular';
    font-size: 13.5px;
    line-height: 1.5;
    color: #6C7183;
    cursor: pointer;
    margin: 0;
}

.demoConsent label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    border: 2px solid #D5D8E2;
    border-radius: 7px;
    background: #fff;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.demoConsent label:after {
    content: "";
    position: absolute;
    left: 8px;
    top: 5px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg) scale(0);
    -ms-transform: rotate(45deg) scale(0);
    transform: rotate(45deg) scale(0);
    -webkit-transition: transform 0.2s ease;
    -o-transition: transform 0.2s ease;
    transition: transform 0.2s ease;
}

.demoConsent input[type="checkbox"]:checked + label:before {
    background: #8C3CFA;
    border-color: #8C3CFA;
}

.demoConsent input[type="checkbox"]:checked + label:after {
    -webkit-transform: rotate(45deg) scale(1);
    -ms-transform: rotate(45deg) scale(1);
    transform: rotate(45deg) scale(1);
}

.demoConsent input[type="checkbox"]:focus + label:before {
    box-shadow: 0 0 0 4px rgba(140, 60, 250, 0.12);
}

.demoConsent label a {
    color: #8C3CFA;
    text-decoration: underline;
}

.demoConsent.hasError label:before {
    border-color: #E2445C;
    background: #FFF6F7;
}

.demoConsent .demoError {
    padding-left: 36px;
}

.demoConsent.hasError .demoError {
    display: block;
}

/* ----- footer / submit ----- */

.demoFormFoot {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 22px;
    padding: 0 12px;
}

.demoSubmit {
    position: relative;
    min-width: 240px;
    height: 58px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    border: none;
    border-radius: 30px;
    background: #8C3CFA;
    font-family: 'Syne-SemiBold';
    font-size: 18px;
    letter-spacing: 0.2px;
    color: #fff;
    padding: 0 35px;
    cursor: pointer;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.demoSubmit:hover {
    box-shadow: 0 10px 25px rgba(140, 60, 250, 0.35);
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
}

.demoSubmit[disabled] {
    opacity: 0.75;
    cursor: default;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    box-shadow: none;
}

.demoSubmit i {
    margin-left: 12px;
    margin-top: 2px;
    font-size: 15px;
}

.demoSubmitSpinner {
    display: inline-block;
    width: 22px;
    height: 22px;
    vertical-align: middle;
    border-radius: 50%;
    background: conic-gradient(from 90deg, rgba(255,255,255,0), #fff);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
            mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    -webkit-animation: demoSpin 0.85s linear infinite;
    animation: demoSpin 0.85s linear infinite;
}

@-webkit-keyframes demoSpin { to { -webkit-transform: rotate(360deg); } }
@keyframes demoSpin { to { transform: rotate(360deg); } }

.demoFormNote {
    font-family: 'CeraGreek-Regular';
    font-size: 14px;
    color: #9499A8;
    padding-left: 20px;
}

.demoFormNote i {
    color: #00C98D;
    margin-right: 7px;
}

/* γενικο μηνυμα λαθους πανω απο το submit */
.demoFormAlert {
    display: none;
    align-items: center;
    margin: 16px 12px 0;
    padding: 12px 18px;
    border-radius: 16px;
    background: #FFF0F2;
    border: 1px solid rgba(226, 68, 92, 0.25);
    font-family: 'CeraGreek-Regular';
    font-size: 14px;
    color: #C93549;
}

.demoFormAlert.isShown {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.demoFormAlert i {
    margin-right: 10px;
    font-size: 16px;
}

/* honeypot - κρυφο πεδιο για bots */
.demoHp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

/* Δευτερο honeypot: εχει ονομα που ελκυει τα bots (email_confirm), αλλα ακριβως
   γι' αυτο θα μπορουσε να το πιασει και το autofill του browser. Με display:none
   το autofill το αγνοει τελειως, οποτε δεν κινδυνευει πραγματικος χρηστης. */
.demoHpHidden {
    display: none !important;
}

/* ----- success ----- */

.demoSuccess {
    display: none;
    text-align: center;
    padding: 20px 0 10px;
}

.demoSuccess.isShown {
    display: block;
    -webkit-animation: demoSuccessIn 0.35s ease both;
    animation: demoSuccessIn 0.35s ease both;
}

@-webkit-keyframes demoSuccessIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes demoSuccessIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.demoSuccessIcon {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00E09D 0%, #00C98D 100%);
}

.demoSuccessIcon:after {
    content: "";
    position: absolute;
    left: 35px;
    top: 24px;
    width: 16px;
    height: 32px;
    border: solid #fff;
    border-width: 0 4px 4px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.demoSuccess h3 {
    font-family: 'Syne-Bold';
    font-size: 30px;
    color: #242833;
    margin: 0 0 14px;
}

.demoSuccess p {
    font-family: 'CeraGreek-Regular';
    font-size: 16px;
    line-height: 1.6;
    color: #6C7183;
    max-width: 480px;
    margin: 0 auto 30px;
}

.demoSuccess .demoSuccessClose {
    height: 58px;
    padding: 0 45px;
    outline: none;
    border: 2px solid #8C3CFA;
    border-radius: 30px;
    background: none;
    font-family: 'Syne-SemiBold';
    font-size: 17px;
    color: #8C3CFA;
    cursor: pointer;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.demoSuccess .demoSuccessClose:hover {
    background: #8C3CFA;
    color: #fff;
}

/* ==========================================================================
   Πρασινη εκδοχη - οπως αλλαζει και το reqDemo button στις σελιδες products
   ========================================================================== */

.page_products .demoModalBadge {
    background: rgba(0, 217, 152, 0.12);
    color: #00B67F;
}

.page_products .demoField label,
.page_products .demoConsent label a {
    color: #00B67F;
}

.page_products .demoField input:focus,
.page_products .demoField select:focus,
.page_products .demoField textarea:focus {
    border-color: #00d998;
    box-shadow: 0 0 0 4px rgba(0, 217, 152, 0.12);
}

.page_products .demoConsent input[type="checkbox"]:checked + label:before {
    background: #00d998;
    border-color: #00d998;
}

.page_products .demoSubmit {
    background: #00d998;
}

.page_products .demoSubmit:hover {
    box-shadow: 0 10px 25px rgba(0, 217, 152, 0.35);
}

.page_products .demoModalClose:hover,
.page_products .demoSuccess .demoSuccessClose:hover {
    background: #00d998;
    border-color: #00d998;
    color: #fff;
}

.page_products .demoSuccess .demoSuccessClose {
    border-color: #00d998;
    color: #00B67F;
}

.page_products .demoField select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2300B67F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991px) {
    .demoModalScroll {
        padding: 40px 32px 30px;
    }

    .demoModalHead h3 {
        font-size: 26px;
    }

    .demoField.demoFieldThird {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .demoModalOverlay {
        padding: 0;
        align-items: flex-end;
    }

    .demoModalBox {
        max-width: 100%;
        max-height: 94vh;
        border-radius: 24px 24px 0 0;
    }

    .demoModalScroll {
        padding: 40px 20px 30px;
    }

    .demoModalClose {
        top: 16px;
        right: 16px;
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .demoModalHead {
        margin-bottom: 25px;
    }

    .demoModalHead h3 {
        font-size: 24px;
    }

    .demoModalHead p {
        font-size: 14px;
    }

    .demoField,
    .demoField.demoFieldThird {
        width: 100%;
        margin-bottom: 14px;
    }

    .demoField input[type="text"],
    .demoField input[type="email"],
    .demoField input[type="tel"],
    .demoField input[type="url"],
    .demoField select {
        height: 52px;
        font-size: 15px;
    }

    .demoFormFoot {
        justify-content: center;
        text-align: center;
    }

    .demoSubmit {
        width: 100%;
        min-width: 0;
    }

    .demoFormNote {
        width: 100%;
        padding: 15px 0 0;
        text-align: center;
    }

    .demoSuccess h3 {
        font-size: 24px;
    }
}
