body.experience-page {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(1200px 700px at 5% -20%, rgba(26, 138, 229, 0.24), transparent 55%),
        radial-gradient(900px 540px at 100% 0%, rgba(77, 166, 240, 0.2), transparent 45%),
        var(--dark);
    color: var(--gray-300);
    overflow-x: hidden;
}

body.experience-page,
body.experience-page * {
    box-sizing: border-box;
}

.xp-nav {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.25rem 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.xp-nav-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.xp-nav-logo-img {
    height: clamp(86px, 10vw, 136px);
    width: auto;
    max-width: min(82vw, 560px);
}

.xp-nav-back,
.xp-nav-contact {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    color: var(--gray-300);
    border: 1px solid var(--dark-border);
    background: rgba(17, 24, 39, 0.7);
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    white-space: nowrap;
    transition: var(--transition);
}

.xp-nav-back:hover,
.xp-nav-contact:hover {
    border-color: var(--primary);
    color: var(--white);
}

.xp-shell {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 0.75rem 0 3.5rem;
}

.xp-intro,
.xp-wizard {
    border: 1px solid var(--dark-border);
    background: rgba(20, 28, 46, 0.88);
    border-radius: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.xp-intro {
    padding: clamp(1.25rem, 2vw, 2.2rem);
    max-width: 920px;
}

.xp-intro h1 {
    margin: 0.75rem 0 0.85rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--white);
    line-height: 1.13;
    font-size: clamp(1.7rem, 3.9vw, 3.05rem);
}

.xp-intro p {
    margin: 0;
    max-width: 760px;
    color: var(--gray-400);
    line-height: 1.65;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

.xp-intro-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 1.5rem;
    display: grid;
    gap: 0.65rem;
}

.xp-intro-list li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--gray-300);
    font-size: 0.95rem;
}

.xp-intro-list i {
    color: var(--primary-light);
}

.xp-start {
    min-width: 230px;
}

.xp-wizard {
    padding: clamp(1rem, 2vw, 1.7rem);
}

.xp-wizard-head {
    margin-bottom: 1rem;
}

.xp-progress-text {
    color: var(--gray-500);
    font-size: 0.83rem;
    margin-bottom: 0.45rem;
}

.xp-progress-track {
    width: 100%;
    background: var(--dark-3);
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
}

.xp-progress-track span {
    display: block;
    width: 16.666%;
    height: 100%;
    background: var(--gradient);
    border-radius: inherit;
    transition: width 0.25s ease;
}

.xp-guidance {
    margin: 0.65rem 0 0;
    color: var(--gray-400);
    font-size: 0.92rem;
}

.xp-question-card {
    border: 1px solid var(--dark-border);
    border-radius: 18px;
    background: var(--dark-card);
    padding: clamp(1rem, 2.2vw, 1.6rem);
}

.xp-question-card h2 {
    margin: 0;
    font-family: var(--font-display);
    color: var(--white);
    line-height: 1.2;
    font-size: clamp(1.25rem, 2.2vw, 1.8rem);
}

.xp-question-card > p {
    margin: 0.55rem 0 1rem;
    color: var(--gray-400);
    font-size: 0.95rem;
}

.xp-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.xp-options button {
    border: 1px solid rgba(26, 138, 229, 0.16);
    background: var(--dark-3);
    color: var(--gray-300);
    border-radius: 12px;
    min-height: 56px;
    padding: 0.7rem 0.8rem;
    text-align: left;
    line-height: 1.35;
    font-size: 0.93rem;
    transition: var(--transition);
}

.xp-options button:hover,
.xp-options button.active {
    border-color: rgba(26, 138, 229, 0.42);
    background: rgba(26, 138, 229, 0.14);
    color: var(--white);
}

.xp-controls {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    gap: 0.7rem;
}

.xp-controls .btn {
    min-width: 150px;
    justify-content: center;
}

.xp-result {
    margin-top: 1rem;
    border: 1px solid rgba(26, 138, 229, 0.28);
    background: linear-gradient(145deg, rgba(26, 138, 229, 0.16), rgba(20, 28, 46, 0.96));
    border-radius: 18px;
    padding: clamp(1rem, 2vw, 1.4rem);
}

.xp-result h3 {
    margin: 0 0 0.4rem;
    color: var(--white);
    font-family: var(--font-display);
    font-size: clamp(1.22rem, 2.2vw, 1.65rem);
}

.xp-result p {
    margin: 0;
    color: var(--gray-300);
    line-height: 1.6;
}

.xp-result .result-tags {
    margin: 0.95rem 0 1.1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.xp-result .result-tags span {
    padding: 0.42rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(10, 15, 28, 0.48);
    font-size: 0.8rem;
    color: var(--gray-200);
}

.xp-result .btn {
    width: 100%;
    justify-content: center;
}

.xp-contact {
    position: relative;
    margin-top: 1rem;
    border: 1px solid var(--dark-border);
    border-radius: 18px;
    background: rgba(10, 15, 28, 0.72);
    padding: clamp(1rem, 2vw, 1.5rem);
}

.xp-contact-frame {
    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.xp-contact.is-locked .xp-contact-frame {
    filter: blur(12px);
    opacity: 0.28;
    pointer-events: none;
    user-select: none;
    transform: scale(0.99);
}

.xp-contact-head h3 {
    margin: 0;
    color: var(--white);
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.xp-contact-head p {
    margin: 0.55rem 0 0;
    color: var(--gray-400);
    line-height: 1.6;
}

.xp-contact-summary {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.xp-contact-summary div {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(17, 24, 39, 0.82);
    padding: 0.85rem 0.95rem;
}

.xp-contact-summary span {
    display: block;
    color: var(--gray-500);
    font-size: 0.78rem;
    margin-bottom: 0.2rem;
}

.xp-contact-summary strong {
    color: var(--white);
    font-size: 0.95rem;
    line-height: 1.35;
}

.xp-contact-note {
    margin: 0.9rem 0 0;
    color: var(--primary-light);
    font-size: 0.9rem;
}

.xp-contact-form {
    margin-top: 1rem;
}

.xp-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.xp-contact-grid label {
    color: var(--gray-300);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
}

.xp-contact-grid-full {
    grid-column: 1 / -1;
}

.xp-contact-grid input,
.xp-contact-grid select,
.xp-contact-grid textarea {
    width: 100%;
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    background: var(--dark-3);
    color: var(--white);
    padding: 0.8rem 0.85rem;
    font: inherit;
}

.xp-contact-grid textarea {
    resize: vertical;
    min-height: 132px;
}

.xp-contact-grid input:focus,
.xp-contact-grid select:focus,
.xp-contact-grid textarea:focus {
    outline: none;
    border-color: rgba(26, 138, 229, 0.58);
    box-shadow: 0 0 0 3px rgba(26, 138, 229, 0.12);
}

.xp-contact-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

.xp-contact-actions .btn {
    min-width: 220px;
    justify-content: center;
}

.xp-form-success {
    margin-top: 1rem;
    border: 1px solid rgba(26, 138, 229, 0.28);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(26, 138, 229, 0.16), rgba(20, 28, 46, 0.92));
    padding: 1rem 1.1rem;
    text-align: center;
}

.xp-form-success i {
    color: var(--primary-light);
    font-size: 1.6rem;
    margin-bottom: 0.45rem;
}

.xp-form-success h4 {
    margin: 0;
    color: var(--white);
    font-size: 1.05rem;
}

.xp-form-success p {
    margin: 0.45rem 0 0;
    color: var(--gray-300);
    line-height: 1.6;
}

.xp-contact-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 4;
}

.xp-contact-overlay[hidden] {
    display: none;
}

.xp-contact-overlay-card {
    width: min(560px, 100%);
    border: 1px solid rgba(26, 138, 229, 0.28);
    border-radius: 20px;
    background: rgba(9, 13, 23, 0.96);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
    padding: clamp(1.1rem, 2vw, 1.5rem);
    text-align: center;
}

.xp-contact-overlay-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 0.9rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(26, 138, 229, 0.28), rgba(77, 166, 240, 0.22));
    color: var(--white);
    font-size: 1.35rem;
}

.xp-contact-overlay-card h4 {
    margin: 0;
    color: var(--white);
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.xp-contact-overlay-card p {
    margin: 0.65rem 0 0;
    color: var(--gray-300);
    line-height: 1.65;
}

.xp-overlay-append {
    margin-top: 1rem;
    text-align: left;
}

.xp-overlay-append label {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    color: var(--gray-200);
    font-size: 0.9rem;
}

.xp-overlay-append textarea {
    width: 100%;
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    background: var(--dark-3);
    color: var(--white);
    padding: 0.8rem 0.85rem;
    font: inherit;
    resize: vertical;
    min-height: 120px;
}

.xp-overlay-append textarea:focus {
    outline: none;
    border-color: rgba(26, 138, 229, 0.58);
    box-shadow: 0 0 0 3px rgba(26, 138, 229, 0.12);
}

.xp-overlay-actions {
    margin-top: 1.1rem;
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.xp-overlay-actions .btn {
    min-width: 180px;
    justify-content: center;
}

@media (max-width: 920px) {
    .xp-options,
    .xp-contact-summary,
    .xp-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (hover: none), (pointer: coarse) {
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }

    .xp-options button {
        min-height: 64px;
        padding: 0.9rem 0.95rem;
        font-size: 0.98rem;
        border-color: rgba(26, 138, 229, 0.28);
    }

    .xp-options button:active {
        transform: scale(0.985);
    }

    .xp-options button.active {
        box-shadow: 0 8px 24px rgba(26, 138, 229, 0.24);
    }

    .xp-controls {
        position: sticky;
        bottom: calc(env(safe-area-inset-bottom) + 0.5rem);
        z-index: 6;
        padding: 0.6rem;
        border: 1px solid rgba(26, 138, 229, 0.2);
        border-radius: 14px;
        background: rgba(10, 15, 28, 0.88);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .xp-controls .btn {
        min-height: 52px;
    }
}

@media (max-width: 640px) {
    .xp-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.85rem;
    }

    .xp-nav-logo-img {
        height: clamp(68px, 19vw, 102px);
        max-width: min(92vw, 420px);
    }

    .xp-nav-back,
    .xp-nav-contact {
        position: static;
        transform: none;
        order: 2;
    }

    .xp-nav-brand {
        order: -1;
        width: 100%;
        justify-content: center;
    }

    .xp-nav-back,
    .xp-nav-contact {
        width: 100%;
        justify-content: center;
    }

    .xp-controls {
        flex-direction: column;
    }

    .xp-controls .btn {
        width: 100%;
    }

    .xp-contact-actions .btn {
        width: 100%;
    }

    .xp-overlay-actions {
        flex-direction: column;
    }

    .xp-overlay-actions .btn {
        width: 100%;
    }
}
