/* Shared product explorer and FAQ for the username and email pages. */
.showcase-container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}
.showcase-section {
    padding: 76px 0 28px;
    background: linear-gradient(180deg, #fff 0%, #f7f8ff 100%);
}
.showcase-heading {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
}
.showcase-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5a67d8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.5;
    text-transform: uppercase;
}
.showcase-eyebrow > span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 0 0 4px #eef2ff;
}
.showcase-heading h2 {
    margin: 14px 0 12px;
    color: #172033;
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.2;
}
.showcase-heading > p {
    max-width: 650px;
    margin: 0 auto;
    color: #697386;
    font-size: 15px;
    line-height: 1.85;
}
.feature-explorer {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid #dfe4f4;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 60px rgba(74, 70, 140, .07);
}
.feature-navigation {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 18px;
    border-right: 1px solid #e9ecf7;
    background: linear-gradient(155deg, #fff, #f7f8ff);
}
.feature-tabs { display: grid; gap: 8px; }
.feature-tab {
    width: 100%;
    min-width: 0;
    padding: 17px 14px;
    border: 1px solid transparent;
    border-radius: 16px;
    text-align: left;
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.feature-tab:hover { background: #f0f3ff; }
.feature-tab[aria-selected='true'] {
    border-color: #d9dffc;
    background: linear-gradient(125deg, #eef2ff, #f7f2ff);
    box-shadow: 0 4px 14px rgba(102, 126, 234, .07);
}
.feature-tab-topline { display: flex; align-items: center; gap: 11px; }
.feature-step {
    display: inline-flex;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 1px solid #e1e5f3;
    border-radius: 9px;
    color: #737d92;
    background: #fff;
    font-size: 11px;
    font-weight: 700;
}
.feature-tab[aria-selected='true'] .feature-step {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 3px 8px rgba(102, 126, 234, .18);
}
.feature-tab-label { color: #697386; font-size: 14px; font-weight: 650; line-height: 1.5; }
.feature-tab[aria-selected='true'] .feature-tab-label { color: #4f4c91; }
.feature-tab-arrow { margin-left: auto; color: #8c8ac4; font-size: 11px; opacity: 0; }
.feature-tab[aria-selected='true'] .feature-tab-arrow { opacity: 1; }
.feature-tab-description {
    display: block;
    margin-top: 12px;
    color: #68728a;
    font-size: 12px;
    line-height: 1.85;
}
.feature-tab-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.feature-tab-tags > span {
    padding: 3px 7px;
    border: 1px solid #dfe3fa;
    border-radius: 6px;
    color: #7675a3;
    background: rgba(255, 255, 255, .7);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.5;
}
.feature-tab[aria-selected='false'] .feature-tab-description,
.feature-tab[aria-selected='false'] .feature-tab-tags { display: none; }
.feature-source-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding: 22px 14px 8px;
    color: #8b94a6;
}
.feature-source-note > i { font-size: 13px; }
.feature-source-note p { margin: 0; font-size: 11px; line-height: 1.8; }
.feature-source-note strong { color: #697386; font-weight: 500; }
.feature-stage { min-width: 0; padding: 12px 12px 0; }
.feature-panel { height: 100%; animation: showcaseReveal 220ms ease-out; }
.feature-image-link {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid #e8eafa;
    border-radius: 16px;
    background: #eff1ff;
    cursor: zoom-in;
}
.feature-image-link > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1672 / 941;
    object-fit: contain;
}
.feature-image-expand {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid rgba(213, 218, 246, .9);
    border-radius: 9px;
    color: #5a5a99;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 2px 12px rgba(84, 82, 142, .08);
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(8px);
    transition: color 160ms ease, background-color 160ms ease;
}
.feature-image-link:hover .feature-image-expand { color: #4f46a5; background: #fff; }
.feature-caption { display: flex; align-items: flex-start; gap: 14px; padding: 23px 12px 25px; }
.feature-caption-step {
    padding-top: 3px;
    color: #788297;
    font-size: 11px;
    font-weight: 600;
}
.feature-caption h3 { margin: 0 0 5px; color: #29324a; font-size: 16px; font-weight: 650; line-height: 1.5; }
.feature-caption p { max-width: 650px; margin: 0; color: #68738a; font-size: 12px; line-height: 1.8; }
.showcase-data-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 22px;
    padding: 21px 24px;
    border: 1px solid #e2e6f5;
    border-radius: 18px;
    background: rgba(255, 255, 255, .8);
}
.showcase-data-intro { display: flex; align-items: center; gap: 12px; }
.showcase-data-icon {
    display: flex;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 1px solid #e1e5fc;
    border-radius: 12px;
    color: #7a77be;
    background: #f2f3ff;
    font-size: 14px;
}
.showcase-data-intro h3 { margin: 0; color: #444d68; font-size: 13px; font-weight: 650; }
.showcase-data-intro p { margin: 3px 0 0; color: #788297; font-size: 11px; line-height: 1.5; }
.showcase-data-strip ul { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.showcase-data-strip li { display: flex; align-items: center; gap: 7px; color: #737d93; font-size: 12px; }
.showcase-data-strip li i { color: #9b98cc; font-size: 9px; }
.showcase-data-strip > a { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; color: #7370ad; font-size: 12px; font-weight: 600; }
.showcase-data-strip > a:hover { color: #5a67d8; }
.showcase-faq-section { padding: 70px 0 28px; background: #f8f9fc; }
.showcase-faq-section .showcase-heading { margin-bottom: 26px; }
.showcase-faq-section .showcase-heading h2 { font-size: clamp(26px, 3vw, 34px); }
.faq-explorer { max-width: 850px; margin: 0 auto; }
.faq-tabs {
    display: flex;
    width: fit-content;
    max-width: 100%;
    gap: 4px;
    margin: 0 auto 27px;
    padding: 5px;
    border: 1px solid #e6e9f3;
    border-radius: 13px;
    background: #edf0f7;
}
.faq-tabs > button {
    min-width: 0;
    padding: 9px 22px;
    border-radius: 9px;
    color: #737d92;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    transition: color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}
.faq-tabs > button:hover { color: #5a67d8; }
.faq-tabs > button[aria-selected='true'] { color: #625bac; background: #fff; box-shadow: 0 2px 6px rgba(60, 66, 100, .07); }
.faq-panel { display: grid; gap: 12px; animation: showcaseReveal 200ms ease-out; }
.faq-item { overflow: hidden; border: 1px solid #e3e7f0; border-radius: 15px; background: #fff; }
.faq-item[open] { border-color: #d4dbf9; background: linear-gradient(155deg, #fff, #fcfcff); box-shadow: 0 5px 18px rgba(87, 93, 149, .035); }
.faq-item > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; list-style: none; cursor: pointer; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item h3 { margin: 0; color: #46516a; font-size: 14px; font-weight: 600; line-height: 1.65; }
.faq-item[open] h3 { color: #5f5a9e; }
.faq-toggle-icon { position: relative; display: block; width: 25px; height: 25px; flex: 0 0 auto; border: 1px solid #e8ebf4; border-radius: 8px; color: #8c94ab; background: #f8f9fc; }
.faq-toggle-icon::before, .faq-toggle-icon::after { position: absolute; top: 50%; left: 50%; width: 9px; height: 1.5px; border-radius: 2px; background: currentColor; content: ''; transform: translate(-50%, -50%); transition: opacity 150ms ease; }
.faq-toggle-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-toggle-icon::after { opacity: 0; }
.faq-item[open] .faq-toggle-icon { border-color: #e0e3fa; color: #8078ba; background: #f0effc; }
.faq-answer { padding: 0 70px 23px 22px; }
.faq-answer p { margin: 0; color: #65718a; font-size: 13px; line-height: 1.95; }
.showcase-faq-footer { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; color: #788297; font-size: 12px; }
.showcase-faq-footer a { display: inline-flex; align-items: center; gap: 8px; color: #7771b4; font-weight: 600; }
.showcase-faq-footer a i { font-size: 9px; }
.feature-image-dialog { width: min(1480px, calc(100vw - 48px)); max-width: none; max-height: 92vh; margin: auto; padding: 0; overflow: auto; border: 1px solid #e1e5f5; border-radius: 20px; background: #fff; box-shadow: 0 24px 100px rgba(23, 30, 62, .3); }
.feature-image-dialog::backdrop { background: rgba(20, 25, 48, .65); backdrop-filter: blur(6px); }
.feature-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 20px; border-bottom: 1px solid #e8ebf4; }
.feature-dialog-header h2 { margin: 0; color: #46516a; font-size: 14px; font-weight: 650; line-height: 1.5; }
.feature-dialog-header > div { display: flex; flex: 0 0 auto; align-items: center; gap: 18px; }
.feature-dialog-header a { display: inline-flex; align-items: center; gap: 7px; color: #7168b3; font-size: 12px; font-weight: 600; }
.feature-dialog-header button { width: 32px; height: 32px; border: 1px solid #e1e5f5; border-radius: 9px; color: #7c859a; background: #f8f9ff; }
.feature-dialog-header button:hover { color: #5a67d8; background: #eef2ff; }
#feature-image-full { display: block; width: 100%; max-height: calc(92vh - 65px); object-fit: contain; background: #f4f5ff; }
.feature-tab:focus-visible, .feature-panel:focus-visible, .feature-image-link:focus-visible,
.faq-tabs > button:focus-visible, .faq-item > summary:focus-visible,
.feature-dialog-header a:focus-visible, .feature-dialog-header button:focus-visible { outline: 3px solid #b7bff3; outline-offset: -3px; }
@keyframes showcaseReveal { from { opacity: .55; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1023px) {
    .showcase-section { padding-top: 56px; }
    .feature-explorer { grid-template-columns: minmax(0, 1fr); }
    .feature-navigation { padding: 12px; border-right: 0; border-bottom: 1px solid #e9ecf7; }
    .feature-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    .feature-explorer[data-feature-count="2"] .feature-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature-tab { padding: 12px 10px; text-align: center; }
    .feature-tab-topline { justify-content: center; gap: 8px; }
    .feature-tab-label { font-size: 12px; }
    .feature-step { width: 24px; height: 24px; font-size: 10px; border-radius: 7px; }
    .feature-tab-description, .feature-tab-tags, .feature-source-note, .feature-tab-arrow { display: none; }
    .feature-stage { padding: 12px 12px 0; }
    .showcase-data-strip { flex-wrap: wrap; gap: 18px; }
    .showcase-data-strip ul { order: 3; width: 100%; padding-top: 16px; border-top: 1px solid #ebedf6; }
}
@media (max-width: 639px) {
    .showcase-container { width: calc(100% - 28px); }
    .showcase-section { padding-top: 42px; }
    .showcase-heading { margin-bottom: 26px; }
    .showcase-eyebrow { font-size: 9px; letter-spacing: .1em; }
    .showcase-heading h2 { margin-top: 12px; font-size: 28px; }
    .showcase-heading > p { font-size: 13px; line-height: 1.8; }
    .feature-explorer { border-radius: 19px; }
    .feature-navigation { padding: 8px; }
    .feature-tabs { gap: 4px; }
    .feature-tab { padding: 10px 4px; border-radius: 12px; }
    .feature-tab-topline { flex-direction: column; gap: 6px; }
    .feature-tab-label { max-width: 115px; font-size: 11px; line-height: 1.4; }
    .feature-stage { padding: 8px 8px 0; }
    .feature-image-link { border-radius: 12px; }
    .feature-image-expand { right: 7px; bottom: 7px; padding: 7px; font-size: 10px; }
    .feature-image-expand > span { display: none; }
    .feature-caption { gap: 10px; padding: 17px 6px 20px; }
    .feature-caption h3 { font-size: 14px; }
    .feature-caption p { font-size: 11px; }
    .feature-caption-step { font-size: 10px; }
    .showcase-data-strip { gap: 14px; margin-top: 15px; padding: 17px; border-radius: 16px; }
    .showcase-data-intro h3 { font-size: 12px; }
    .showcase-data-intro p { font-size: 10px; }
    .showcase-data-icon { width: 32px; height: 32px; font-size: 12px; border-radius: 10px; }
    .showcase-data-strip ul { gap: 10px 16px; }
    .showcase-data-strip li, .showcase-data-strip > a { font-size: 10px; }
    .showcase-faq-section { padding: 42px 0 16px; }
    .showcase-faq-section .showcase-heading h2 { font-size: 26px; }
    .faq-tabs { gap: 2px; margin-bottom: 20px; padding: 4px; border-radius: 12px; }
    .faq-tabs > button { padding: 9px 15px; font-size: 11px; }
    .faq-item > summary { gap: 12px; padding: 17px 15px; }
    .faq-item h3 { font-size: 12px; }
    .faq-toggle-icon { width: 23px; height: 23px; border-radius: 7px; }
    .faq-answer { padding: 0 17px 20px; }
    .faq-answer p { font-size: 12px; line-height: 1.9; }
    .feature-image-dialog { width: calc(100vw - 20px); border-radius: 15px; }
    .feature-dialog-header { gap: 12px; padding: 12px; }
    .feature-dialog-header h2 { font-size: 12px; }
    .feature-dialog-header > div { gap: 12px; }
    .feature-dialog-header a { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .feature-panel, .faq-panel { animation: none; }
    .feature-tab, .faq-tabs > button, .feature-image-expand { transition: none; }
}
