/* PAGE */
.jargon-page {
    background: #fff;
    color: #0f172a;
}

.jargon-top {
    padding: 90px 0 80px;
    position: relative;
    text-align: center;

    /* 🔥 premium gradient */
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #0f172a 100%);

    /* subtle glow */
    overflow: hidden;
}

/* glowing effect */
.jargon-top::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 198, 154, 0.25), transparent 70%);
    top: -200px;
    left: -150px;
    filter: blur(80px);
}

/* TITLE */
.jargon-top h1 {
    font-size: clamp(44px, 6vw, 70px);
    margin-bottom: 14px;
    color: #ffffff;
    letter-spacing: -1px;
    font-weight: 800;
}

/* SUBTEXT */
.jargon-top p {
    font-size: 20px;
    color: #cbd5f5;
}

/* CONTENT — PERFECT CENTER BLOCK */
.j-content {
    width: 100%;
}

/* MOBILE */
@media(max-width:1000px) {}

/* CONTENT */
.j-content {
    flex: 1;
}

/* CARDS — EXACT FEEL */
.j-card {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 24px;
    padding: 28px;
    margin-bottom: 18px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
    transition: .25s ease;
}

.j-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, .08);
}

.j-header {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
}

.j-body {
    display: none;
    margin-top: 16px;
}

.label {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 700;
    margin-bottom: 4px;
}

.value {
    font-size: 17px;
    line-height: 1.8;
    color: #475569;
}

.insight {
    background: #ecfeff;
    border-left: 4px solid #10c69a;
    padding: 14px;
    border-radius: 12px;
    margin-top: 14px;
    font-size: 15px;
}

/* MOBILE */
@media(max-width:1000px) {}

/* CONTENT */
.j-content {
    flex: 1;
}

/* CARD */
.j-card {
    padding: 26px;
}

/* HEADER FIX */
.j-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 19px;
}

/* PLUS ALIGNMENT */
.j-header span {
    font-size: 22px;
    line-height: 1;
}

/* BODY */
.j-body {
    margin-top: 14px;
}

/* SPACING FIX BELOW */
.process {
    margin-bottom: 48px;
}

/* MOBILE */
@media(max-width:1000px) {}

.timeline-sub {
    max-width: 760px;
    margin: 0 auto 24px;
    text-align: center;
}

/* ===== FINAL CLEAN LAYOUT ===== */

/* OUTER WRAP */
.jargon-wrapper {
    width: 100%;
    padding: 0 20px;
    /* optional small breathing space */
    padding-left: 40px;
    padding-right: 20px;
}

/* INNER STRUCTURE */
.jargon-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 28px;
    width: 100%;
}

.sidebar {
    position: sticky;
    top: 90px;

    width: 100%;
    font-size: 14px;

    padding-right: 22px;

    border-right: 1px solid #e2e8f0;

    max-height: calc(100vh - 120px);

    overflow-y: auto;

    overscroll-behavior: contain;

    scrollbar-width: thin;
    scrollbar-color:
        #cbd5e1 transparent;
}

/* SCROLLBAR */

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

/* CONTENT — CENTER BLOCK */
.j-content {
    width: 100%;
}

.section {
    padding-top: 20px;
    /* reduce from default large gap */
}

/* MOBILE */
@media(max-width:1000px) {
    .jargon-container {
        grid-template-columns: 300px 1fr;
    }

    .sidebar {
        display: none;
    }
}

/* ===== SIDEBAR ACCORDION ===== */

.side-group {
    margin-bottom: 14px;
}

/* TITLE */
.side-title {
    font-size: 16px;
    font-weight: 700;
    padding: 10px 14px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.side-title:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}

/* LINKS */
.side-links {
    display: none;
    padding-left: 10px;
    margin-top: 6px;
}

.side-links a {
    display: block;
    font-size: 15px;
    padding: 6px 10px;
    text-decoration: none;
    color: #334155;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.side-links a:hover {
    background: #f1f5f9;
    color: #0f172a;
    transform: translateX(4px);
}

/* ACTIVE GROUP */
.side-group.active .side-links {
    display: block;
}

/* COLORS */
.side-group:nth-child(1) .side-title {
    background: #ecfdf5;
    color: #059669;
}

.side-group:nth-child(2) .side-title {
    background: #eff6ff;
    color: #2563eb;
}

.side-group:nth-child(3) .side-title {
    background: #f5f3ff;
    color: #7c3aed;
}

/* Arrow styling */
.arrow {
    font-size: 12px;
    transition: transform 0.25s ease;
}

.cta-section {
    margin-bottom: 80px;
}

.process {
    margin-bottom: 10px;
}

.cta-section {
    margin: 60px auto 10px;
}

.side-links a.active {
    background: #ecfeff;
    color: #059669;
    font-weight: 600;
    border-left: 3px solid #10c69a;
}

.menu a.active {
    color: #10c69a;
    font-weight: 600;
    position: relative;
}

.menu a.active::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #10c69a;
    border-radius: 2px;
}