:root {
    background-color: var(--color-primary);
    font-family: var(--font-family);
    font-style: normal;
}

body {
    margin: 0;
    /* background: url('/assets/images/pattern.png') repeat top;
    background-size: 2000px 8000px; */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#main-content {
    flex-grow: 1;
}

.hero-container {
    padding: 0 64px;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.guidor-logo {
    position: relative;
    display: flex;
    padding: 32px 0;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.hero-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 32px;
    padding: 0 0 64px 0;
    width: 100%;
    flex: 1;
    height: 0;
}

.hero-text__title {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
}

.hero-text__title h2 {
    font-family: "Outfit", sans-serif;
    font-variation-settings: normal;
    color: var(--color-secondary);
    word-break: break-word;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-5xl);
    letter-spacing: -1.2px;
    margin: 0;
}

.hero-text__title p {
    font-family: "Outfit", sans-serif;
    word-break: break-word;
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-xl);
    letter-spacing: -0.12px;
    text-align: center;
    white-space: pre-wrap;
    line-height: var(--line-height-relaxed);
    opacity: 0.8;
    color: var(--color-secondary);
    margin: 0;
}

.hero-text__tablets {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    flex: 1;
    max-height: 50vh;
    height: 0;
    min-height: 300px;
}

.hero-text__tablets img {
    transition: all 0.3s ease;
    max-height: 100%;
    height: auto;
    object-fit: contain;
}

.hero-text__tablets img:nth-child(1) {
    height: 75%;
    z-index: 1;
}

.hero-text__tablets img:nth-child(2) {
    height: 100%;
    z-index: 3;
    margin: 0 -150px;
}

.hero-text__tablets img:nth-child(3) {
    height: 75%;
    z-index: 2;
}

.hero-text__buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding-bottom: 40px;
}

.hero-text__button {
    position: relative;
    flex-shrink: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 16px;
    padding: 16px 32px;

    cursor: pointer;
    box-shadow: rgba(26, 31, 42, 0.05) 0 6px 12px 0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-text__button p {
    font-family: "Outfit", sans-serif;
    word-break: break-word;
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-base);
    letter-spacing: 0;
    margin: 0;
}

.hero-text__button.dark {
    background-color: var(--color-secondary);
}

.hero-text__button.dark p {
    color: var(--color-primary);
}

.hero-text__button.light {
    background-color: var(--color-primary);
    border: 1px solid var(--color-secondary);
}

.hero-text__button.light p {
    color: var(--color-secondary);
}

.hero-text__button:hover {
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.animated-text-container {
    display: inline-block;
    width: 650px;
    height: 1.3em;
    position: relative;
    vertical-align: top;
    overflow: hidden;
}

.animated-span {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease;
}

.animated-span.current {
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
}

.animated-span.next {
    opacity: 0;
    transform: translateY(100%);
    z-index: 1;
}

.animated-span.fade-out-top {
    opacity: 0;
    transform: translateY(-100%);
}

.animated-span.fade-in-bottom {
    opacity: 1;
    transform: translateY(0);
    z-index: 3;
}

@media (max-width: 1133px) {
    .hero-text__title {
        gap: 12px;
    }

    .hero-text__title h2 {
        font-size: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 110%;
    }

    .hero-text__title p {
        font-size: 20px;
    }

    .hero-text__tablets img:nth-child(1) {
        height: 65%;
    }

    .hero-text__tablets {
        margin: 20px 0;
        min-height: 300px;
    }

    .hero-text__tablets img:nth-child(2) {
        height: 85%;
        /* margin: 0 -50px; */
    }

    .hero-text__tablets img:nth-child(3) {
        height: 65%;
    }

    .animated-text-container {
        width: 100%;
        text-align: center;
        /*font-size: var(--font-size-2xl);*/
    }

    .animated-span {
        left: 50%;
        transform: translateX(-50%);
    }

    .animated-span.current {
        transform: translate(-50%, 0);
    }

    .animated-span.next {
        transform: translate(-50%, 100%);
    }

    .animated-span.fade-out-top {
        transform: translate(-50%, -100%);
    }

    .animated-span.fade-in-bottom {
        transform: translate(-50%, 0);
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding: 0 16px;
        gap: 32px;
    }

    .guidor-logo {
        padding: 16px 0;
    }

    .hero-body {
        gap: 24px;
        padding: 0 0 32px 0;
    }

    .hero-text__title {
        gap: 8px;
    }

    .hero-text__title h2 {
        font-size: 28px;
    }

    .hero-text__title p {
        font-size: 13px;
    }

    .hero-text__tablets {
        margin: 20px 0;
        gap: -20px;
        max-height: 300px;
        min-height: 150px;
    }

    .hero-text__tablets img:nth-child(1) {
        height: 60%;
    }

    .hero-text__tablets img:nth-child(2) {
        height: 80%;
        margin: 0 -100px;
    }

    .hero-text__tablets img:nth-child(3) {
        height: 60%;
    }

    .animated-text-container {
        font-size: var(--font-size-2xl);
        height: 1.2em;
    }

    .hero-text__buttons {
        /* flex-direction: column; */
        gap: 12px;
    }

    .hero-text__button {
        padding: 16px 32px;
        min-height: 48px;
    }

    .hero-text__button p {
        font-size: var(--font-size-base);
    }
}

@media (max-width: 375px) {
    .hero-container {
        padding: 0 16px;
        height: 100vh;
        min-height: 80vh;
        gap: 32px;
    }
}