
/* ==================================================
   THE BITWISE ACADEMY
   CERTIFICATION & VERIFICATION PAGE
   Corporate White | Navy Blue | Dark Maroon
================================================== */

:root {
    --bp-navy: #061d49;
    --bp-navy-dark: #03122f;
    --bp-blue: #075fc7;
    --bp-blue-light: #168cff;
    --bp-maroon: #710820;
    --bp-red: #b30e36;
    --bp-white: #ffffff;
    --bp-light: #f5f8fd;
    --bp-text: #142441;
    --bp-muted: #64748b;
    --bp-border: #dfe7f3;
    --bp-shadow: 0 18px 45px rgba(6, 29, 73, .09);
}

.bp-page,
.bp-page * {
    box-sizing: border-box;
}

.bp-page {
    width: 100%;
    overflow: hidden;
    background: var(--bp-white);
    color: var(--bp-text);
    font-family: "Inter", sans-serif;
    line-height: 1.7;
}

.bp-page img {
    max-width: 100%;
}

.bp-container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

/* ================= HERO ================= */

.bp-hero {
    position: relative;
    isolation: isolate;
    padding: 100px 0;
    color: #fff;
    background:
        radial-gradient(circle at 78% 30%, rgba(22,140,255,.23), transparent 30%),
        radial-gradient(circle at 10% 100%, rgba(179,14,54,.20), transparent 35%),
        linear-gradient(120deg, #03122f 0%, #082b63 55%, #152b5a 100%);
}

.bp-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 480px;
    height: 480px;
    right: -140px;
    top: -220px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    box-shadow:
        0 0 0 45px rgba(255,255,255,.025),
        0 0 0 90px rgba(255,255,255,.02);
}

.bp-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 70px;
}

.bp-kicker {
    display: inline-block;
    color: var(--bp-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.2px;
    line-height: 1.6;
}

.bp-hero .bp-kicker {
    color: #b9d8ff;
}

.bp-crumb {
    margin: 16px 0;
    color: #cbd7ec;
    font-size: 13px;
}

.bp-crumb a {
    color: #fff;
    text-decoration: none;
}

.bp-crumb a:hover {
    color: #ff7798;
}

.bp-hero h1 {
    margin: 18px 0;
    max-width: 650px;
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -2px;
}

.bp-hero > .bp-container p,
.bp-hero-grid > div:first-child > p {
    max-width: 610px;
    color: #d8e4f6;
    font-size: 16px;
    line-height: 1.9;
}

.bp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

/* ================= BUTTONS ================= */

.bp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.bp-btn:hover {
    transform: translateY(-3px);
}

.bp-btn-red {
    color: #fff;
    background: linear-gradient(120deg, #8f0b2a, #c41643);
    box-shadow: 0 8px 22px rgba(143,11,42,.22);
}

.bp-btn-red:hover {
    color: #fff;
    box-shadow: 0 12px 28px rgba(143,11,42,.32);
}

.bp-btn-outline {
    color: #fff;
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.42);
}

.bp-btn-outline:hover {
    color: #fff;
    background: rgba(255,255,255,.14);
}

/* ================= HERO VISUAL ================= */

.bp-hero-visual {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 390px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 24px;
    background: linear-gradient(
        145deg,
        rgba(255,255,255,.12),
        rgba(255,255,255,.025)
    );
    box-shadow:
        0 25px 70px rgba(0,0,0,.16),
        inset 0 1px 0 rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
}

.bp-ring {
    position: absolute;
    z-index: -1;
    width: 275px;
    height: 275px;
    border: 1px solid rgba(112,177,255,.42);
    border-radius: 50%;
    box-shadow:
        0 0 0 24px rgba(255,255,255,.025),
        0 0 55px rgba(22,140,255,.13);
}

.bp-hero-visual > img {
    width: min(230px, 65%);
    max-height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 12px 25px rgba(0,0,0,.15));
}

.bp-hero-visual > span {
    color: #d6e6ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-align: center;
}

.bp-float {
    position: absolute;
    padding: 11px 16px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    color: #fff;
    background: #0b2d62;
    box-shadow: 0 12px 25px rgba(0,0,0,.16);
    font-size: 11px;
    font-weight: 700;
}

.bp-float-top {
    top: 14%;
    left: -25px;
}

.bp-float-bottom {
    right: -20px;
    bottom: 15%;
    background: #790b29;
}

/* ================= GENERAL SECTIONS ================= */

.bp-section {
    position: relative;
    padding: 88px 0;
}

.bp-light {
    background:
        radial-gradient(ellipse at 0 0, rgba(7,95,199,.035), transparent 45%),
        #fff;
}

.bp-dark {
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(7,95,199,.22), transparent 32%),
        linear-gradient(135deg, #03122f, #071e46 65%, #260817);
}

.bp-heading {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.bp-heading h2 {
    margin: 12px 0;
    color: var(--bp-navy);
    font-family: "Manrope", sans-serif;
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1px;
}

.bp-heading h2 em {
    color: var(--bp-maroon);
    font-style: normal;
}

.bp-heading > p {
    color: var(--bp-muted);
}

.bp-dark .bp-heading h2 {
    color: #fff;
}

.bp-dark .bp-heading h2 em {
    color: #ff7897;
}

.bp-dark .bp-heading .bp-kicker {
    color: #a8d0ff;
}

/* ================= FEATURE CARDS ================= */

.bp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.bp-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 30px 26px;
    min-height: 240px;
    border: 1px solid var(--bp-border);
    border-top: 3px solid var(--bp-blue);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(6,29,73,.055);
    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.bp-card:nth-child(even) {
    border-top-color: var(--bp-maroon);
}

.bp-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -45px;
    bottom: -55px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(7,95,199,.08),
        rgba(7,95,199,0) 70%
    );
    pointer-events: none;
}

.bp-card:hover {
    transform: translateY(-7px);
    border-color: #c2d6f4;
    box-shadow: 0 20px 42px rgba(6,29,73,.12);
}

.bp-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--bp-navy), var(--bp-blue));
    box-shadow: 0 8px 20px rgba(7,95,199,.19);
}

.bp-card:nth-child(even) .bp-card-icon {
    background: linear-gradient(135deg, #50071d, #b30e36);
    box-shadow: 0 8px 20px rgba(143,11,42,.16);
}

.bp-card-icon i {
    font-size: 21px;
}

.bp-card h3 {
    margin: 0 0 12px;
    color: var(--bp-navy);
    font-family: "Manrope", sans-serif;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.5;
}

.bp-card p {
    margin: 0;
    color: var(--bp-muted);
    font-size: 13px;
    line-height: 1.9;
}

/* ================= PROCESS STEPS ================= */

.bp-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.bp-step {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 12px;
    background: rgba(255,255,255,.045);
    transition:
        transform .3s ease,
        background .3s ease,
        border-color .3s ease;
}

.bp-step:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,.075);
    border-color: rgba(100,170,255,.45);
}

.bp-step > b {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #075fc7, #168cff);
    font-size: 15px;
}

.bp-step:nth-child(even) > b {
    background: linear-gradient(135deg, #67071f, #b30e36);
}

.bp-step h3 {
    margin: 0 0 7px;
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: 16px;
}

.bp-step p {
    margin: 0;
    color: #c8d5e9;
    font-size: 13px;
    line-height: 1.8;
}

/* ================= VERIFICATION AREA ================= */

.bp-verification {
    display: grid;
    grid-template-columns: 1fr .85fr;
    gap: 35px;
    align-items: stretch;
    padding: 34px;
    border: 1px solid var(--bp-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--bp-shadow);
}

.bp-verification > div:first-child {
    min-width: 0;
}

.bp-verification h3 {
    margin: 0 0 12px;
    color: var(--bp-navy);
    font-family: "Manrope", sans-serif;
    font-size: 22px;
    font-weight: 800;
}

.bp-verification p {
    color: var(--bp-muted);
    font-size: 13px;
    line-height: 1.9;
}

.bp-verification label {
    display: block;
    margin: 22px 0 8px;
    color: var(--bp-navy);
    font-size: 13px;
    font-weight: 700;
}

.bp-verification input {
    display: block;
    width: 100%;
    min-height: 50px;
    margin-bottom: 16px;
    padding: 13px 15px;
    border: 1px solid #d5dfed;
    border-radius: 8px;
    outline: none;
    color: var(--bp-text);
    background: #fbfcff;
    font: inherit;
    font-size: 14px;
    transition: border-color .2s, box-shadow .2s;
}

.bp-verification input:focus {
    border-color: var(--bp-blue);
    box-shadow: 0 0 0 4px rgba(7,95,199,.10);
}

.bp-verification button {
    margin-top: 2px;
}

.bp-notice {
    margin-top: 18px;
    padding: 13px 15px;
    border: 1px solid #d8e6f8;
    border-radius: 8px;
    color: #294b7c !important;
    background: #f1f6fd;
    font-size: 12px !important;
}

/* ================= CERTIFICATE PREVIEW ================= */

.bp-cert-preview {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 32px;
    border: 7px solid #e8edf6;
    outline: 1px solid #ccd7e8;
    outline-offset: -15px;
    border-radius: 8px;
    text-align: center;
    background:
        radial-gradient(circle at center, #fff 0%, #f8faff 100%);
}

.bp-cert-preview::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 14px;
    border: 1px solid rgba(7,95,199,.15);
    pointer-events: none;
}

.bp-cert-preview > i {
    margin-bottom: 16px;
    color: var(--bp-maroon);
    font-size: 38px;
}

.bp-cert-preview > span {
    color: var(--bp-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.bp-cert-preview h3 {
    margin: 15px 0;
    color: var(--bp-navy);
    font-family: "Manrope", sans-serif;
    font-size: 23px;
}

.bp-cert-preview p {
    font-size: 12px;
}

.bp-cert-preview small {
    margin-top: 16px;
    color: #8a96a8;
    font-size: 10px;
}

/* ================= IMPORTANT NOTE ================= */

.bp-note {
    padding: 26px 30px;
    border: 1px solid #e8c9d2;
    border-left: 4px solid var(--bp-maroon);
    border-radius: 10px;
    color: #46546a;
    background: #fff9fb;
    font-size: 13px;
    line-height: 2;
}

/* ================= FINAL CTA ================= */

.bp-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 90px 0;
    text-align: center;
    color: #fff;
    background: linear-gradient(120deg, #03122f, #082d67 58%, #590820);
}

.bp-cta::before,
.bp-cta::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 50%;
    pointer-events: none;
}

.bp-cta::before {
    top: -180px;
    left: -80px;
}

.bp-cta::after {
    right: -100px;
    bottom: -220px;
}

.bp-cta .bp-kicker {
    color: #c3dcff;
}

.bp-cta h2 {
    margin: 14px 0;
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.25;
}

.bp-cta p {
    max-width: 620px;
    margin: 0 auto 28px;
    color: #d7e3f5;
    font-size: 14px;
    line-height: 1.9;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1000px) {
    .bp-hero-grid {
        gap: 38px;
    }

    .bp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bp-hero-visual {
        min-height: 330px;
    }

    .bp-float-top {
        left: -10px;
    }

    .bp-float-bottom {
        right: -10px;
    }
}

@media (max-width: 760px) {
    .bp-container {
        width: min(100% - 36px, 600px);
    }

    .bp-hero {
        padding: 66px 0;
    }

    .bp-hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .bp-hero h1 {
        font-size: clamp(36px, 9vw, 50px);
        letter-spacing: -1.4px;
    }

    .bp-hero-visual {
        min-height: 300px;
        margin-inline: 8px;
    }

    .bp-section {
        padding: 62px 0;
    }

    .bp-heading {
        margin-bottom: 32px;
    }

    .bp-grid {
        gap: 17px;
    }

    .bp-card {
        min-height: 220px;
        padding: 23px 19px;
    }

    .bp-steps {
        grid-template-columns: 1fr;
    }

    .bp-verification {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 23px;
    }

    .bp-cta {
        padding: 65px 0;
    }
}

@media (max-width: 480px) {
    .bp-container {
        width: calc(100% - 30px);
    }

    .bp-hero h1 {
        font-size: 35px;
    }

    .bp-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .bp-hero-actions .bp-btn {
        width: 100%;
    }

    .bp-grid {
        grid-template-columns: 1fr;
    }

    .bp-card {
        min-height: auto;
        padding: 25px;
    }

    .bp-step {
        gap: 15px;
        padding: 19px;
    }

    .bp-verification {
        padding: 18px;
    }

    .bp-cert-preview {
        min-height: 260px;
        padding: 25px;
    }

    .bp-float {
        font-size: 10px;
        padding: 9px 11px;
    }

    .bp-float-top {
        left: -5px;
    }

    .bp-float-bottom {
        right: -5px;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    .bp-page *,
    .bp-page *::before,
    .bp-page *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
