/* Landing Page Styles - Dark Mode (Default) */
/* Light mode styles preserved in comments for future toggle implementation */

.landing-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(136deg, #1A1A1A 21.92%, #0F0F0F 78.08%);
    /* LIGHT MODE: background: var(--color-white); */
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Background gradient with blur effect - Light mode only */
/*
.landing-page::before {
    content: '';
    position: absolute;
    inset: -60px;
    background: linear-gradient(143deg,
        rgba(255, 255, 255, 0.25) 16.28%,
        rgba(206, 239, 255, 0.25) 42.31%,
        rgba(63, 148, 188, 0.25) 70.97%,
        rgba(11, 74, 111, 0.25) 94.74%);
    filter: blur(53.6px);
    pointer-events: none;
}
*/

.landing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Logo */
.landing-logo {
    width: 92px;
    height: 91px;
    margin-bottom: 10px;
}

.landing-logo img,
.landing-logo svg {
    width: 100%;
    height: 100%;
    color: #E3E3E3;
    /* LIGHT MODE: color: #183C50; */
}

/* Title */
.landing-title {
    font-size: 24px;
    font-weight: 400;
    color: #D7D7D7;
    /* LIGHT MODE: color: #364152; */
    padding: 20px 0;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 0;
}

/* Path Selection Grid */
.path-selection {
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: center;
}

/* Path Cards */
.path-card {
    display: flex;
    padding: 20px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex: 1 0 0;
    align-self: stretch;
    border-radius: 15px;
    border: 1px solid #282828;
    background: #1B1B1B;
    box-shadow: 2px 5px 20px 0 rgba(0, 0, 0, 0.60);
    /* LIGHT MODE:
    border: 1px solid #CEEFFF;
    background: #F5FBFF;
    box-shadow: 3px 5px 9.1px 0 rgba(6, 44, 65, 0.30);
    */
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.path-card:hover {
    box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, 0.20), 1px 3px 8px 0 rgba(0, 0, 0, 0.50);
    /* LIGHT MODE: box-shadow: 4px 8px 20px 0 rgba(6, 44, 65, 0.40); */
}

/* Per-path hover styles */
.path-card[data-path="recruiter"]:hover {
    border-color: #875BF7;
}

.path-card[data-path="hiring-manager"]:hover {
    border-color: #66C61C;
}

.path-card[data-path="explorer"]:hover {
    border-color: #2E90FA;
}

/* Card Top Section */
.path-card-top {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    align-items: flex-start;
}

/* Card Icon Wrapper - the box with background and shadow */
.path-card-icon-wrapper {
    display: flex;
    padding: 20px 0;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    border-radius: 7px;
    border: 1px solid #343434;
    background: #202020;
    box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, 0.20), 1px 3px 8px 0 rgba(0, 0, 0, 0.50);
    /* LIGHT MODE:
    border: 1px solid #F5FBFF;
    background: #E9F6FF;
    box-shadow: 1px 1px 2px 0 rgba(11, 74, 111, 0.20), 1px 3px 8px 0 rgba(11, 74, 111, 0.50);
    */
}

/* Card Icon - the actual icon inside the wrapper */
.path-card-icon {
    width: 80px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border-radius: 0;
    margin: 0;
    position: relative;
}

.path-card-icon img,
.path-card-icon svg {
    width: 100%;
    height: 100%;
}

/* Icon hover swap */
.path-card-icon .icon-default,
.path-card-icon .icon-hover {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.path-card-icon .icon-default {
    opacity: 1;
}

.path-card-icon .icon-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.path-card:hover .path-card-icon .icon-default {
    opacity: 0;
}

.path-card:hover .path-card-icon .icon-hover {
    opacity: 1;
}

/* Option Label Container */
.path-card-option {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
    justify-content: center;
    padding-top: 5px;
    width: 100%;
    text-align: center;
}

/* Card Title */
.path-card-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
    color: #FFFFFF;
    /* LIGHT MODE: color: #202939; */
    text-align: center;
    font-family: Poppins, sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0;
}

/* Card Subtitle */
.path-card-subtitle {
    align-self: stretch;
    color: #E3E3E3;
    /* LIGHT MODE: color: #506C7B; */
    text-align: center;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}

/* Content Container (description with dividers) */
.path-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    flex-grow: 1;
    margin-top: 5px;
    margin-bottom: 10px;
}

/* Divider - Double line for dark mode */
.path-card-divider {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1px;
    align-self: stretch;
    width: 100%;
    margin: 5px 0;
}

.path-card-divider::before,
.path-card-divider::after {
    content: '';
    width: 100%;
    height: 1px;
}

.path-card-divider::before {
    background: #000000;
}

.path-card-divider::after {
    background: #282828;
}

/* LIGHT MODE divider (single line):
.path-card-divider {
    width: 100%;
    height: 1px;
    background: #BECBD3;
    margin: 5px 0;
}
*/

/* Card Description */
.path-card-description {
    font-size: 14px;
    font-weight: 400;
    color: #D7D7D7;
    /* LIGHT MODE: color: #3D5C6D; */
    line-height: 1.5;
    text-align: center;
    display: flex;
    align-items: flex-start;
    flex-grow: 1;
    padding: 10px 0;
    margin: 0;
}

/* Button Container */
.path-card-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 10px;
}

/* Card Button */
.path-card .btn {
    display: flex;
    height: 40px;
    padding: 5px 5px 5px 11px;
    justify-content: center;
    align-items: center;
    gap: 5px;
    align-self: stretch;
    border-radius: 8px;
    border: 1px solid #343434;
    background: #0F0F0F;
    box-shadow: 1px 1px 0.5px 0 rgba(0, 0, 0, 0.25), 1px 2px 10px 0 rgba(0, 0, 0, 0.50);
    /* LIGHT MODE:
    background: #062C41;
    box-shadow: 1px 1px 1px 0 rgba(6, 44, 65, 0.25), 2px 3px 8px 0 rgba(6, 44, 65, 0.50);
    */
    color: #FFFFFF;
    text-align: center;
    font-family: Poppins, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.path-card .btn:active {
    transform: translateY(0);
}

.path-card .btn .btn-text-bold {
    color: #FFFFFF;
    font-family: Poppins, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.path-card .btn svg {
    width: 18px;
    height: 18px;
}

.path-card .btn svg path {
    stroke: #7F7F7F;
    /* LIGHT MODE: stroke based on per-path accent colors */
}

/* Button hover styles per path */
.path-card[data-path="recruiter"] .btn:hover {
    border-color: #6927DA;
    background: #2E125E;
    box-shadow: 1px 1px 0.5px 0 rgba(0, 0, 0, 0.25), 1px 2px 10px 0 rgba(0, 0, 0, 0.50);
}

.path-card[data-path="recruiter"] .btn:hover,
.path-card[data-path="recruiter"] .btn:hover .btn-text-bold {
    color: #FFFFFF;
}

.path-card[data-path="recruiter"] .btn:hover svg path {
    stroke: #FFFFFF;
}

.path-card[data-path="hiring-manager"] .btn:hover {
    border-color: #3B7C0F;
    background: #052E1C;
    box-shadow: 1px 1px 0.5px 0 rgba(0, 0, 0, 0.25), 1px 2px 10px 0 rgba(0, 0, 0, 0.50);
}

.path-card[data-path="hiring-manager"] .btn:hover,
.path-card[data-path="hiring-manager"] .btn:hover .btn-text-bold {
    color: #FFFFFF;
}

.path-card[data-path="hiring-manager"] .btn:hover svg path {
    stroke: #FFFFFF;
}

.path-card[data-path="explorer"] .btn:hover {
    border-color: #3D5C6D;
    background: #062C41;
    box-shadow: 1px 1px 0.5px 0 rgba(0, 0, 0, 0.25), 1px 2px 10px 0 rgba(0, 0, 0, 0.50);
}

.path-card[data-path="explorer"] .btn:hover,
.path-card[data-path="explorer"] .btn:hover .btn-text-bold {
    color: #FFFFFF;
}

.path-card[data-path="explorer"] .btn:hover svg path {
    stroke: #FFFFFF;
}

/* Disabled card state */
.path-card.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.path-card.disabled:hover {
    border-color: #282828;
    box-shadow: 2px 5px 20px 0 rgba(0, 0, 0, 0.60);
}

.path-card.disabled .path-card-icon .icon-default {
    opacity: 1;
}

.path-card.disabled .path-card-icon .icon-hover {
    opacity: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .path-selection {
        flex-wrap: wrap;
        max-width: 700px;
    }

    .path-card {
        flex: 1 1 calc(50% - 10px);
        min-width: 280px;
    }

    .path-card:last-child {
        flex: 1 1 100%;
        max-width: 340px;
    }
}

@media (max-width: 600px) {
    .landing-container {
        padding: 16px;
    }

    .landing-logo {
        width: 72px;
        height: 72px;
    }

    .landing-title {
        font-size: 20px;
        padding: 16px 0;
    }

    .path-selection {
        flex-direction: column;
        gap: 16px;
    }

    .path-card {
        flex: 1 1 100%;
        min-width: unset;
        max-width: none;
    }

    .path-card:last-child {
        max-width: none;
    }

    .path-card-icon {
        width: 64px;
        height: 64px;
    }

    .path-card-title {
        font-size: 18px;
    }
}

/* ===========================================
   LIGHT MODE STYLES (preserved for future use)
   ===========================================

.landing-page {
    background: var(--color-white);
}

.landing-page::before {
    content: '';
    position: absolute;
    inset: -60px;
    background: linear-gradient(143deg,
        rgba(255, 255, 255, 0.25) 16.28%,
        rgba(206, 239, 255, 0.25) 42.31%,
        rgba(63, 148, 188, 0.25) 70.97%,
        rgba(11, 74, 111, 0.25) 94.74%);
    filter: blur(53.6px);
    pointer-events: none;
}

.landing-logo img,
.landing-logo svg {
    color: #183C50;
}

.landing-title {
    color: #364152;
}

.path-card {
    border: 1px solid #CEEFFF;
    background: #F5FBFF;
    box-shadow: 3px 5px 9.1px 0 rgba(6, 44, 65, 0.30);
}

.path-card:hover {
    box-shadow: 4px 8px 20px 0 rgba(6, 44, 65, 0.40);
}

.path-card-icon-wrapper {
    border: 1px solid #F5FBFF;
    background: #E9F6FF;
    box-shadow: 1px 1px 2px 0 rgba(11, 74, 111, 0.20), 1px 3px 8px 0 rgba(11, 74, 111, 0.50);
}

.path-card-icon img,
.path-card-icon svg {
    color: #4B87A7;
}

.path-card-title {
    color: #202939;
}

.path-card-subtitle {
    color: #506C7B;
}

.path-card-divider {
    width: 100%;
    height: 1px;
    background: #BECBD3;
    margin: 5px 0;
}

.path-card-description {
    color: #3D5C6D;
}

.path-card .btn {
    background: #062C41;
    box-shadow: 1px 1px 1px 0 rgba(6, 44, 65, 0.25), 2px 3px 8px 0 rgba(6, 44, 65, 0.50);
    color: #F5FBFF;
}

.path-card[data-path="recruiter"] .btn {
    border: 1px solid #875BF7;
}

.path-card[data-path="hiring-manager"] .btn {
    border: 1px solid #85E13A;
}

.path-card[data-path="explorer"] .btn {
    border: 1px solid #36BFFA;
}

*/

/* ===========================================
   EXPLORER PASSWORD AUTHENTICATION STYLES
   =========================================== */

/* Container for password field and button */
.explorer-auth-container {
    display: flex;
    height: 40px;
    align-items: center;
    align-self: stretch;
    position: relative;
}

/* Password input field - hidden by default, reveals when active */
.explorer-password-field {
    position: absolute;
    left: 0;
    right: 45px; /* 40px button + 5px gap */
    height: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.explorer-password-input {
    display: flex;
    width: 100%;
    height: 40px;
    padding: 0 5px 0 10px;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    border: 1px solid var(--Gray-True-750, #414141);
    background: var(--Gray-True-850, #282828);
    color: #E3E3E3;
    font-family: Poppins, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    outline: none;
    box-sizing: border-box;
}

.explorer-password-input::placeholder {
    color: var(--Gray-True-600, #666);
    text-align: left;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* Explorer button - transforms from full width to icon-only */
.explorer-btn {
    display: flex;
    height: 40px;
    padding: 5px 5px 5px 11px;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex: 1;
    border-radius: 8px;
    border: 1px solid #343434;
    background: #0F0F0F;
    box-shadow: 1px 1px 0.5px 0 rgba(0, 0, 0, 0.25), 1px 2px 10px 0 rgba(0, 0, 0, 0.50);
    color: #FFFFFF;
    text-align: center;
    font-family: Poppins, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    cursor: pointer;
    transition: width 0.4s ease, padding 0.4s ease, border-radius 0.4s ease, flex 0.4s ease, border-color 0.2s ease, background-color 0.2s ease;
    margin-left: auto;
}

.explorer-btn .btn-text-bold {
    color: #FFFFFF;
    font-family: Poppins, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.explorer-btn-text {
    white-space: nowrap;
    overflow: hidden;
    transition: opacity 0.3s ease, width 0.4s ease;
}

.explorer-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Explorer button hover state (default) */
.path-card[data-path="explorer"] .explorer-btn:hover {
    border-color: #3D5C6D;
    background: #062C41;
}

.path-card[data-path="explorer"] .explorer-btn:hover svg path {
    stroke: #FFFFFF;
}

/* ===========================================
   EXPLORER ACTIVE STATE (Password Input Mode)
   =========================================== */

.path-card[data-path="explorer"].explorer-active .explorer-password-field {
    opacity: 1;
    pointer-events: auto;
}

.path-card[data-path="explorer"].explorer-active .explorer-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    flex: 0 0 40px;
    border-radius: 5px;
    gap: 0;
}

.path-card[data-path="explorer"].explorer-active .explorer-btn-text {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

/* Active state hover - same as default button hover */
.path-card[data-path="explorer"].explorer-active .explorer-btn:hover {
    border-color: #3D5C6D;
    background: #062C41;
}

.path-card[data-path="explorer"].explorer-active .explorer-btn:hover svg path {
    stroke: #FFFFFF;
}

/* ===========================================
   EXPLORER ERROR STATE (Wrong Password)
   =========================================== */

.path-card[data-path="explorer"].explorer-error {
    border-color: #FF3F3F;
    animation: explorerShake 0.5s ease;
}

.path-card[data-path="explorer"].explorer-error .explorer-password-field {
    opacity: 1;
    pointer-events: auto;
}

.path-card[data-path="explorer"].explorer-error .explorer-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    flex: 0 0 40px;
    border-radius: 5px;
    gap: 0;
    border-color: #FF3F3F;
}

.path-card[data-path="explorer"].explorer-error .explorer-btn-text {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.path-card[data-path="explorer"].explorer-error .explorer-password-input {
    border-color: #FF3F3F;
}

/* Shake animation for error state */
@keyframes explorerShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Fade back transition class */
.path-card[data-path="explorer"].explorer-fade-back {
    transition: border-color 0.8s ease;
}

.path-card[data-path="explorer"].explorer-fade-back .explorer-btn {
    transition: border-color 0.8s ease;
}

.path-card[data-path="explorer"].explorer-fade-back .explorer-password-input {
    transition: border-color 0.8s ease;
}
