:root {
    --color-base: #FF4D4D;
    --color-black: #101010;
    --color-hover: #E53D3D;
    --color-white-text: #F8F8F8;
    --color-white-40: #F8F8F866;
    --color-white-60: rgba(248, 248, 248, 0.6);
    --color-white-70: rgba(248, 248, 248, 0.7);
    --color-white-10: #F8F8F81A;
    --color-white-5: #F8F8F80D;
    --color-white-7: #F8F8F812;
}

@font-face {
    font-family: 'sf-pro-light';
    src: url('./assets/fonts/SF Pro Display/SF-Pro-Display-Light.otf');
    font-display: swap;
}
@font-face {
    font-family: 'sf-pro';
    src: url('./assets/fonts/SF Pro Display/SF-Pro-Display-Regular.otf');
    font-display: swap;
}
@font-face {
    font-family: 'sf-pro-medium';
    src: url('./assets/fonts/SF Pro Display/SF-Pro-Display-Medium.otf');
    font-display: swap;
}
@font-face {
    font-family: 'sf-pro-semibold';
    src: url('./assets/fonts/SF Pro Display/SF-Pro-Display-Semibold.otf');
    font-display: swap;
}
@font-face {
    font-family: 'sf-pro-bold';
    src: url('./assets/fonts/SF Pro Display/SF-Pro-Display-Bold.otf');
    font-display: swap;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    height: 100%;
}

body {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'sf-pro', sans-serif;
    background-color: var(--color-black);
    color: var(--color-white-text);
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
    font-weight: 400;
}

*,
*::after,
*::before {
    box-sizing: border-box;
}

img {
    min-height: 100%;
    min-width: 100%;
    width: 100%;
    height: 100%;
}

ul {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: inherit;
}

li {
    list-style: none;
}
.container {
    width: 100%;
    padding: 0 .625rem;
    max-width: 1920px;
    margin: 0 auto;
}
.logo {
    object-fit: contain;
}
button {
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    color: inherit;
    padding: 0;
    margin: 0;
}

/*header*/
.header {
    height: 60px;
    background-color: var(--color-black);
    position: sticky;
    top: 0;
    z-index: 40;
}
.avatarButton {
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    background: #2C2C2C;
    transition: background-color 0.2s ease;
}
.avatarButton:hover {
    background: var(--color-base);
}
.headerInnerContainer {
    display: flex;
    padding: 0.625rem 0;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}
.avatarButtonDesktop {
    color: var(--color-white-text);
    text-align: center;
    font-family: "sf-pro-medium", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%; /* 18px */
    letter-spacing: -0.225px;
    height: 40px;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    display: none;
    border-radius: 100px;
    border: 1px solid #F8F8F8;
    transition: all 0.2s ease;
}
.avatarButtonDesktop:hover {
    background: var(--color-base);
    border-color: var(--color-base);

}
/* create seciton  */
.createShare {
    min-height: calc(100vh - 60px);
    height: fit-content;
    display: flex;
    align-items: center;
    transform: translateY(-60px);
}
.createTitle {
    color: #F8F8F8;
    font-feature-settings: 'case' on;
    font-size: 44px;
    font-style: normal;
    font-family: 'sf-pro-medium', sans-serif;
    line-height: 100%; /* 44px */
    letter-spacing: -1.1px;
    text-transform: uppercase;
}
.createTitle span {
    color: #FF4D4D;
    font-feature-settings: 'case' on;
    font-size: 44px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -1.1px;
    text-transform: uppercase;
}
.createText {
    color: var(--color-white-70);
    font-size: 15px;
    font-style: normal;
    line-height: 125%; /* 18.75px */
    letter-spacing: -0.225px;
    margin-top: 10px
}
.createButton {
    width: 100%;
    display: flex;
    height: 60px;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    color: var(--color-white-text);
    text-align: center;
    font-family: "sf-pro-medium", sans-serif;
    font-size: 16px;
    font-style: normal;
    line-height: 125%; /* 20px */
    letter-spacing: -0.24px;
    border-radius: 100px;
    background: var(--color-base);
    transition: background-color 0.2s ease;
    margin-top: 60px;
}
.createButton:hover {
    background: var(--color-hover);
}

/*What is This section*/
.whatIsThisWrapper,
.funcWrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    height: fit-content;
}
.baseDot {
    width: 10px;
    height: 10px;
    background-color: var(--color-base);
    border-radius: 100px;

}
.whatIsThisText,
.functionalText {
    color: var(--color-white-60);
    font-family: 'sf-pro-medium', sans-serif;
    font-size: 12px;
    font-style: normal;
    letter-spacing: -0.18px;
    text-transform: uppercase;
}
.aboutTextWrapper,
.functionalTextWrapper {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 15px;
}
.aboutText,
.functionsText {
    font-size: 30px;
    font-style: normal;
    line-height: 100%; /* 30px */
    letter-spacing: -0.9px;
}
.aboutCardText {
    color: #FFF;
    font-size: 20px;
    font-style: normal;
    line-height: 110%; /* 22px */
    letter-spacing: -0.4px;
}
.aboutCard {
    display: flex;
    height: 400px;
    padding: 20px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 20px;
    align-self: stretch;
    border-radius: 10px;
    background: #1C1C1C;
}
.aboutCards {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/*Functional*/
.functional {
    margin-top: 80px;
}
.funcTitle {
    color: #FFF;
    font-size: 20px;
    font-style: normal;
    line-height: 110%; /* 22px */
    letter-spacing: -0.4px;
}
.funcDesc {
    color: var(--color-white-60);
    font-size: 15px;
    font-style: normal;
    line-height: 120%; /* 18px */
    letter-spacing: -0.15px;
}
.funcCardTextWrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}
.functionalCards {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin: 40px -10px;
    padding: 0 10px;
}
.functionalCard {
    display: flex;
    flex-shrink: 0;
    width: 320px;
    height: 340px;
    padding: 20px 20px 16px 20px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    border-radius: 10px;
    background: #1C1C1C;
}
.funcCircleButton {
    display: flex;
    width: 50px;
    height: 50px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 100px;
    background: #2C2C2C;
}

/*faq*/
.faq {
    margin-top: 80px;
}
.faqItems {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 40px;
}
.faqItem {
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    border-radius: 10px;
    background: #1C1C1C;
}
.questionWrapper {
    display: flex;
    width: 100%;
    justify-content: space-between;

}
.question {
    color: #FFF;
    font-size: 20px;
    font-style: normal;
    line-height: 120%; /* 24px */
    letter-spacing: -0.4px;
}
.questionMinusButton {
    display: flex;
    width: 24px;
    height: 24px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.questionPlusButton {
    display: flex;
    width: 24px;
    height: 24px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.answer {
    color: var(--color-white-60);
    font-size: 15px;
    font-style: normal;
    line-height: 120%; /* 18px */
    letter-spacing: -0.15px;
}
.answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.answer.visible {
    max-height: 200px; /* Ehtimoliy maksimal balandlikni qo'shing */
    padding-top: 30px; /* Yopilgan holatda bo'sh joyni olib tashlaymiz */
}

/*Footer*/
.footer {
    margin-top: 80px;
    background: #1C1C1C;
}
.footerInnerContainer {
    padding: 30px 0 0 0;
    position: relative;
}
.footerText {
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    line-height: 125%; /* 20px */
    letter-spacing: -0.16px;
}
.footerEmailText {
    margin-top: 5px;
    margin-bottom: 60px;
}
.footerAddressText {
    margin-top: 30px;
}
.navigationWrapper {
    display: flex;
    flex-direction: column;

}
.toTopButton {
    display: flex;
    width: 40px;
    height: 40px;
    padding: 8px 9px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: absolute;
    right: 10px;
    bottom: 80px;
    border-radius: 100px;
    border: 1px solid rgba(235, 235, 235, 0.60);
    opacity: 0.5;
    transition: background-color 0.2s ease;
}
.toTopButton:hover {
    background: var(--color-white-10);
}
.listTitle {
    color: #FFF;
    font-family: "sf-pro-medium", sans-serif;
    font-size: 18px;
    font-style: normal;
    line-height: 125%; /* 22.5px */
    letter-spacing: -0.18px;
    text-transform: uppercase;
}
.footerSecondColumn {
    display: flex;
    gap: 10px;
}
.footerNavigation {
    width: 50%;
}
.socialLinks {
    width: 50%;
}
.listUl {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.privacyPolicy {
    margin-top: 80px;
}
.footerBottom {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    padding: 20px 0px;
    align-items: center;
    gap: 20px;
    align-self: stretch;
    margin-top: 20px;
    justify-content: space-between;
}
.privacyPolicyDesktop {
    color: #F8F8F8;
    opacity: 0.5;
    font-family: "sf-pro-medium", sans-serif;
    font-size: 14px;
    font-style: normal;
    line-height: 125%; /* 17.5px */
    letter-spacing: -0.21px;
    display: none;
}
.copyFooter {
    color: #F8F8F8;
    font-family: "sf-pro-medium", sans-serif;
    font-size: 14px;
    font-style: normal;
    line-height: 125%; /* 17.5px */
    letter-spacing: -0.21px;
    opacity: 0.5;
}


@media (min-width: 1280px) {
    .container {
        padding: 0 1.875rem
    }
    .header {
        height: 70px;
    }
    .headerInnerContainer {
        height: 4.375rem;
        padding: 15px 0;
        justify-content: space-between;
        align-items: center;
        flex-shrink: 0;
    }
    .avatarButton {
        display: none;
    }
    .avatarButtonDesktop {
        display: flex;
    }
    .createShare {
        min-height: calc(100vh - 70px);
    }
    .createTitle {
        text-align: center;
        font-feature-settings: 'case' on;
        font-size: 80px;
        letter-spacing: -2px;
        max-width: 1100px;
    }
    .createTitle span {
        font-feature-settings: 'case' on;
        font-size: 80px;
        letter-spacing: -2px;
    }
    .createText {
        text-align: center;
        font-size: 18px;
        line-height: 125%; /* 22.5px */
        letter-spacing: -0.27px;
        max-width: 500px;
        margin-top: 15px;
    }
    .createButton {
        max-width: 660px;
        margin-left: auto;
        margin-right: auto;
    }
    .createShareInnerContainer {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .whatIsThisText,
    .functionalText {
        font-size: 14px;
    }
    .aboutTextWrapper,
    .functionalTextWrapper {
        display: flex;
        flex-direction: row;
        align-items: start;
        gap: 20px;
    }
    .whatIsThisWrapper,
    .funcWrapper {
        width: 50%;
        align-items: center;

    }
    .aboutText,
    .functionsText {
        width: 50%;
        color: #F8F8F8;
        font-size: 56px;
        line-height: 90%; /* 50.4px */
        letter-spacing: -1.68px;
    }
    .aboutCardText {
        font-size: 24px;
        line-height: 110%; /* 26.4px */
        letter-spacing: -0.48px;
        line-clamp: 2;
    }
    .aboutCard {
        height: 500px;
        flex: 1 0 0;

    }
    .aboutCards {
        flex-direction: row;
        align-items: center;
        gap: 20px;
        align-self: stretch;
    }
    .funcWrapper {
        width: 50%;
        align-items: center;
    }
    .functional {
        margin-top: 200px;
    }
    .funcTitle {
        font-size: 24px;
        line-height: 110%; /* 26.4px */
        letter-spacing: -0.48px;
    }
    .funcDesc {
        font-size: 16px;
        line-height: 120%; /* 19.2px */
        letter-spacing: -0.16px;
    }
    .functionalCards {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .functionalCard {
        height: 370px;
        padding: 20px 20px 16px 20px;
        flex: 1 0 0;
        width: fit-content;
    }
    .faq {
        margin-top: 200px;
    }
    .faqItems {
        width: 50%;
        margin-left: auto;
    }
    .footer {
        margin-top: 120px;
    }
    .footerInnerContainer {
        padding: 60px 0 0 0;
    }
    .footerEmailText {
        margin-top: 10px;
        margin-bottom: 0;
    }
    .footerAddressText {
        margin-top: 60px;
    }
    .navigationWrapper {
        flex-direction: row;
        gap: 20px;
    }
    .footerFirstColumn {
        width: 50%;
    }
    .footerSecondColumn {
        width: 50%;
    }
    .privacyPolicy {
        display: none;
    }
    .privacyPolicyDesktop {
        display: block;
    }
    .toTopButton {
        right: 30px;
        top: 60px;
    }
}