/* ========================================
   Sub Pages Specific Styles
   ======================================== */

/* ========================================
   Feature Card Styles (Sub Pages Only)
   ======================================== */
.feature-card {
    border: 1px solid #ECE7E1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ========================================
   Flow Step Styles (Sub Pages Only)
   ======================================== */
.flow-step {
    position: relative;
    padding-left: 60px;
}

.flow-step::before {
    content: attr(data-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: #917A64;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
}

.flow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 50px;
    width: 2px;
    height: calc(100% - 40px);
    background: #ECE7E1;
}

#flow .flow-step {
    position: relative;
    padding-left: 3.75rem
}

#flow .flow-step::before {
    content: attr(data-step);
    position: absolute;
    left: 0;
    top: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: grid;
    place-items: center;
    font-family: ui-sans-serif, system-ui;
    font-weight: 700;
    background: linear-gradient(to bottom, #111, #6b7280);
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .08), 0 4px 6px -4px rgba(0, 0, 0, .08)
}

#flow .flow-step::after {
    content: "";
    position: absolute;
    left: 1.25rem;
    top: 3.5rem;
    bottom: -1.25rem;
    width: 2px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .0), rgba(0, 0, 0, .08), rgba(0, 0, 0, .0))
}

#flow .flow-step:last-child::after {
    display: none
}

@media (min-width:768px) {
    #flow .flow-step {
        padding-left: 4rem
    }

    #flow .flow-step::before {
        left: .25rem
    }
}

/* ========================================
   Q&A Accordion Styles (Sub Pages Only)
   ======================================== */
.qa-item {
    border-bottom: 1px solid #ECE7E1;
}

.qa-question {
    cursor: pointer;
    transition: color 0.3s ease;
}

.qa-question:hover {
    color: #917A64;
}

.qa-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.qa-item.active .qa-answer {
    max-height: 500px;
    padding: 16px 0;
}

.qa-icon {
    transition: transform 0.3s ease;
}

.qa-item.active .qa-icon {
    transform: rotate(45deg);
}

/* ========================================
   Curtain Transition (Sub Pages Only)
   ======================================== */
.curtain-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 1;
    pointer-events: none;
}

.curtain-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #EFEFEF;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}