/* Explain: UI component styles for header, cards, and FAQ sections. */
.site-header {
    background: linear-gradient(180deg, rgba(252, 231, 243, 0.94), rgba(252, 231, 243, 0.66));
    backdrop-filter: blur(18px);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sage-dark);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    width: 2.4rem;
    height: 1px;
    background: var(--accent-color);
    content: "";
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(252, 231, 243, 0.62));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.arch-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(190, 24, 93, 0.3);
    background: var(--background-color);
    box-shadow: var(--shadow-soft);
}

.arch-frame::after {
    position: absolute;
    inset: 1.1rem;
    border: 1px solid rgba(250, 249, 246, 0.62);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.arch-frame-large {
    height: min(70vh, 620px);
    min-height: 460px;
    border-radius: 999px 999px 2.5rem 2.5rem;
}

.arch-frame-medium {
    height: 560px;
    max-width: 430px;
    border-radius: 999px 999px 2.1rem 2.1rem;
}

.rect-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(190, 24, 93, 0.3);
    background: var(--background-color);
    box-shadow: var(--shadow-soft);
    border-radius: 2rem;
}

.rect-frame-large {
    width: 100%;
    height: min(70vh, 620px);
    min-height: 420px;
}

@media (max-width: 767px) {
    .rect-frame-large {
        height: auto;
        aspect-ratio: 4 / 3;
        min-height: 0;
    }
}

.account-card {
    border-radius: 2rem;
    padding: 1.4rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.account-card:hover {
    border-color: rgba(190, 24, 93, 0.5);
    box-shadow: 0 26px 80px rgba(59, 10, 34, 0.14);
    transform: translateY(-6px);
}

.step-card,
.feature-card,
.trust-item {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, 0.78);
    padding: 1.5rem;
    height: 100%;
}

.step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 1rem;
    background: var(--sage-soft);
    color: var(--sage-dark);
    font-size: 1.1rem;
}

.soft-chip {
    border-radius: 999px;
    background: var(--sage-soft);
    padding: 0.35rem 0.85rem;
    color: var(--sage-dark);
    font-size: 0.72rem;
    font-weight: 700;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    font-weight: 900;
    color: var(--primary-color);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.form-status.success {
    color: #4A6B53;
}

.form-status.error {
    color: #9B4A3D;
}

.faq-item {
    border: 1px solid var(--glass-border);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.78);
    padding: 1.1rem 1.4rem;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f078";
    color: var(--accent-color);
    transition: transform 300ms ease;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item p {
    margin-top: 0.85rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.6rem;
    }

    .arch-frame-large,
    .arch-frame-medium {
        height: 420px;
        min-height: 0;
    }

    .arch-frame-large {
        margin-right: auto;
        margin-left: auto;
        width: min(100%, 430px);
    }
}