@font-face {
    font-family: 'TT Firs Neue Variable';
    src: url("../fonts/TT_Firs_Neue_Variable.woff2") format('woff2'),
        url("../fonts/TT_Firs_Neue_Variable.woff") format('woff'),
        url('../fonts/TT_Firs_Neue_Variable.ttf')  format('truetype');

    font-style: normal;
}
/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: 'TT Firs Neue Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    animation: pageFadeIn 0.25s ease-out;
    transition: background-color 0.4s ease-out;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

a {
    text-decoration: none;
    color: inherit;
    text-decoration-line: underline;
    text-decoration-style: solid;
    transition: opacity 0.3s ease, color 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

ul, ol {
    list-style: none;
}



.page {
    height: 100vh;
    background-color: #18072E;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: background-color 0.4s ease-out;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background-desktop.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 32px;
    width: 906px;
    max-width: 90%;
    margin: auto;
    padding-top: 154px;
    flex: 1;
    animation: fadeInUp 0.4s ease-out 0.1s both;
}

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

@media (max-height: 768px) {
    .hero__content {
        padding-top: 80px;
        gap: 24px;
    }
}

.hero__title {
    width: 100%;
    font-family: 'TT Firs Neue Variable', sans-serif;
    font-weight: 500;
    font-size: 60px;
    line-height: 1.0666666666666667em;
    text-align: center;
    color: #FFFFFF;
    margin: 0;
}

@media (max-height: 900px) {
    .hero__title {
/*        font-size: 52px;*/
    }
}

@media (max-height: 768px) {
    .hero__title {
        font-size: 48px;
    }
}

.hero__subtitle {
    width: 100%;
    font-family: 'TT Firs Neue Variable', sans-serif;
    font-weight: 450;
    font-size: 18px;
    line-height: 1.29em;
    text-align: center;
    color: #FFFFFF;
    margin: 0;
}

/* Header */
.header {
    position: relative;
    z-index: 3;
    padding: 32px 0;
    flex-shrink: 0;
    animation: slideDown 0.3s ease-out;
}

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

.header__container {
/*    width: 1293px;*/
    /* margin: 0 auto;
    padding-left: 80px;
    padding-right: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center; */

    max-width: 1280px;
    margin: 0 auto;
    padding-left: 0px;
    padding-right: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    width: 186px;
}

.header__logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header__nav-group {
    display: flex;
    align-items: center;
}

.header__nav-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px;
    background-color: rgba(203, 213, 225, 0.32);
    border-radius: 32px;
}

.header__nav-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px 32px;
    font-family: 'TT Firs Neue Variable', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.25em;
    color: #FFFFFF;
    background-color: transparent;
    border: none;
    border-radius: 64px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}


.header__container--ethiocall .header__nav-item--products {
    color: #7A2DDD;
    background-color: rgba(255, 255, 255, 0);
}

.header__container--ethiocall .header__nav-item--products:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.header__nav-item--contact {
    background-color: #9557E4;
    color: #FFFFFF;
}

.header__nav-item--contact:hover {
    background-color: #7A2DDD;
    /* transform: translateY(-1px); */
}

.header__nav-item--contact:active {
    background-color: #6B25C7;
    transform: translateY(0);
}


.header__button {
    flex-shrink: 0;
}

/* Button */
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-family: 'TT Firs Neue Variable', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.25em;
    color: #FFFFFF;
    border-radius: 800px;
    transition: all 0.3s ease;
}

.button--primary {
    padding: 14px 32px;
    width: 187px;
    height: 56px;
    background-color: #9557E4;
}

.button--primary:hover {
    background-color: #7A2DDD;
    /* transform: translateY(-1px); */
}

.button--primary:active {
    background-color: #6B25C7;
    transform: translateY(0);
}

/* Footer */
.footer {
    width: 100%;
    flex-shrink: 0;
    animation: fadeIn 0.3s ease-out 0.2s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.footer__container {
/*    width: 1280px;*/
    margin: 0 auto;
    /* padding-left: 80px;
    padding-right: 80px; */
    padding-top: 24px;
    padding-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 67px;
    flex-wrap: nowrap;

    max-width: 1280px;
    gap: 67px;
    /* border-radius: 800px; */


}

.footer__item {
    flex-shrink: 0;
}

.footer__item {
    font-family: 'TT Firs Neue Variable', sans-serif;
    font-weight: 450;
    font-size: 12px;
    line-height: 1.29em;
    color: #E4D5F8;
    margin: 0;
    white-space: nowrap;
}

.footer__link {
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: #FFFFFF;
}

/* Desktop styles (1440px) */
@media (max-width: 1440px) {
    .header__container {
        width: 100%;
/*        max-width: 1280px;*/
        padding: 0 24px;
    }
    
    .footer__container {
        justify-content: space-between;
        width: 100%;
/*        max-width: 1280px;*/
        gap: 8px;
        padding: 24px;
            flex-wrap: wrap;
    }
}

/* Mobile styles (375px) */
@media (max-width: 768px) {
    /* Hero */
    .hero {
        flex: 1;
    }
    
    .hero__background {
        height: 100%;
        background-image: url('../images/background-mobile.svg');
        height: calc(100% - 80px);
    }
    
    .hero__content {
        width: 346px;
        padding-top: 15vh;
        gap: 24px;
    }
    
    .hero__title {
        font-size: 40px;
        line-height: 1.1em;
    }
    
    
    .hero__subtitle {
        font-size: 16px;
    }
    
    .hero__subtitle br {
        display: none;
    }
    
    /* Header */
    .header {
        padding: 24px 16px;
    }
    
    .header__container {
        width: 100%;
        padding: 0;
        gap: 0;
        flex-wrap: nowrap;
    }
    
    .header__logo {
        width: 134px;
        height: 40px;
    }
    
    .header__button {
        margin-left: auto;
    }

    .header__nav-wrapper {
        gap: 8px;
        padding: 4px 8px;
    }
    
    .header__nav-item {
        padding: 4px 8px;
        font-size: 12px;
        line-height: 1.67em;
    }
    
    .header__nav-item--products {
        width: auto;
    }
    
    /* Button */
    .button--primary {
        padding: 8px 24px;
        width: auto;
        height: 40px;
        font-size: 14px;
        line-height: 1.29em;
    }
    
    /* Footer */
    .footer {
        padding: 0 16px 24px;
    }
    .footer__container {
        width: 100%;
        padding: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        align-items: stretch;
        gap: 12px;
    }
    
    .footer__item {
        flex-shrink: 1;
    }
    
    .footer__item:nth-child(1) {
        grid-column: 1 / 2;
        grid-row: 1;
    }
    
    .footer__item:nth-child(2) {
        grid-column: 2 / 3;
        grid-row: 1;
    }
    
    .footer__item:nth-child(3) {
        grid-column: 1 / 2;
        grid-row: 2;
    }
    
    .footer__item:nth-child(4) {
        grid-column: 2 / 3;
        grid-row: 2;
    }
    
    .footer__item--copyright {
        grid-column: 1 / -1;
        grid-row: 3;
        display: none;
    }
    
    .footer__item {
        font-size: 14px;
        white-space: normal;
        word-break: break-word;
        max-width: 185px;
    }

}


/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal.is-active {
    display: flex;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 41, 59, 0.64);
    background-blend-mode: multiply;
    z-index: 1;
}

.modal__container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    animation: modalFadeIn 0.3s ease;
}

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

.modal__content {
    background-color: #F1F5F9;
    border-radius: 8px;
    overflow: hidden;
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 24px 16px;
    gap: 8px;
}

.modal__header--success {
    justify-content: flex-end;
    padding: 8px;
}

.modal__title {
    font-family: 'TT Firs Neue Variable', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.333em;
    color: #1E293B;
    margin: 0;
    flex: 1;
}

.modal__close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.modal__close:hover {
    background-color: rgba(30, 41, 59, 0.08);
}


.modal__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 16px 24px 24px;
}

.modal__body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Form Field */
.form-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-field__label {
    font-family: 'TT Firs Neue Variable', sans-serif;
    font-weight: 450;
    font-size: 12px;
    line-height: 1.333em;
    color: #1E293B;
    padding: 0 12px 0 4px;
}

.form-field__input {
    width: 100%;
    padding: 10px 12px;
    font-family: 'TT Firs Neue Variable', sans-serif;
    font-weight: 450;
    font-size: 14px;
    line-height: 1.428em;
    color: #1E293B;
    background-color: #FFFFFF;
    border: 1px solid #F1F5F9;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-field__input::placeholder {
    color: #94A3B8;
}

.form-field__input:focus {
    border-color: #7A2DDD;
}

/* Form Checkbox */
.form-checkbox {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

/* Honeypot - hidden field for bot protection */
.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.form-checkbox__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.form-checkbox__label {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-family: 'TT Firs Neue Variable', sans-serif;
    font-weight: 450;
    font-size: 12px;
    line-height: 1.333em;
    color: #475569;
    cursor: pointer;
    user-select: none;
}

.form-checkbox__box {
    width: 16px;
    height: 16px;
    min-width: 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #CBD5E1;
    border-radius: 4px;
    background-color: #FFFFFF;
    transition: all 0.2s ease;
    margin-top: 2px;
}

.form-checkbox__box--error {
    border: 2px solid #EF4444;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

.form-checkbox__icon {
    width: 12px;
    height: 12px;
    opacity: 0;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.form-checkbox__input:checked + .form-checkbox__label .form-checkbox__icon {
    opacity: 1;
}

.form-checkbox__input:checked + .form-checkbox__label .form-checkbox__box {
    border-color: #7A2DDD;
    background-color: #7A2DDD;
}

.form-checkbox__label:hover .form-checkbox__box {
    border-color: #7A2DDD;
}



.form-checkbox__text {
    flex: 1;
}

.form-checkbox__text a {
    color: #7A2DDD;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.form-checkbox__text a:hover {
    color: #6B25C7;
}

/* Button Submit */
.button--submit {
    width: 100%;
    padding: 14px 24px;
    font-family: 'TT Firs Neue Variable', sans-serif;
    font-weight: 450;
    font-size: 16px;
    line-height: 1.5em;
    text-align: center;
    color: #FFFFFF;
    background-color: #7A2DDD;
    border: none;
    border-radius: 128px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button--submit:hover {
    background-color: #6B25C7;
    /* transform: translateY(-1px); */
}

.button--submit:active {
    background-color: #5A1FA8;
    transform: translateY(0);
}

/* Success Screen */
.modal__success {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 16px 32px 32px;
}

.modal__success.is-visible {
    display: flex;
}

.modal__success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}


.modal__success-image {
    width: 100px;
    height: 100px;
}

.modal__success-text {
    width: 262px;
    font-family: 'TT Firs Neue Variable', sans-serif;
    font-weight: 450;
    font-size: 16px;
    line-height: 1.5em;
    text-align: center;
    color: #1E293B;
    margin: 0;
}


@media (min-width: 769px) {

}


/* Large Desktop (1680px+) */
@media (min-width: 1441px) {
    /* Header */
    .header__container {
        padding-left: 80px;
        padding-right: 80px;
        max-width: 1920px;
    }
    .footer__container {
        padding-left: 80px;
        padding-right: 80px;
        max-width: 1920px;
    }
}   