/* =====================================================================
   Landing — dark glassmorphism (reference: LangingPage_certificate.png)
   ===================================================================== */
body.lp {
    background: #060a1c;
    color: #e6e8f5;
    min-height: 100vh;
    overflow-x: hidden;
}

.lp-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(900px 500px at 80% 10%, rgba(124,58,237,.28), transparent 60%), radial-gradient(800px 600px at 0% 100%, rgba(37,99,235,.25), transparent 60%), radial-gradient(700px 400px at 100% 100%, rgba(236,72,153,.18), transparent 60%), linear-gradient(180deg, #070b20 0%, #0a0f2c 50%, #090c22 100%);
}

    .lp-bg .glow {
        position: absolute;
        border-radius: 50%;
        filter: blur(80px);
        opacity: .55;
        animation: float 16s ease-in-out infinite;
    }

    .lp-bg .g1 {
        width: 420px;
        height: 420px;
        background: #7c3aed;
        top: -120px;
        right: 18%;
    }

    .lp-bg .g2 {
        width: 360px;
        height: 360px;
        background: #0ea5e9;
        bottom: 8%;
        left: -120px;
        animation-delay: -5s;
        opacity: .35;
    }

    .lp-bg .g3 {
        width: 300px;
        height: 300px;
        background: #f59e0b;
        bottom: -140px;
        right: -60px;
        animation-delay: -9s;
        opacity: .25;
    }

    .lp-bg .waves {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .lp-bg .w1 {
        animation: wave 12s ease-in-out infinite alternate;
    }

    .lp-bg .w2 {
        animation: wave 15s ease-in-out infinite alternate-reverse;
    }

@keyframes float {
    50% {
        transform: translate(30px, 40px) scale(1.08);
    }
}

@keyframes wave {
    to {
        transform: translateY(26px);
    }
}

body.lp > *:not(.lp-bg) {
    position: relative;
    z-index: 1;
}

/* nav */
.lp-nav {
    padding: 1.1rem 0;
    position: sticky;
    top: 0;
    z-index: 50 !important;
    background: linear-gradient(180deg, rgba(6,10,28,.85), rgba(6,10,28,.35));
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.04);
}

.lp-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: #fff;
}

    .lp-brand img {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: #fff;
        padding: 2px;
        box-shadow: 0 0 0 3px rgba(167,139,250,.25), 0 8px 26px rgba(124,58,237,.45);
    }

    .lp-brand b {
        display: block;
        font-size: 1.22rem;
        font-weight: 800;
        letter-spacing: -.01em;
    }

    .lp-brand small {
        display: block;
        color: #b8bdd9;
        font-size: .78rem;
        font-family: "Jakarta","NotoDeva",sans-serif;
    }

    .lp-brand:hover {
        color: #fff;
    }

.lp-links {
    gap: .35rem;
}

    .lp-links a {
        color: #d7daf0;
        font-weight: 500;
        padding: .5rem 1rem;
        border-radius: 999px;
        transition: .2s;
    }

        .lp-links a:hover {
            color: #fff;
            background: rgba(255,255,255,.06);
        }

        .lp-links a.on {
            color: #fff;
            background: linear-gradient(135deg, #4c1d95, #6d28d9);
            box-shadow: 0 6px 20px rgba(109,40,217,.45), inset 0 -2px 0 #a78bfa;
        }

.lp-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #e6e8f5;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    font-size: 1.1rem;
}

    .lp-icon:hover {
        color: #fff;
        background: rgba(255,255,255,.08);
    }

    .lp-icon .ping {
        position: absolute;
        top: 9px;
        right: 10px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #f59e0b;
        box-shadow: 0 0 0 0 rgba(245,158,11,.7);
        animation: ping 2s infinite;
    }

@keyframes ping {
    70% {
        box-shadow: 0 0 0 8px rgba(245,158,11,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(245,158,11,0);
    }
}

.lp-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .62rem 1.2rem;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(100deg, #6d28d9, #9333ea 45%, #f59e0b);
    box-shadow: 0 10px 28px rgba(147,51,234,.45);
    white-space: nowrap;
    transition: transform .2s;
}

    .lp-cta:hover {
        color: #fff;
        transform: translateY(-1px);
    }

.lp-mobile {
    display: flex;
    flex-direction: column;
    padding: .8rem 0;
}

    .lp-mobile a {
        color: #d7daf0;
        padding: .55rem 0;
        border-bottom: 1px solid rgba(255,255,255,.06);
    }

/* hero */
.hero {
    padding: 3.2rem 0 2rem;
}

    .hero .eyebrow {
        color: #c3c7e6;
        letter-spacing: .18em;
        font-weight: 600;
        font-size: .9rem;
        display: flex;
        gap: .7rem;
        align-items: center;
    }

        .hero .eyebrow i {
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: #a78bfa;
            display: inline-block;
        }

    .hero h1 {
        font-size: clamp(1.3rem, 3.2vw, 3.1rem);
        font-weight: 800;
        letter-spacing: -.03em;
        line-height: 1.05;
        color: #fff;
        margin: 1rem 0;
    }

        .hero h1 .grad {
            background: linear-gradient(95deg, #c4b5fd 0%, #e879f9 45%, #fdba74 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .hero h1 .hi {
            display: block;
            font-size: .42em;
            font-weight: 700;
            color: #b8bdd9;
            letter-spacing: 0;
            margin-top: .5rem;
        }

    .hero .lead {
        color: #cdd1ea;
        font-size: 1.14rem;
        max-width: 560px;
    }

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .95rem 1.7rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.02rem;
    transition: .25s;
}

    .btn-hero.primary {
        color: #fff;
        background: linear-gradient(100deg, #7c3aed, #a855f7 50%, #f59e0b);
        box-shadow: 0 14px 34px rgba(124,58,237,.45);
    }

        .btn-hero.primary:hover {
            transform: translateY(-2px);
            color: #fff;
            box-shadow: 0 18px 40px rgba(124,58,237,.6);
        }

    .btn-hero.ghost {
        color: #fff;
        border: 1.5px solid rgba(255,255,255,.35);
        background: rgba(255,255,255,.03);
    }

        .btn-hero.ghost:hover {
            color: #fff;
            border-color: #fff;
            background: rgba(255,255,255,.08);
        }

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.2rem;
    flex-wrap: wrap;
}

    .hero-stats div b {
        display: block;
        font-size: 1.6rem;
        font-weight: 800;
        color: #fff;
    }

    .hero-stats div span {
        color: #9aa0c4;
        font-size: .82rem;
    }

/* 3D certificate */
.stage {
    position: relative;
    height: 430px;
    perspective: 1200px;
}

.building {
    position: absolute;
    right: -40px;
    bottom: 30px;
    width: 70%;
    opacity: .55;
    filter: drop-shadow(0 0 30px rgba(245,158,11,.25));
}

    .building path {
        fill: url(#bld);
    }

.pedestal {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-58%);
    width: 330px;
    height: 90px;
}

    .pedestal::before {
        content: "";
        position: absolute;
        inset: 22px 0 0;
        border-radius: 50%;
        background: radial-gradient(ellipse at center, rgba(99,102,241,.55), rgba(15,23,42,.9) 65%);
        box-shadow: 0 0 60px rgba(124,58,237,.6);
    }

    .pedestal::after {
        content: "";
        position: absolute;
        left: 6%;
        right: 6%;
        top: 14px;
        height: 46px;
        border-radius: 50%;
        border: 3px solid rgba(147,197,253,.9);
        box-shadow: 0 0 22px #60a5fa, inset 0 0 22px #a78bfa;
        animation: halo 3s ease-in-out infinite;
    }

@keyframes halo {
    50% {
        box-shadow: 0 0 36px #f59e0b, inset 0 0 26px #a78bfa;
        border-color: rgba(253,186,116,.95);
    }
}

.ring {
    position: absolute;
    left: 50%;
    top: 52%;
    width: 440px;
    height: 190px;
    transform: translate(-58%, -50%) rotateX(68deg);
    border-radius: 50%;
    border: 1.5px solid rgba(147,197,253,.35);
    box-shadow: 0 0 30px rgba(96,165,250,.25);
    animation: spin 18s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-58%, -50%) rotateX(68deg) rotateZ(360deg);
    }
}

.cert3d {
    position: absolute;
    left: 50%;
    top: 40px;
    width: 250px;
    height: 320px;
    transform: translateX(-62%) rotateY(-18deg) rotateX(8deg) rotateZ(4deg);
    transform-style: preserve-3d;
    animation: bob 6s ease-in-out infinite;
}

@keyframes bob {
    50% {
        transform: translateX(-62%) translateY(-12px) rotateY(-12deg) rotateX(6deg) rotateZ(3deg);
    }
}

.cert3d .glass {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(167,139,250,.55), rgba(96,165,250,.25) 60%, rgba(236,72,153,.25));
    border: 1px solid rgba(255,255,255,.45);
    box-shadow: 0 30px 80px rgba(76,29,149,.6), inset 0 0 40px rgba(255,255,255,.18);
    backdrop-filter: blur(6px);
}

    .cert3d .glass.back {
        transform: translateZ(-26px) translateX(14px) translateY(10px);
        opacity: .55;
    }

.cert3d .paper {
    position: absolute;
    inset: 22px 24px 30px;
    border-radius: 10px;
    background: linear-gradient(180deg, #eef0ff, #dfe3ff);
    box-shadow: 0 10px 30px rgba(15,23,42,.35);
    padding: 22px 20px;
    transform: translateZ(18px);
}

    .cert3d .paper .l {
        height: 9px;
        border-radius: 6px;
        background: linear-gradient(90deg, #6366f1, #818cf8);
        opacity: .7;
        margin-bottom: 11px;
    }

        .cert3d .paper .l.s {
            width: 60%;
            opacity: .45;
        }

        .cert3d .paper .l.m {
            width: 82%;
            opacity: .55;
        }

    .cert3d .paper img {
        width: 38px;
        display: block;
        margin: 0 auto 14px;
    }

.cert3d .sig {
    position: absolute;
    left: 20px;
    bottom: 26px;
    font-family: "Brush Script MT", cursive;
    color: #4338ca;
    font-size: 1.5rem;
    opacity: .8;
}

.cert3d .medal {
    position: absolute;
    right: -22px;
    bottom: 34px;
    width: 92px;
    height: 92px;
    transform: translateZ(40px);
}

    .cert3d .medal .disc {
        position: absolute;
        inset: 0;
        border-radius: 50%;
        background: conic-gradient(from 0deg, #fb923c, #f59e0b, #fde68a, #f59e0b, #ea580c, #fb923c);
        box-shadow: 0 10px 30px rgba(245,158,11,.55);
        display: grid;
        place-items: center;
    }

        .cert3d .medal .disc::after {
            content: "★";
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            background: radial-gradient(circle at 35% 30%, #fde68a, #f97316);
            color: #fff7ed;
            font-size: 1.6rem;
            box-shadow: inset 0 0 10px rgba(124,45,18,.4);
        }

    .cert3d .medal .rib {
        position: absolute;
        bottom: -34px;
        width: 26px;
        height: 50px;
        background: linear-gradient(#f97316, #c2410c);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
    }

        .cert3d .medal .rib.a {
            left: 20px;
            transform: rotate(14deg);
        }

        .cert3d .medal .rib.b {
            right: 20px;
            transform: rotate(-14deg);
        }

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 10px #fff;
    animation: tw 3s ease-in-out infinite;
}

@keyframes tw {
    50% {
        opacity: .1;
        transform: scale(.5);
    }
}

/* section */
.lp-section {
    padding: 2rem 0 3rem;
}

.sec-title {
    text-align: center;
    margin-bottom: 2rem;
}

    .sec-title h2 {
        display: inline-flex;
        align-items: center;
        gap: 1.1rem;
        color: #fff;
        font-weight: 800;
        font-size: clamp(1.5rem, 3vw, 2.1rem);
        letter-spacing: -.02em;
        margin: 0;
    }

        .sec-title h2::before, .sec-title h2::after {
            content: "";
            width: 64px;
            height: 2px;
            border-radius: 2px;
            background: linear-gradient(90deg, transparent, #8b5cf6);
        }

        .sec-title h2::after {
            transform: scaleX(-1);
        }

    .sec-title p {
        color: #b8bdd9;
        margin: .6rem 0 0;
    }

.cert-search {
    max-width: 460px;
    margin: 0 auto 1.6rem;
    position: relative;
}

    .cert-search input {
        width: 100%;
        background: rgba(255,255,255,.05);
        border: 1px solid rgba(255,255,255,.12);
        color: #fff;
        border-radius: 999px;
        padding: .75rem 1rem .75rem 2.8rem;
        outline: none;
    }

        .cert-search input::placeholder {
            color: #8f95ba;
        }

        .cert-search input:focus {
            border-color: #8b5cf6;
            box-shadow: 0 0 0 4px rgba(139,92,246,.2);
        }

    .cert-search i {
        position: absolute;
        left: 1.05rem;
        top: 50%;
        transform: translateY(-50%);
        color: #8f95ba;
    }

/* cards — vertical glass card: icon + chip / title + text / call-to-action. Sizes in em so the admin font-size scales them. */
.c-card {
    --a1: #7c3aed;
    --a2: #a855f7;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding: 1.4em 1.4em 1.1em;
    border-radius: 22px;
    height: 100%;
    min-height: 13.5em;
    color: #fff;
    background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.025) 60%), color-mix(in srgb, var(--a1) 16%, rgba(13,18,45,.55));
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 18px 40px -18px rgba(0,0,0,.6);
    backdrop-filter: blur(18px) saturate(1.5);
    -webkit-backdrop-filter: blur(18px) saturate(1.5);
    transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s, background .35s;
}

    .c-card::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: radial-gradient(22em 9em at var(--mx, 20%) var(--my, 0%), color-mix(in srgb, var(--a2) 30%, transparent), transparent 70%);
        opacity: 0;
        transition: opacity .35s;
    }

    .c-card:hover {
        color: #fff;
        border-color: color-mix(in srgb, var(--a2) 60%, transparent);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 26px 60px -20px color-mix(in srgb, var(--a1) 70%, transparent);
    }

        .c-card:hover::before {
            opacity: 1;
        }

    .c-card .c-top {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: .6em;
    }

    .c-card .ic {
        position: relative;
        flex: 0 0 auto;
        width: 3.4em;
        height: 3.4em;
        border-radius: 1em;
        display: grid;
        place-items: center;
        color: #fff;
        overflow: hidden;
        background: linear-gradient(145deg, var(--a2), var(--a1));
        box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -2px 6px rgba(0,0,0,.18), 0 12px 24px -8px color-mix(in srgb, var(--a1) 70%, transparent);
    }

        .c-card .ic::after {
            content: "";
            position: absolute;
            left: 2px;
            right: 2px;
            top: 2px;
            height: 48%;
            border-radius: .85em .85em .5em .5em;
            background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0));
        }

        .c-card .ic i {
            position: relative;
            z-index: 1;
            font-size: 1.55em;
            filter: drop-shadow(0 2px 3px rgba(0,0,0,.18));
        }

    .c-card .tag {
        font-size: .66em;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
        padding: .35em .75em;
        border-radius: 999px;
        white-space: nowrap;
        background: rgba(255,255,255,.1);
        color: #e5e7eb;
        border: 1px solid rgba(255,255,255,.14);
    }

    .c-card .tx b {
        display: block;
        font-size: 1.1em;
        font-weight: 700;
        line-height: 1.3;
        letter-spacing: -.01em;
    }

    .c-card .tx span {
        display: block;
        color: #c4c8e2;
        font-size: .86em;
        line-height: 1.5;
        margin-top: .3em;
    }

    .c-card .c-foot {
        margin-top: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .5em;
        padding-top: .9em;
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .c-card .cta {
        font-size: .82em;
        font-weight: 700;
        letter-spacing: .02em;
        color: color-mix(in srgb, var(--a2) 65%, #fff);
    }

    .c-card .go {
        flex: 0 0 auto;
        width: 2.3em;
        height: 2.3em;
        border-radius: 50%;
        display: grid;
        place-items: center;
        border: 1px solid rgba(255,255,255,.25);
        background: rgba(255,255,255,.06);
        transition: .3s;
    }

    .c-card:hover .go {
        background: #fff;
        color: #111827;
        transform: translateX(3px);
    }

    .c-card.soon {
        cursor: default;
        opacity: .8;
    }

        .c-card.soon:hover {
            box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 18px 40px -18px rgba(0,0,0,.6);
        }

        .c-card.soon .cta {
            color: #9aa0c4;
        }

.ac-violet {
    --a1: #6d28d9;
    --a2: #a855f7;
}

.ac-teal {
    --a1: #0f766e;
    --a2: #2dd4bf;
}

.ac-amber {
    --a1: #b45309;
    --a2: #f59e0b;
}

.ac-blue {
    --a1: #1d4ed8;
    --a2: #60a5fa;
}

.ac-pink {
    --a1: #a21caf;
    --a2: #e879f9;
}

.ac-gold {
    --a1: #a16207;
    --a2: #facc15;
}

.ac-indigo {
    --a1: #3730a3;
    --a2: #818cf8;
}

.ac-rose {
    --a1: #be123c;
    --a2: #fb7185;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem 1.8rem;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    border: 1.5px solid transparent;
    background: linear-gradient(#0b1030, #0b1030) padding-box, linear-gradient(90deg, #a855f7, #ec4899, #f59e0b) border-box;
}

    .view-all:hover {
        color: #fff;
        box-shadow: 0 0 30px rgba(168,85,247,.45);
    }

/* steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
}

.step {
    padding: 1.3rem;
    border-radius: 18px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.08);
}

    .step .n {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        display: grid;
        place-items: center;
        font-weight: 800;
        background: linear-gradient(135deg,#6d28d9,#a855f7);
        margin-bottom: .8rem;
    }

    .step b {
        color: #fff;
        display: block;
        margin-bottom: .3rem;
    }

    .step p {
        color: #aeb3d3;
        margin: 0;
        font-size: .88rem;
    }

/* inner public pages */
.pub-card {
    background: rgba(255,255,255,.96);
    color: #111827;
    border-radius: 22px;
    padding: 2rem;
    box-shadow: 0 30px 80px rgba(0,0,0,.45);
}

.pub-head {
    color: #fff;
    text-align: center;
    padding: 3rem 0 1.5rem;
}

    .pub-head h1 {
        font-weight: 800;
        letter-spacing: -.02em;
    }

    .pub-head p {
        color: #b8bdd9;
    }

.lp-foot {
    padding: 1.6rem 0;
    color: #9aa0c4;
    border-top: 1px solid rgba(255,255,255,.06);
    font-size: .85rem;
}

    .lp-foot a {
        color: #c4c8e2;
    }

        .lp-foot a:hover {
            color: #fff;
        }

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
}

    .reveal.in {
        opacity: 1;
        transform: none;
    }

@media (max-width: 991.98px) {
    .stage {
        height: 360px;
        margin-top: 1rem;
    }

    .building {
        width: 85%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
