/* =========================================================
   Ollato Assessment Instruction Page
   Attractive Less Content Version
========================================================= */

.oa-instruction-page {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

/* Hero */
.oa-instruction-hero {
    position: relative;
    min-height: 290px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
    gap: 28px;
    align-items: center;
    margin-bottom: 26px;
    padding: 38px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 10% 15%, rgba(37, 99, 235, 0.18), transparent 28%),
        radial-gradient(circle at 90% 10%, rgba(124, 58, 237, 0.22), transparent 30%),
        radial-gradient(circle at 80% 95%, rgba(22, 163, 74, 0.13), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 44%, #eef4ff 100%);
    border: 1px solid #dbeafe;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
    overflow: hidden;
}

/* Soft Background Icons */
.oa-bg-icon {
    position: absolute;
    display: grid;
    place-items: center;
    color: rgba(37, 99, 235, 0.10);
    font-weight: 950;
    pointer-events: none;
    user-select: none;
}

.oa-bg-icon-1 {
    top: 28px;
    right: 34%;
    font-size: 78px;
    transform: rotate(-12deg);
}

.oa-bg-icon-2 {
    bottom: 28px;
    left: 42%;
    font-size: 92px;
    color: rgba(22, 163, 74, 0.10);
    transform: rotate(10deg);
}

.oa-bg-icon-3 {
    top: 54%;
    right: 28px;
    font-size: 110px;
    color: rgba(124, 58, 237, 0.10);
    transform: translateY(-50%) rotate(8deg);
}

.oa-bg-icon-4 {
    bottom: -16px;
    left: 22px;
    font-size: 120px;
    color: rgba(245, 158, 11, 0.11);
    transform: rotate(-18deg);
}

.oa-hero-content,
.oa-hero-summary {
    position: relative;
    z-index: 2;
}

.oa-page-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #1d4ed8;
    background: rgba(239, 246, 255, 0.92);
    border: 1px solid #bfdbfe;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.oa-hero-content h1 {
    margin: 0;
    max-width: 760px;
    color: #0f172a;
    font-size: 39px;
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: -0.035em;
}

.oa-hero-content p {
    margin: 14px 0 0;
    max-width: 560px;
    color: #475569;
    font-size: 17px;
    line-height: 1.65;
}

.oa-hero-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.oa-hero-tags span {
    display: inline-flex;
    padding: 9px 13px;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    font-weight: 850;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

/* Summary */
.oa-hero-summary {
    display: grid;
    gap: 14px;
}

.oa-summary-card {
    padding: 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(8px);
}

.oa-summary-card span {
    display: block;
    margin-bottom: 7px;
    color: #64748b;
    font-size: 13px;
    font-weight: 850;
}

.oa-summary-card strong {
    display: block;
    color: #0f172a;
    font-size: 21px;
    font-weight: 950;
}

/* Instruction Shell */
.oa-instruction-shell {
    position: relative;
    padding: 30px;
    border-radius: 32px;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(37, 99, 235, 0.38), rgba(124, 58, 237, 0.30), rgba(22, 163, 74, 0.20)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.09);
}

.oa-instruction-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 20px;
    margin-bottom: 22px;
    border-bottom: 1px solid #e2e8f0;
}

.oa-section-label {
    display: inline-flex;
    margin-bottom: 8px;
    color: #7c3aed;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.oa-instruction-title-row h2 {
    margin: 0;
    color: #0f172a;
    font-size: 29px;
    font-weight: 950;
    letter-spacing: -0.02em;
}

.oa-confidential-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
    font-size: 13px;
    font-weight: 900;
}

/* Short Instruction Grid */
.oa-short-instruction-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.oa-short-instruction-card {
    position: relative;
    min-height: 130px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 38%),
        #f8fafc;
    border: 1px solid #e2e8f0;
    transition: 0.25s ease;
    overflow: hidden;
}

.oa-short-instruction-card::after {
    content: "✓";
    position: absolute;
    right: 16px;
    bottom: -6px;
    color: rgba(37, 99, 235, 0.07);
    font-size: 82px;
    font-weight: 950;
}

.oa-short-instruction-card:hover {
    transform: translateY(-3px);
    background: #eff6ff;
    border-color: #bfdbfe;
}

.oa-step-number {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    border-radius: 17px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    font-size: 14px;
    font-weight: 950;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.26);
}

.oa-short-instruction-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 650;
}

/* Start Strip */
.oa-start-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
    padding: 24px;
    border-radius: 26px;
    background:
        radial-gradient(circle at left, rgba(37, 99, 235, 0.14), transparent 30%),
        linear-gradient(135deg, #f8fafc, #eff6ff);
    border: 1px solid #bfdbfe;
}

.oa-start-strip h3 {
    margin: 0 0 6px;
    color: #0f172a;
    font-size: 22px;
    font-weight: 950;
}

.oa-start-strip p {
    margin: 0;
    color: #64748b;
    font-size: 14.5px;
    line-height: 1.6;
}

.oa-start-test-btn {
    min-height: 52px;
    padding: 14px 30px;
    border-radius: 17px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 950;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 38px rgba(37, 99, 235, 0.32);
    transition: 0.25s ease;
    white-space: nowrap;
}

.oa-start-test-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 48px rgba(37, 99, 235, 0.42);
}

/* Tablet */
@media (max-width: 992px) {
    .oa-instruction-hero {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .oa-hero-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oa-short-instruction-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .oa-instruction-page {
        max-width: 100%;
    }

    .oa-instruction-hero {
        min-height: auto;
        padding: 22px;
        border-radius: 24px;
    }

    .oa-hero-content h1 {
        font-size: 28px;
    }

    .oa-hero-content p {
        font-size: 14.5px;
    }

    .oa-hero-summary {
        grid-template-columns: 1fr;
    }

    .oa-instruction-shell {
        padding: 22px;
        border-radius: 24px;
    }

    .oa-instruction-title-row {
        flex-direction: column;
    }

    .oa-instruction-title-row h2 {
        font-size: 24px;
    }

    .oa-short-instruction-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .oa-start-strip {
        grid-template-columns: 1fr;
    }

    .oa-start-test-btn {
        width: 100%;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .oa-instruction-hero {
        padding: 18px;
        border-radius: 20px;
    }

    .oa-hero-content h1 {
        font-size: 23px;
    }

    .oa-hero-tags span {
        font-size: 12px;
    }

    .oa-instruction-shell {
        padding: 16px;
        border-radius: 20px;
    }

    .oa-short-instruction-card {
        padding: 16px;
        border-radius: 18px;
    }

    .oa-short-instruction-card p {
        font-size: 14px;
    }

    .oa-start-strip {
        padding: 18px;
        border-radius: 20px;
    }

    .oa-start-strip h3 {
        font-size: 19px;
    }
}