﻿/*==============================================
    Explore Tabs â€” "What are you looking for?"
===============================================*/
.corp-explore {
    position: relative;
    display: block;
    padding: 110px 0 120px;
    background: linear-gradient(180deg, #f6f8f2 0%, #ffffff 55%, #f9fbf6 100%);
    overflow: hidden;
    z-index: 1;
}

.corp-explore__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(17, 17, 17, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 17, 17, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
    pointer-events: none;
}

.corp-explore__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.corp-explore__orb--one {
    width: 280px;
    height: 280px;
    top: 8%;
    left: -80px;
    background: rgba(var(--corp-accent-rgb), 0.35);
}

.corp-explore__orb--two {
    width: 220px;
    height: 220px;
    bottom: 10%;
    right: -60px;
    background: rgba(17, 17, 17, 0.06);
}

.corp-explore .corp-heading__title {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.corp-explore__tabs-wrap {
    margin-top: 48px;
    margin-bottom: 32px;
}

.corp-explore__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.corp-explore__tab {
    position: relative;
    border: 1px solid rgba(17, 17, 17, 0.08);
    background: var(--corp-white);
    color: var(--corp-dark);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    padding: 14px 22px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.35s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.04);
}

.corp-explore__tab-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: rgba(17, 17, 17, 0.06);
    color: var(--corp-dark);
    transition: all 0.35s ease;
}

.corp-explore__tab:hover,
.corp-explore__tab:focus-visible {
    border-color: rgba(var(--corp-accent-rgb), 0.55);
    transform: translateY(-2px);
}

.corp-explore__tab.active {
    background: var(--corp-dark);
    border-color: var(--corp-dark);
    color: var(--corp-white);
    box-shadow: 0 16px 40px rgba(17, 17, 17, 0.14);
}

.corp-explore__tab.active .corp-explore__tab-num {
    background: var(--corp-accent);
    color: var(--corp-dark);
}

.corp-explore__stage {
    position: relative;
    min-height: 420px;
}

.corp-explore__panel {
    display: none;
    animation: corpExploreFade 0.45s ease;
}

.corp-explore__panel.active {
    display: block;
}

@keyframes corpExploreFade {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.corp-explore__card {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 0;
    background: var(--corp-white);
    border-radius: 28px;
    overflow: hidden;
    box-shadow:
        0 24px 60px rgba(17, 17, 17, 0.08),
        0 0 0 1px rgba(17, 17, 17, 0.05);
}

.corp-explore__card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--corp-accent) 0%, rgba(var(--corp-accent-rgb), 0.35) 100%);
    z-index: 2;
}

.corp-explore__content {
    padding: 52px 48px 52px 56px;
}

.corp-explore__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--corp-dark);
    margin-bottom: 18px;
}

.corp-explore__label-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--corp-accent);
}

.corp-explore__title {
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.25;
    font-weight: 700;
    color: var(--corp-dark);
    margin-bottom: 22px;
}

.corp-explore__text {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(17, 17, 17, 0.72);
    margin-bottom: 16px;
}

.corp-explore__text:last-of-type {
    margin-bottom: 28px;
}

.corp-explore__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.corp-explore__visual {
    position: relative;
    min-height: 420px;
    background: linear-gradient(145deg, #eef6dc 0%, #f8fbf2 45%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow: hidden;
}

.corp-explore__visual-ring {
    position: absolute;
    width: 320px;
    height: 320px;
    border: 1px dashed rgba(17, 17, 17, 0.12);
    border-radius: 50%;
    animation: corpExploreSpin 28s linear infinite;
}

.corp-explore__visual-ring--inner {
    width: 220px;
    height: 220px;
    animation-direction: reverse;
    animation-duration: 18s;
}

@keyframes corpExploreSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.corp-explore__visual-blob {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 42% 58% 54% 46% / 52% 42% 58% 48%;
    background: rgba(var(--corp-accent-rgb), 0.28);
    filter: blur(2px);
}

.corp-explore__chips {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.corp-explore__chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--corp-white);
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 999px;
    padding: 14px 22px;
    font-size: 15px;
    font-weight: 600;
    color: var(--corp-dark);
    box-shadow: 0 10px 28px rgba(17, 17, 17, 0.08);
}

.corp-explore__chip-icon {
    font-size: 18px;
    color: var(--corp-dark);
    line-height: 1;
}

@media (max-width: 991px) {
    .corp-explore {
        padding: 80px 0 90px;
    }

    .corp-explore__card {
        grid-template-columns: 1fr;
    }

    .corp-explore__content {
        padding: 40px 32px 36px 40px;
    }

    .corp-explore__visual {
        min-height: 300px;
        padding: 32px 24px 48px;
    }

    .corp-explore__tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .corp-explore__tabs::-webkit-scrollbar {
        display: none;
    }

    .corp-explore__tab {
        flex-shrink: 0;
        font-size: 14px;
        padding: 12px 18px;
    }
}

@media (max-width: 575px) {
    .corp-explore__content {
        padding: 32px 24px 28px 32px;
    }

    .corp-explore__title {
        font-size: 22px;
    }

    .corp-explore__chips {
        align-items: center;
    }

    .corp-explore__chip {
        padding: 12px 18px;
        font-size: 14px;
    }
}


/* Share Idea Modal */
.corp-share-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.corp-share-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.corp-share-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 12, 8, 0.72);
    backdrop-filter: blur(8px);
}

.corp-share-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: var(--corp-white);
    border-radius: 28px;
    padding: 36px 36px 32px;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    transform: translateY(24px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.corp-share-modal.is-open .corp-share-modal__dialog {
    transform: translateY(0) scale(1);
}

.corp-share-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(17, 17, 17, 0.06);
    color: var(--corp-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
    z-index: 2;
}

.corp-share-modal__close:hover {
    background: rgba(var(--corp-accent-rgb), 0.35);
    transform: rotate(90deg);
}

.corp-share-modal__header {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 28px;
    padding-right: 36px;
}

.corp-share-modal__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--corp-accent) 0%, rgba(var(--corp-accent-rgb), 0.55) 100%);
    color: var(--corp-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 12px 28px rgba(var(--corp-accent-rgb), 0.35);
}

.corp-share-modal__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.5);
    margin-bottom: 4px;
}

.corp-share-modal__title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--corp-dark);
    margin-bottom: 6px;
}

.corp-share-modal__subtitle {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(17, 17, 17, 0.62);
    margin: 0;
}

.corp-share-modal__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 22px;
}

.corp-share-modal__field {
    position: relative;
}

.corp-share-modal__field--full {
    grid-column: 1 / -1;
}

.corp-share-modal__field input,
.corp-share-modal__field textarea {
    width: 100%;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 14px;
    background: #fafbf8;
    padding: 22px 16px 10px;
    font-size: 15px;
    color: var(--corp-dark);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.corp-share-modal__field textarea {
    min-height: 120px;
    resize: vertical;
}

.corp-share-modal__field label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: rgba(17, 17, 17, 0.55);
    pointer-events: none;
    transition: all 0.2s ease;
    background: transparent;
    padding: 0 4px;
}

.corp-share-modal__field--full label {
    top: 22px;
    transform: none;
}

.corp-share-modal__field label span {
    color: #e05252;
}

.corp-share-modal__field input:focus,
.corp-share-modal__field textarea:focus,
.corp-share-modal__field input:not(:placeholder-shown),
.corp-share-modal__field textarea:not(:placeholder-shown) {
    outline: none;
    border-color: rgba(var(--corp-accent-rgb), 0.85);
    background: var(--corp-white);
    box-shadow: 0 0 0 4px rgba(var(--corp-accent-rgb), 0.18);
}

.corp-share-modal__field input:focus + label,
.corp-share-modal__field textarea:focus + label,
.corp-share-modal__field input:not(:placeholder-shown) + label,
.corp-share-modal__field textarea:not(:placeholder-shown) + label {
    top: 8px;
    transform: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--corp-dark);
}

.corp-share-modal__field--full input:focus + label,
.corp-share-modal__field--full textarea:focus + label,
.corp-share-modal__field--full input:not(:placeholder-shown) + label,
.corp-share-modal__field--full textarea:not(:placeholder-shown) + label {
    top: 8px;
}

.corp-share-modal__alert {
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    margin-bottom: 16px;
}

.corp-share-modal__alert--error {
    background: #fff0f0;
    color: #b42318;
    border: 1px solid #fecaca;
}

.corp-share-modal__submit {
    width: 100%;
    justify-content: center;
    border: none;
    font-size: 16px;
    padding: 16px 24px;
    border-radius: 999px;
}

.corp-share-modal__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.corp-share-modal__success {
    text-align: center;
    padding: 24px 8px 8px;
}

.corp-share-modal__success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--corp-accent);
    color: var(--corp-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.corp-share-modal__success h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.corp-share-modal__success p {
    color: rgba(17, 17, 17, 0.65);
    margin-bottom: 22px;
}

.corp-share-modal__done {
    min-width: 140px;
    justify-content: center;
}

body.corp-share-modal-open {
    overflow: hidden;
}

@media (max-width: 575px) {
    .corp-share-modal {
        padding: 12px;
        align-items: flex-end;
    }

    .corp-share-modal__dialog {
        padding: 28px 22px 24px;
        border-radius: 24px 24px 0 0;
        max-height: 92vh;
    }

    .corp-share-modal__fields {
        grid-template-columns: 1fr;
    }

    .corp-share-modal__header {
        flex-direction: column;
        padding-right: 0;
    }
}

.corp-explore__steps {
    margin: 0 0 28px;
    padding: 0;
}

.corp-explore__steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 16px;
    color: rgba(17, 17, 17, 0.78);
}

.corp-explore__step-marker {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--corp-accent);
    flex-shrink: 0;
}
