/* ============================================
   PAGE TOKENS — Career Hub
   ============================================ */
:root {
    --container-max: 1024px;
    --section-padding: 100px 48px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--color-black);
    color: var(--color-gray-900);
    overflow-x: hidden;
}

::selection {
    background: rgba(41, 151, 255, 0.3);
    color: inherit;
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

:focus-visible {
    outline: 2px solid var(--color-blue);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    [data-anim] { opacity: 1; transform: none; }
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
[data-anim="fade-up"] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

[data-anim="fade-up"].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   READING PROGRESS BAR
   ============================================ */
.j-progress {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--color-blue), var(--color-purple));
    z-index: 100;
    transition: width 0.1s linear;
}

/* ============================================
   HERO
   ============================================ */
.j-hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    background: var(--color-black);
    position: relative;
    overflow: hidden;
}

.j-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(
        ellipse at center,
        rgba(41, 151, 255, 0.07) 0%,
        rgba(191, 90, 242, 0.04) 30%,
        transparent 70%
    );
    pointer-events: none;
    animation: hero-glow 8s ease-in-out infinite alternate;
}

@keyframes hero-glow {
    0%   { transform: translate(-50%, -50%) scale(1);    opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.7; }
}

.j-hero__badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-blue);
    background: var(--color-blue-a10);
    border: 1px solid var(--color-blue-a25);
    border-radius: var(--border-radius-pill);
    padding: 6px 18px;
    margin-bottom: 28px;
}

.j-hero__title {
    font-family: var(--font-display);
    font-size: clamp(40px, 7vw, 64px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: var(--color-gray-50);
    margin-bottom: 20px;
    position: relative;
}

.j-hero__title-gradient {
    background: linear-gradient(90deg, var(--color-blue), var(--color-purple), var(--color-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    animation: gradient-shift 6s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.j-hero__subtitle {
    font-size: clamp(16px, 2.2vw, 19px);
    color: var(--color-gray-400);
    font-weight: 300;
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.j-hero__stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    position: relative;
}

.j-hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.j-hero__stat-val {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--color-gray-100);
}

.j-hero__stat-label {
    font-size: 11px;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Scroll indicator styles in css/core/scroll-indicator.css */

/* ============================================
   SECTIONS — Shared Padding
   ============================================ */
.j-section {
    padding: var(--section-padding);
}

.j-section .container {
    max-width: 960px;
}

/* ============================================
   ROADMAP — Vertical Timeline
   ============================================ */
.j-timeline {
    position: relative;
    padding-left: 48px;
    margin-top: 48px;
}

.j-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-blue), var(--color-purple));
    border-radius: 2px;
}

.j-timeline__step {
    position: relative;
    margin-bottom: 48px;
}

.j-timeline__step:last-child {
    margin-bottom: 0;
}

.j-timeline__dot {
    position: absolute;
    left: -48px;
    top: 4px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-gray-50);
    border: 2px solid var(--color-blue);
    box-shadow: 0 0 0 6px var(--color-gray-50);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-blue);
}

.j-timeline__title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.j-timeline__desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-gray-500);
    margin-bottom: 12px;
}

.j-timeline__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.j-timeline__tag {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 4px 12px;
    border-radius: var(--border-radius-pill);
    background: var(--color-blue-a10);
    color: var(--color-blue-dark);
    letter-spacing: 0.02em;
}

/* ============================================
   PLATFORM FILTER TABS
   ============================================ */
.j-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
}

.j-filter__btn {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 8px 20px;
    border-radius: var(--border-radius-pill);
    border: 1px solid var(--color-white-a12);
    background: transparent;
    color: var(--color-gray-400);
    cursor: pointer;
    transition: all 0.3s;
}

.j-filter__btn:hover {
    border-color: var(--color-white-a20);
    color: var(--color-gray-200);
}

.j-filter__btn.is-active {
    background: var(--color-blue-a15);
    border-color: var(--color-blue);
    color: var(--color-blue);
}

/* ============================================
   PLATFORM CARDS
   ============================================ */
.j-platforms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.j-platform {
    background: var(--color-white-a4);
    border: 1px solid var(--color-white-a8);
    border-radius: var(--border-radius-card);
    padding: 28px;
    transition: all var(--transition-card);
}

.j-platform:hover {
    transform: translateY(-4px);
    border-color: var(--color-white-a15);
    background: var(--color-white-a6);
}

.j-platform__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.j-platform__name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-gray-50);
}

.j-platform__badge {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--border-radius-pill);
}

.j-platform__badge--low {
    color: var(--color-green);
    background: var(--color-green-a10);
}

.j-platform__badge--med {
    color: var(--color-orange);
    background: var(--color-orange-a10);
}

.j-platform__badge--high {
    color: var(--color-red);
    background: var(--color-red-a10);
}

.j-platform__desc {
    font-size: 14px;
    color: var(--color-gray-400);
    line-height: 1.5;
    margin-bottom: 14px;
}

.j-platform__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-blue);
    transition: opacity 0.3s;
}

.j-platform__link:hover { opacity: 0.7; }

.j-platform__link svg {
    width: 14px;
    height: 14px;
}

/* ============================================
   RESUME & PORTFOLIO — Two-Column
   ============================================ */
.j-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.j-col-card {
    background: var(--color-white);
    border-radius: var(--border-radius-card);
    padding: 36px;
    box-shadow: var(--shadow-card);
}

.j-col-card__icon {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

/* Outweighs the flat tint the theme layer paints on every icon. */
.j-col-card .j-col-card__icon.j-col-card__icon--blue   { background: var(--color-blue-a10); }
.j-col-card .j-col-card__icon.j-col-card__icon--purple { background: var(--color-purple-a10); }

.j-col-card__title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--color-gray-900);
}

.j-col-card__list {
    list-style: none;
}

.j-col-card__list li {
    position: relative;
    padding-left: 24px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-gray-700);
    margin-bottom: 12px;
}

.j-col-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-blue);
}

.j-callout {
    margin-top: 32px;
    background: var(--color-blue-a6);
    border: 1px solid var(--color-blue-a25);
    border-radius: var(--border-radius-sm);
    padding: 24px;
}

.j-callout__title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-blue-dark);
    margin-bottom: 12px;
}

.j-callout__text {
    font-size: 14px;
    line-height: 1.65;
    color: var(--color-gray-600);
}

.j-callout__text strong {
    color: var(--color-gray-900);
}

/* ============================================
   DOS & DON'TS
   ============================================ */
.j-dodont {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.j-dodont__card {
    background: var(--color-white-a4);
    border-radius: var(--border-radius-card);
    padding: 36px;
    border: 1px solid var(--color-white-a8);
}

.j-dodont__card--do {
    border-top: 3px solid var(--color-green);
}

.j-dodont__card--dont {
    border-top: 3px solid var(--color-red);
}

.j-dodont__heading {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.j-dodont__heading-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.j-dodont__card--do .j-dodont__heading-icon {
    background: var(--color-green-a15);
    color: var(--color-green);
}

.j-dodont__card--dont .j-dodont__heading-icon {
    background: var(--color-red-a15);
    color: var(--color-red);
}

.j-dodont__heading-text--do { color: var(--color-green); }
.j-dodont__heading-text--dont { color: var(--color-red); }

.j-dodont__list {
    list-style: none;
}

.j-dodont__list li {
    position: relative;
    padding-left: 28px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--color-gray-300);
    margin-bottom: 14px;
}

.j-dodont__list li:last-child {
    margin-bottom: 0;
}

.j-dodont__list li::before {
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 14px;
}

.j-dodont__card--do .j-dodont__list li::before {
    content: '\2713';
    color: var(--color-green);
}

.j-dodont__card--dont .j-dodont__list li::before {
    content: '\2717';
    color: var(--color-red);
}

/* ============================================
   INTERVIEW FLOW
   ============================================ */
.j-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.j-flow__stage {
    background: var(--color-white);
    border-radius: var(--border-radius-card);
    padding: 28px;
    box-shadow: var(--shadow-card);
    text-align: center;
    position: relative;
}

.j-flow__stage::after {
    content: '\2192';
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--color-gray-300);
}

.j-flow__stage:last-child::after {
    display: none;
}

.j-flow__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-blue-a10);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 20px;
}

.j-flow__stage-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-gray-900);
}

.j-flow__stage-desc {
    font-size: 13px;
    color: var(--color-gray-500);
    line-height: 1.5;
    margin-bottom: 10px;
}

.j-flow__duration {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--color-blue-dark);
    background: var(--color-blue-a6);
    padding: 3px 10px;
    border-radius: var(--border-radius-pill);
    display: inline-block;
}

.j-topics {
    margin-top: 40px;
    background: var(--color-blue-a6);
    border: 1px solid var(--color-blue-a25);
    border-radius: var(--border-radius-sm);
    padding: 28px;
}

.j-topics__title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-blue-dark);
    margin-bottom: 16px;
}

.j-topics__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.j-topics__chip {
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 6px 14px;
    border-radius: var(--border-radius-pill);
    background: var(--color-blue-a10);
    color: var(--color-blue-dark);
}

/* ============================================
   SALARY GUIDE
   ============================================ */
.j-salary {
    margin-top: 40px;
    overflow-x: auto;
}

.j-salary__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--border-radius-card);
    overflow: hidden;
    background: var(--color-white-a4);
    border: 1px solid var(--color-white-a8);
}

.j-salary__table th,
.j-salary__table td {
    padding: 16px 20px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid var(--color-white-a6);
}

.j-salary__table th {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-gray-400);
    background: var(--color-white-a4);
}

.j-salary__table td {
    color: var(--color-gray-200);
}

.j-salary__table tr:last-child td {
    border-bottom: none;
}

.j-salary__table .j-salary__level {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-gray-50);
}

.j-salary__note {
    margin-top: 16px;
    font-size: 12px;
    color: var(--color-gray-500);
    font-style: italic;
}

.j-negotiate {
    margin-top: 32px;
    background: var(--color-purple-a10);
    border: 1px solid var(--color-purple-a15);
    border-radius: var(--border-radius-sm);
    padding: 24px;
}

.j-negotiate__title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-purple);
    margin-bottom: 12px;
}

.j-negotiate__list {
    list-style: none;
}

.j-negotiate__list li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    color: var(--color-gray-300);
    line-height: 1.55;
    margin-bottom: 8px;
}

.j-negotiate__list li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--color-purple);
}

/* ============================================
   RESOURCES
   ============================================ */
.j-resources {
    margin-top: 40px;
}

.j-res-category {
    margin-bottom: 36px;
}

.j-res-category:last-child {
    margin-bottom: 0;
}

.j-res-category__title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.j-res-category__title-icon {
    font-size: 18px;
}

.j-res-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.j-res-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--color-white);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-card);
    text-decoration: none;
}

.j-res-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-lg);
}

.j-res-card__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.j-res-card__name {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gray-900);
}

.j-res-card__desc {
    font-size: 12px;
    color: var(--color-gray-500);
}

.j-res-card__ext {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--color-gray-400);
}

/* ============================================
   FOOTER
   ============================================ */
.j-footer {
    padding: 32px 48px;
    background: var(--color-black);
    border-top: var(--border-dark);
    text-align: center;
}

.j-footer__links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.j-footer__link {
    font-size: 13px;
    color: var(--color-gray-400);
    transition: color 0.3s;
}

.j-footer__link:hover { color: var(--color-gray-50); }

.j-footer__copy {
    font-size: 12px;
    color: var(--color-gray-600);
}

/* ============================================
   RESPONSIVE — Tablet
   ============================================ */
@media (max-width: 900px) {
    .j-platforms          { grid-template-columns: 1fr 1fr; }
    .j-two-col            { grid-template-columns: 1fr 1fr; }
    .j-dodont             { grid-template-columns: 1fr 1fr; }
    .j-flow               { grid-template-columns: repeat(2, 1fr); }
    .j-flow__stage:nth-child(2)::after,
    .j-flow__stage:nth-child(4)::after { display: none; }
    .j-res-grid           { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */
@media (max-width: 640px) {
    .j-section { padding: 64px 20px; }

    .j-hero {
        min-height: auto;
        padding: calc(var(--nav-height) + 48px) 20px 48px;
    }

    .j-hero__stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hero__scroll { display: none; }

    .j-timeline { padding-left: 40px; }
    .j-timeline__dot { left: -40px; width: 28px; height: 28px; font-size: 11px; box-shadow: 0 0 0 5px var(--color-gray-50); }

    .j-platforms          { grid-template-columns: 1fr; }
    .j-two-col            { grid-template-columns: 1fr; }
    .j-dodont             { grid-template-columns: 1fr; }
    .j-flow               { grid-template-columns: 1fr; }
    .j-flow__stage::after { display: none; }
    .j-res-grid           { grid-template-columns: 1fr; }

    .j-salary__table th,
    .j-salary__table td { padding: 12px 14px; font-size: 13px; }

    .j-footer { padding: 24px 20px; }
    .j-footer__links { flex-direction: column; gap: 12px; }
}

/* ============================================
   PRINT
   ============================================ */
@media print {
    .nav, .j-progress, .g-btt, .hero__scroll { display: none; }
    .j-hero { padding-top: 40px; }
    body { background: #fff; }
    [data-anim] { opacity: 1; transform: none; }
}
