/* ==========================================================================
   Semantic Component Styles
   - UI/UX 디자이너 지침에 맞춰 style-inline-X 임시 클래스를 시맨틱 클래스로 정돈한 파일입니다.
   - common.css에 이어서 로드되어 깔끔한 시맨틱 디자인을 완성합니다.
   ========================================================================== */

/* 00. Landing Page */
.landing-card {
    text-align: center;
    padding: 4rem 2rem 5rem;
    margin-top: 1rem;
}
.landing-logo {
    display: block;
    margin: 0 auto 1.8rem;
    max-width: 220px;
    height: auto;
}
.landing-title {
    margin-bottom: 1.2rem;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}
.landing-subtitle {
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
.landing-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 3.5rem;
    text-align: left;
}
.feature-card-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature-card-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}
.feature-title {
    margin: 0.6rem 0 0.4rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
}
.feature-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}
.landing-start-btn {
    font-size: 1.15rem;
    font-weight: bold;
    border-radius: 50px;
    padding: 1.1rem 3rem;
    cursor: pointer;
}

/* 01. Form & Inputs */
.step-heading {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fff;
}
.form-info-note {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 0.4rem;
    line-height: 1.4;
}
.form-block {
    margin-bottom: 2rem;
}
.form-subgrid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
}
.input-row-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-top: 1rem;
}
.form-subtitle-wrapper {
    margin-top: 2.2rem;
    margin-bottom: 1rem;
}
.choice-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}
.choice-card-header {
    font-weight: 800;
    color: #dbb44d;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}
.choice-select {
    width: 100%;
}
.choice-input-group {
    margin-top: 0.8rem;
}
.other-job-input {
    margin-top: 0.5rem;
}
.step-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.5rem;
    gap: 1rem;
}

/* 02. Test Questions (Text-based cards without emojis) */
.question-container {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 2rem auto;
    width: 100%;
}
.question-header {
    text-align: center;
    margin-bottom: 2.2rem;
    width: 100%;
}
.question-index {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent-purple);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.6rem;
}
.question-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.45;
    max-width: 680px;
    margin: 0 auto;
    word-break: keep-all;
    text-align: center;
}
.test-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 750px;
    margin: 1.5rem auto 0;
    justify-content: center;
}
@media (max-width: 640px) {
    .test-grid {
        grid-template-columns: 1fr;
    }
}
.test-card {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 1.25rem !important;
    padding: 2.2rem 1.8rem !important;
    min-height: 140px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    outline: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #7191aa;
}
.test-card .card-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
    word-break: keep-all;
}
.test-card:hover {
    transform: translateY(-5px) !important;
    background-color: #283952;
    box-shadow: 2px 4px 10px rgba(37, 104, 160, 0.4);
    color: #9dc9ff;
}
.test-card.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(0, 240, 255, 0.15)) !important;
    border-color: #00f0ff !important;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.35) !important;
}
.test-card.active .card-text {
    color: #fff !important;
}
.test-milestone-panel {
    text-align: center;
    padding: 3rem 1.5rem;
}
.milestone-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.milestone-title {
    font-size: 2rem;
    color: #fff;
    font-weight: 900;
    margin-bottom: 1rem;
}
.milestone-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 550px;
    margin: 0 auto 2.5rem;
    word-break: keep-all;
}
.milestone-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 50px;
}
.test-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    width: 100%;
}
.test-progress-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-secondary);
}

/* 03. Loading Card */
.loading-card {
    text-align: center;
    padding: 5rem 2rem;
}
.loading-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2rem;
}
.loading-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 320px;
    margin: 0 auto;
    text-align: left;
}
.loading-item {
    font-size: 1rem;
    color: var(--text-secondary);
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

/* 04. Career DNA */
.dna-result-box {
    margin-bottom: 2rem;
}
.dna-summary-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.dna-summary-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}
.dna-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}
.dna-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* 05. Job Recommend & Contrast */
.recommend-jobs-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.contrast-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.step-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* 06. Roadmap Basket & Direct Add */
.custom-roadmap-summary {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 0.5rem;
}
.custom-spec-form-row {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}
.custom-spec-select {
    width: 200px;
}
.custom-spec-input {
    flex: 1;
}
.btn-custom-spec-add {
    padding: 0.8rem 1.5rem;
    font-weight: bold;
    background: #3b5b8b;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-custom-spec-add:hover {
    background: #4d72ab;
}

/* 08. Career Scenario Timeline (Modern Clean Renewal) */
#step8-scenario .step-heading {
    color: #1d273e;
}
#step8-scenario .step-desc {
    color: #475569;
}
.scenario-timeline-title {
    margin-top: 0;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: #1d273e;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.scenario-step-card {
    padding: 1.6rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    margin-bottom: 1.2rem;
    display: flex;
    gap: 1.4rem;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.scenario-step-card:hover {
    transform: translateY(-2px);
    border-color: #94a3b8;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.scenario-step-card.active-level {
    background: #ffffff;
    border: 2px solid #2563eb;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}
.scenario-lvl-badge {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background: #f8fafc;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.scenario-step-card.active-level .scenario-lvl-badge {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
}
.scenario-step-info {
    flex-grow: 1;
}
.scenario-step-subtitle {
    font-size: 0.88rem;
    color: #2563eb;
    font-weight: 800;
    margin-bottom: 0.35rem;
    letter-spacing: -0.3px;
}
.scenario-step-title {
    color: #0f172a;
    font-size: 1.22rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.scenario-step-card.active-level .scenario-step-title {
    color: #0f172a;
}
.experience-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}
.current-label {
    font-size: 0.72rem;
    font-weight: 800;
    background: #2563eb;
    color: #ffffff;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}
.scenario-step-quest {
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.6;
    margin: 0 0 0.5rem;
}
.scenario-step-quest strong {
    color: #0f172a;
    font-weight: 700;
}
.scenario-step-reward {
    font-size: 0.92rem;
    color: #334155;
    margin: 0;
}
.scenario-step-reward strong {
    color: #0f172a;
    font-weight: 700;
}
.scenario-step-reward .reward-text {
    color: #059669;
    font-weight: 800;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
    margin-left: 0.2rem;
}

/* 09. Survey Form */
.survey-form-box {
    margin-top: 1.5rem;
}
.survey-questions-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}
.survey-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.survey-label {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
}

/* 10. Completion & Report Tools */
.complete-card {
    text-align: center;
    padding: 4rem 2rem;
}
.complete-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}
.complete-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}
.complete-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}
.report-tools-list {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.btn-report-view,
.btn-report-download,
.btn-report-restart {
    padding: 0.9rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transition: all 0.2s;
}
.btn-report-view:hover,
.btn-report-download:hover,
.btn-report-restart:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #00f0ff;
    color: #00f0ff;
}
