/* ===================== */
/* First view */
/* ===================== */
#mv {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100vh;
    overflow: hidden;
}

.mv-container {
    position: relative;
    height: 100%;
    z-index: 3;
}

.mv-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 1.5rem;
    width: 80vw;
    text-shadow: 0 3px 4px rgba(0, 80, 130, 0.3);
    position: relative;
    isolation: isolate;
}

.mv-text::before {
    content: "";
    position: absolute;
    inset: -8px -12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    -webkit-backdrop-filter: blur(10px) saturate(115%);
    backdrop-filter: blur(5px) saturate(110%);
    z-index: -1;
    pointer-events: none;
}

.mv-headline {
    opacity: 0;
}

.mv-sub-headline {
    font-size: clamp(0.95rem, 2.5vw, 1.35rem);
    min-height: 5rem;
    width: 100%;
}

.clip-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

.mv-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    object-fit: cover;
}


.mv-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.2) 6%,
            rgba(0, 0, 0, 0.1) 20%,
            rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
}


/* Animation */
.mv-headline.animate-fade-up {
    animation: fadeUp 1.5s ease-out forwards;
}

.char {
    opacity: 0;
    animation: typeChar 0.05s steps(1) forwards;
}

.cursor {
    display: inline-block;
    margin-left: 4px;
    animation: blink-cursor 1s steps(2, start) infinite;
}


/* Gradient square design  */
/* .button {
    position: relative;
    display: inline-block;
    padding: 1rem 1.5rem;
    color: white;
    background-color: transparent;
    border: 0;
    letter-spacing: 0.1rem;
    transition: color 0.3s ease;
    z-index: 0;
    margin: 15px auto;
}

.button::after {
    content: "";
    position: absolute;
    width: 80%;
    left: 50%;
    height: 1px;
    bottom: 0;
    background: white;
    transform: translate(-50%);
    transition: width 0.2s ease 0.4s, background 0.2s ease;
    z-index: -1;
}

.button span:first-child::before,
.button span:first-child::after,
.button span:last-child::before,
.button span:last-child::after {
    content: "";
    position: absolute;
    background: var(--gradient);
}

.button span:first-child::before,
.button span:first-child::after {
    width: 1px;
    height: 100%;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.button span:first-child::before {
    left: 0;
    top: 0;
    transform-origin: bottom;
}

.button span:first-child::after {
    right: 0;
    top: 0;
    transform-origin: bottom;
}

.button span:last-child::before,
.button span:last-child::after {
    height: 1px;
    width: 100%;
    transform: scaleX(0);
    transition: transform 0.3s ease 0.1s;
}

.button span:last-child::before {
    top: 0;
    left: 0;
    transform-origin: left;
}

.button span:last-child::after {
    bottom: 0;
    left: 0;
    transform-origin: right;
}

.button:hover {
    background-color: white;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: var(--gradient);
}

.button:hover::after {
    width: 100%;
    background: var(--gradient);
}

.button:hover span:first-child::before,
.button:hover span:first-child::after {
    transform: scaleY(1);
}

.button:hover span:last-child::before,
.button:hover span:last-child::after {
    transform: scaleX(1);
}

.button:focus {
    outline: none;
    color: white;
    background: var(--gradient);
}

.button:focus span::before,
.button:focus span::after {
    transform: scale(0);
    transition: none;
    background: white;
}

.button:focus::after {
    opacity: 0;
} */


/* ===================== */
/* Product Section */
/* ===================== */

/* Intro */
.intro-content {
    padding: 120px 0;
    text-align: center;
}

.intro-content p {
    padding-top: 40px;
}

.intro-word {
    position: relative;
    display: inline-block;
    margin: 0 20px;
}

.intro-word::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 1px;
    width: 100%;
    height: 1px;
    background: var(--gradient);
}


/* Benefit Contents */
.benefit-container {
    position: relative;
    z-index: 0;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

#organized,
#actionable {
    position: relative;
    z-index: 0;
}

#organized::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    background: var(--gradient);
    transform: skewY(-10deg);
    z-index: -1;
    opacity: 0.3;
}

#actionable::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: calc(50% - 50vw);
    left: calc(50% - 50vw);
    background: var(--gradient-bg);
    transform: skewY(10deg);
    z-index: -1;
    opacity: 0.3;
}

.product-benefit-block {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
}


.product-benefit-block:first-of-type {
    margin-top: 60px;
}

.product-benefit-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    padding: 10px 15px;
    position: relative;
    isolation: isolate;
    z-index: 0;
}

.product-benefit-image {
    position: relative;
    display: inline-block;
    width: 100%;
    height: auto;
    min-height: 250px;
    margin: 0 auto;
    overflow: visible;
}

.product-benefit-image img {
    width: 100%;
    height: auto;
    margin: auto;
    display: block;
    position: relative;
    z-index: 2;
}


/* Product Benefit phone images */
.slide-container {
    position: relative;
    width: 100%;
    height: 350px;
}

.slide-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: 100%;
    transition: opacity 0.8s ease-in-out;
    opacity: 0;
}

.slide-container img.active {
    opacity: 1;
    z-index: 2;
}

.slide-indicators {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-indicators .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 6px;
    border-radius: 50%;
    background-color: #ccc;
    transition: background-color 0.3s;
}

.slide-indicators .dot.active {
    background: var(--gradient);
}


/* Product Benefit Block Button */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .5em;
    color: var(--sub-color);
    text-decoration: none;
    margin: 2rem 0;
}

.btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: var(--gradient-bg);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform .3s ease;
}

.btn:hover::after,
.btn:focus-visible::after {
    transform: scaleX(1);
}

.btn-icon {
    display: inline-block;
    font-size: 1.8rem;
    margin-right: .5rem;
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
    transform: rotate(-30deg);
}

.btn:hover .btn-icon,
.btn:focus-visible .btn-icon {
    transform: rotate(0deg) translateY(-1px);
}

.btn-text {
    text-shadow: 0 2px 1px rgb(183, 225, 255);
}


/* Benefit Background Title */
.benefit-bg-title {
    font-size: clamp(3rem, 18vw, 8rem);
    position: fixed;
    top: 10%;
    left: 0;
    transform-origin: left top;
    font-weight: 900;
    color: rgba(120, 120, 120, 0.7);
    pointer-events: none;
    z-index: 0;
    transition: all 0.5s ease;
    font-family: 'Lato', sans-serif;
    white-space: nowrap;
    opacity: 0;
}

.benefit-bg-title.animate {
    animation: zoomIn 1.2s ease forwards;
}


/* List Styles in benefit block */
.product-benefit-text ul {
    list-style-position: inside;
}


.product-benefit-text li {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.product-benefit-text ul li::before {
    content: "";
    position: absolute;
    top: .1em;
    left: .3rem;
    transform: rotate(50deg);
    width: 8px;
    height: 14px;
    border-right: 2px solid var(--sub-color);
    border-bottom: 2px solid var(--sub-color);
}

/* ===================== */
/* FAQ Section Styles    */
/* ===================== */
#faq {
    position: relative;
    z-index: 2;
}

.faq-container {
    max-width: 1200px;
    margin: 240px auto 100px;
}

.faq-title {
    color: var(--text-color);
    margin-top: 60px;
    text-align: center;
    margin-bottom: 2rem;
}

.faq-category {
    margin-bottom: 1.5rem;
}

.faq-category_toggle {
    width: 100%;
    text-align: left;
    background-color: #f1f1f1;
    padding: 1rem;
    font-weight: bold;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-category-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-category_content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0;
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
    overflow: hidden;
}

.faq-item_question {
    background: none;
    border: none;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
}

.faq-icon {
    color: var(--sub-color);
    font-weight: bold;
    margin-right: 0.6rem;
}

.faq-text {
    color: var(--text-color);
    flex: 1;
    text-align: left;
}

.faq-toggle-icon {
    font-size: 1.5rem;
    color: var(--text-color);
}

.faq-item_answer {
    color: var(--text-color);
    max-height: 0;
    overflow: hidden;
    padding: 0 1rem;
    transition: max-height 0.4s ease, padding 0.3s ease;
    font-weight: lighter;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.faq-item_answer.open {
    padding: 1rem;
    max-height: 800px !important;
}

.faq-item_answer a {
    color: var(--sub-color);
    text-decoration: underline;
    font-weight: 500;
    font-size: inherit;
    padding: 0 0.3rem;
}


/* Company overview page */
.company-info {
    display: block;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 90px;
    height: 100vh;
}

.company-info-text h1 {
    padding-top: 2rem;
    text-shadow: 0 3px 4px rgba(0, 80, 130, 0.3);
}

.company-info-text p {
    line-height: 1.7;
    padding: 1.2rem 0;
}

.company-info-detail {
    margin-top: 2rem;
    padding: 0;
    display: grid;
    grid-template-columns: max-content 1fr;
    row-gap: .5rem;
    column-gap: .8rem;
}

.company-info-detail dt {
    font-weight: 600;
}

.company-info-detail a {
    text-decoration: underline;
    font-weight: 500;
    padding: 0 5px;
}




/* ===================== */
/* Responsive (Tablet and Up) */
/* ===================== */
@media screen and (min-width: 600px) {

    /* main visual */
    .mv-text::before {
        content: none;
    }

    .clip-wrapper {
        right: 0;
        left: auto;
        width: 55vw;
        clip-path: polygon(28% 0%, 100% 0%, 72% 100%, 0% 100%);
        backdrop-filter: blur(4px);
        background-color: rgba(12, 35, 108, 0.1);
        animation: noiseReveal 1.5s ease-out forwards;
    }

    .mv-video {
        top: 0;
    }

    .mv-overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 70%, rgba(0, 0, 0, 0.05) 100%);
    }

}

@media screen and (min-width: 768px) {

    /* main visual */
    .only-sp {
        display: none;
    }


    /* product */
    .benefit-container {
        gap: 80px;
        margin-bottom: 120px;
    }

    .product-benefit-block {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        min-height: 750px;
    }

    .product-benefit-block.reverse {
        flex-direction: row-reverse;
    }

    .product-benefit-image {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 500px;
    }


    /* Company overview page */
    .company-info-text {
        padding: 8rem 0;
    }
}

@media screen and (min-width: 1024px) {
    .slide-container {
        height: 450px;
    }
}