.pasf-page {
    --pasf-bg: #fffaf0;
    --pasf-bg-2: #eef7ff;
    --pasf-ink: #172033;
    --pasf-soft: #4b5d75;
    --pasf-muted: #697b92;
    --pasf-line: rgba(23, 32, 51, 0.12);
    --pasf-card: rgba(255, 255, 255, 0.78);
    --pasf-card-strong: rgba(255, 255, 255, 0.94);
    --pasf-gold: #b7791f;
    --pasf-saffron: #ff7a1a;
    --pasf-green: #21c45d;
    --pasf-blue: #2563eb;
    --pasf-cyan: #0891b2;
    --pasf-red: #dc2626;
    --pasf-shadow: 0 30px 90px rgba(31, 45, 72, 0.18);
    background:
        radial-gradient(circle at 11% 12%, rgba(255, 122, 26, 0.18), transparent 24rem),
        radial-gradient(circle at 84% 8%, rgba(8, 145, 178, 0.15), transparent 24rem),
        radial-gradient(circle at 50% 70%, rgba(33, 196, 93, 0.1), transparent 26rem),
        linear-gradient(180deg, var(--pasf-bg) 0%, #ffffff 38%, var(--pasf-bg-2) 100%);
    color: var(--pasf-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.pasf-page::before {
    animation: pasfGridDrift 20s linear infinite;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.07) 1px, transparent 1px);
    background-size: 44px 44px;
    content: "";
    inset: 0;
    mask-image: linear-gradient(180deg, #000 0%, transparent 82%);
    opacity: 0.72;
    pointer-events: none;
    position: absolute;
}

.pasf-page *,
.pasf-page *::before,
.pasf-page *::after {
    box-sizing: border-box;
}

.pasf-page a {
    text-decoration: none;
}

.pasf-page svg {
    display: block;
    fill: currentColor;
    height: 20px;
    width: 20px;
}

.pasf-hero,
.pasf-section,
.pasf-timeline,
.pasf-upsc-band,
.pasf-seo-cloud,
.pasf-final-cta {
    margin: 0 auto;
    max-width: 1240px;
    padding-left: clamp(18px, 4vw, 46px);
    padding-right: clamp(18px, 4vw, 46px);
    position: relative;
    z-index: 1;
}

.pasf-hero {
    align-items: center;
    display: grid;
    gap: clamp(34px, 6vw, 74px);
    grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.84fr);
    min-height: min(900px, calc(100vh - 42px));
    padding-bottom: clamp(54px, 7vw, 94px);
    padding-top: clamp(58px, 8vw, 112px);
}

.pasf-aurora {
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.pasf-aurora span {
    animation: pasfAurora 12s ease-in-out infinite alternate;
    border-radius: 999px;
    filter: blur(7px);
    opacity: 0.42;
    position: absolute;
}

.pasf-aurora span:nth-child(1) {
    background: rgba(255, 122, 26, 0.45);
    height: 170px;
    left: 6%;
    top: 16%;
    width: 170px;
}

.pasf-aurora span:nth-child(2) {
    animation-delay: -4s;
    background: rgba(33, 196, 93, 0.28);
    height: 210px;
    right: 14%;
    top: 9%;
    width: 210px;
}

.pasf-aurora span:nth-child(3) {
    animation-delay: -7s;
    background: rgba(77, 163, 255, 0.34);
    bottom: 8%;
    height: 240px;
    left: 42%;
    width: 240px;
}

.pasf-orbit-map {
    border: 1px solid rgba(23, 32, 51, 0.12);
    border-radius: 999px;
    height: clamp(340px, 44vw, 660px);
    pointer-events: none;
    position: absolute;
    right: -12%;
    top: 9%;
    transform: rotate(-16deg);
    width: clamp(340px, 44vw, 660px);
}

.pasf-orbit-map::before,
.pasf-orbit-map::after {
    border: 1px solid rgba(23, 32, 51, 0.1);
    border-radius: inherit;
    content: "";
    inset: 12%;
    position: absolute;
}

.pasf-orbit-map::after {
    inset: 28%;
}

.pasf-orbit-map i {
    animation: pasfOrbit 11s linear infinite;
    background: var(--pasf-gold);
    border-radius: 999px;
    box-shadow: 0 0 26px rgba(244, 182, 63, 0.7);
    height: 10px;
    left: 50%;
    position: absolute;
    top: -5px;
    transform-origin: 0 calc(clamp(340px, 44vw, 660px) / 2);
    width: 10px;
}

.pasf-orbit-map i:nth-child(2) {
    animation-delay: -3s;
    background: var(--pasf-cyan);
}

.pasf-orbit-map i:nth-child(3) {
    animation-delay: -6s;
    background: var(--pasf-green);
}

.pasf-orbit-map i:nth-child(4) {
    animation-delay: -8s;
    background: var(--pasf-red);
}

.pasf-hero__copy {
    max-width: 710px;
}

.pasf-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.pasf-chips span,
.pasf-subjects span,
.pasf-seo-cloud b {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--pasf-line);
    border-radius: 999px;
    color: var(--pasf-ink);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.15;
    padding: 10px 14px;
}

.pasf-kicker {
    color: var(--pasf-gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.pasf-hero h1 {
    font-size: clamp(46px, 7vw, 88px);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 0.98;
    margin: 0;
    max-width: 780px;
}

.pasf-hero h1 span {
    animation: pasfTextShine 5.5s ease-in-out infinite;
    background: linear-gradient(100deg, #172033 0%, #b7791f 24%, #0f766e 46%, #172033 64%, #172033 100%);
    background-size: 240% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pasf-lede {
    color: var(--pasf-soft);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.72;
    margin: 22px 0 0;
    max-width: 660px;
}

.pasf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.pasf-btn {
    align-items: center;
    border-radius: 14px;
    display: inline-flex;
    font-size: 15px;
    font-weight: 900;
    gap: 10px;
    justify-content: center;
    min-height: 52px;
    padding: 14px 20px;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.pasf-btn--primary {
    background: linear-gradient(135deg, var(--pasf-saffron), var(--pasf-gold));
    box-shadow: 0 18px 42px rgba(255, 122, 26, 0.25);
    color: #111827;
}

.pasf-btn--primary:hover,
.pasf-btn--primary:focus {
    color: #111827;
    transform: translateY(-2px);
}

.pasf-btn--ghost {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--pasf-line);
    color: var(--pasf-ink);
}

.pasf-btn--ghost:hover,
.pasf-btn--ghost:focus {
    background: #ffffff;
    color: var(--pasf-ink);
}

.pasf-metrics {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 34px;
}

.pasf-metrics span {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--pasf-line);
    border-radius: 18px;
    color: var(--pasf-muted);
    display: grid;
    font-size: 12px;
    line-height: 1.25;
    min-height: 90px;
    padding: 14px;
}

.pasf-metrics strong {
    color: var(--pasf-ink);
    font-size: 25px;
    line-height: 1.1;
}

.pasf-hero__visual {
    min-height: 540px;
    perspective: 1100px;
}

.pasf-stage {
    animation: pasfStageFloat 6.5s ease-in-out infinite;
    height: 540px;
    position: relative;
    transform: rotateX(58deg) rotateZ(-34deg);
    transform-style: preserve-3d;
    transition: transform 240ms ease;
}

.pasf-stage::before {
    background:
        linear-gradient(90deg, rgba(37, 99, 235, 0.14) 1px, transparent 1px),
        linear-gradient(rgba(37, 99, 235, 0.14) 1px, transparent 1px),
        linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(255, 122, 26, 0.1), rgba(33, 196, 93, 0.08));
    background-size: 32px 32px, 32px 32px, auto;
    border: 1px solid rgba(23, 32, 51, 0.1);
    border-radius: 34px;
    box-shadow: var(--pasf-shadow);
    content: "";
    inset: 74px 14px 18px 22px;
    position: absolute;
    transform: translateZ(-38px);
}

.pasf-parliament {
    background: linear-gradient(180deg, #f7d28a, #ae6d2a);
    border-radius: 999px 999px 24px 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    display: flex;
    gap: 12px;
    height: 128px;
    justify-content: center;
    left: 66px;
    padding: 34px 24px 16px;
    position: absolute;
    top: 42px;
    transform: translateZ(86px);
    width: 330px;
}

.pasf-parliament::before {
    background: #ffd98f;
    border-radius: 999px 999px 18px 18px;
    content: "";
    height: 68px;
    left: 50%;
    position: absolute;
    top: -38px;
    transform: translateX(-50%);
    width: 120px;
}

.pasf-parliament span {
    background: rgba(17, 24, 39, 0.42);
    border-radius: 999px;
    height: 74px;
    width: 22px;
}

.pasf-desk {
    height: 390px;
    left: 48px;
    position: absolute;
    top: 132px;
    transform-style: preserve-3d;
    width: 465px;
}

.pasf-tablet,
.pasf-answer-sheet,
.pasf-book,
.pasf-compass,
.pasf-floating-card {
    box-shadow: 0 20px 42px rgba(31, 45, 72, 0.2);
    position: absolute;
    transform-style: preserve-3d;
}

.pasf-tablet {
    background: linear-gradient(145deg, #111827, #22365b);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    color: #ffffff;
    height: 250px;
    left: 116px;
    padding: 28px;
    top: 46px;
    transform: translateZ(128px) rotateZ(10deg);
    width: 230px;
}

.pasf-tablet__bar {
    background: linear-gradient(90deg, var(--pasf-saffron), var(--pasf-green), var(--pasf-blue));
    border-radius: 999px;
    height: 12px;
    margin-bottom: 28px;
    width: 76px;
}

.pasf-tablet__title {
    font-size: 20px;
    font-weight: 900;
    line-height: 1.1;
}

.pasf-tablet__line {
    background: rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    height: 10px;
    margin-top: 16px;
    width: 62%;
}

.pasf-tablet__line--wide {
    width: 100%;
}

.pasf-tablet__score {
    background: rgba(64, 224, 208, 0.14);
    border: 1px solid rgba(64, 224, 208, 0.3);
    border-radius: 14px;
    bottom: 22px;
    color: #b7fff7;
    font-size: 13px;
    font-weight: 900;
    left: 22px;
    padding: 10px 12px;
    position: absolute;
}

.pasf-answer-sheet {
    background: #fffaf0;
    border-radius: 16px;
    color: #192338;
    height: 210px;
    left: 282px;
    padding: 20px;
    top: 88px;
    transform: translateZ(84px) rotateZ(-13deg);
    width: 150px;
}

.pasf-answer-sheet b {
    color: #b45309;
    display: block;
    font-size: 18px;
    margin-bottom: 14px;
}

.pasf-answer-sheet span {
    background: rgba(25, 35, 56, 0.2);
    border-radius: 999px;
    display: block;
    height: 8px;
    margin-bottom: 12px;
}

.pasf-answer-sheet em {
    bottom: 18px;
    color: #15803d;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    left: 20px;
    position: absolute;
}

.pasf-book {
    align-items: center;
    border-radius: 12px;
    color: #ffffff;
    display: flex;
    font-size: 13px;
    font-weight: 900;
    height: 72px;
    justify-content: center;
    width: 142px;
}

.pasf-book--one {
    background: linear-gradient(135deg, #1d4ed8, #38bdf8);
    left: 40px;
    top: 230px;
    transform: translateZ(92px) rotateZ(-18deg);
}

.pasf-book--two {
    background: linear-gradient(135deg, #b91c1c, #fb7185);
    left: 70px;
    top: 300px;
    transform: translateZ(76px) rotateZ(-18deg);
}

.pasf-compass {
    animation: pasfCompass 4s ease-in-out infinite;
    background:
        conic-gradient(from 30deg, #fef3c7, #f59e0b, #111827, #fef3c7);
    border: 9px solid rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    height: 84px;
    left: 328px;
    top: 296px;
    transform: translateZ(126px);
    width: 84px;
}

.pasf-compass::before {
    background: #111827;
    clip-path: polygon(50% 0, 62% 54%, 50% 100%, 38% 54%);
    content: "";
    inset: 14px 32px;
    position: absolute;
}

.pasf-floating-card {
    animation: pasfCardFloat 5s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(23, 32, 51, 0.12);
    border-radius: 16px;
    color: var(--pasf-ink);
    font-size: 13px;
    font-weight: 900;
    padding: 13px 15px;
    white-space: nowrap;
}

.pasf-floating-card--one {
    left: 12px;
    top: 146px;
    transform: translateZ(170px) rotateZ(15deg);
}

.pasf-floating-card--two {
    animation-delay: -2s;
    right: 46px;
    top: 118px;
    transform: translateZ(180px) rotateZ(-10deg);
}

.pasf-floating-card--three {
    animation-delay: -3.5s;
    bottom: 38px;
    left: 214px;
    transform: translateZ(188px) rotateZ(8deg);
}

.pasf-section {
    padding-bottom: clamp(54px, 8vw, 96px);
    padding-top: clamp(52px, 8vw, 94px);
}

.pasf-section__head {
    margin: 0 auto 30px;
    max-width: 820px;
    text-align: center;
}

.pasf-section__head span,
.pasf-seo-cloud > span {
    color: var(--pasf-gold);
    display: block;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.pasf-section__head h2,
.pasf-timeline h2,
.pasf-upsc-band h2,
.pasf-final-cta h2 {
    color: var(--pasf-ink);
    font-size: clamp(30px, 5vw, 56px);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1.04;
    margin: 0;
}

.pasf-section__head p,
.pasf-timeline p,
.pasf-final-cta p {
    color: var(--pasf-soft);
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.72;
    margin: 16px 0 0;
}

.pasf-feature-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pasf-feature-card {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 240, 0.82)),
        radial-gradient(circle at top right, rgba(244, 182, 63, 0.18), transparent 12rem);
    border: 1px solid var(--pasf-line);
    border-radius: 22px;
    box-shadow: 0 20px 55px rgba(31, 45, 72, 0.12);
    display: flex;
    flex-direction: column;
    min-height: 282px;
    padding: 24px;
    transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.pasf-feature-card:hover {
    border-color: rgba(244, 182, 63, 0.45);
    transform: translateY(-5px);
}

.pasf-feature-card__icon {
    align-items: center;
    background: rgba(255, 246, 220, 0.9);
    border: 1px solid var(--pasf-line);
    border-radius: 16px;
    color: var(--pasf-gold);
    display: inline-flex;
    height: 52px;
    justify-content: center;
    margin-bottom: 18px;
    width: 52px;
}

.pasf-feature-card h3 {
    color: var(--pasf-ink);
    font-size: 21px;
    font-weight: 900;
    line-height: 1.18;
    margin: 0;
}

.pasf-feature-card p {
    color: var(--pasf-soft);
    font-size: 14px;
    line-height: 1.62;
    margin: 12px 0 20px;
}

.pasf-feature-card a {
    align-items: center;
    color: #9a5b00;
    display: inline-flex;
    font-size: 14px;
    font-weight: 900;
    gap: 8px;
    margin-top: auto;
}

.pasf-feature-card a svg,
.pasf-btn svg {
    height: 18px;
    width: 18px;
}

.pasf-timeline {
    align-items: start;
    display: grid;
    gap: 30px;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    padding-bottom: clamp(54px, 8vw, 96px);
}

.pasf-timeline__copy {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(238, 247, 255, 0.78));
    border: 1px solid var(--pasf-line);
    border-radius: 28px;
    padding: clamp(26px, 4vw, 46px);
    position: sticky;
    top: 20px;
}

.pasf-steps {
    display: grid;
    gap: 16px;
}

.pasf-steps article {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--pasf-line);
    border-radius: 22px;
    display: grid;
    gap: 10px 18px;
    grid-template-columns: 72px 1fr;
    min-height: 154px;
    padding: 22px;
}

.pasf-steps strong {
    align-items: center;
    background: linear-gradient(135deg, var(--pasf-saffron), var(--pasf-gold));
    border-radius: 18px;
    color: #111827;
    display: inline-flex;
    font-size: 20px;
    height: 62px;
    justify-content: center;
    width: 62px;
}

.pasf-steps h3 {
    color: var(--pasf-ink);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.15;
    margin: 0;
}

.pasf-steps p {
    grid-column: 2;
    margin: -38px 0 0;
}

.pasf-upsc-band {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(233, 245, 236, 0.9)),
        radial-gradient(circle at right, rgba(244, 182, 63, 0.2), transparent 20rem);
    border: 1px solid rgba(23, 32, 51, 0.12);
    border-radius: 30px;
    display: grid;
    gap: 26px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    margin-bottom: clamp(54px, 8vw, 96px);
    padding-bottom: clamp(30px, 5vw, 52px);
    padding-top: clamp(30px, 5vw, 52px);
}

.pasf-subjects {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pasf-seo-cloud {
    border-bottom: 1px solid var(--pasf-line);
    border-top: 1px solid var(--pasf-line);
    padding-bottom: 28px;
    padding-top: 28px;
}

.pasf-seo-cloud div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pasf-final-cta {
    align-items: center;
    display: flex;
    gap: 28px;
    justify-content: space-between;
    padding-bottom: clamp(56px, 8vw, 102px);
    padding-top: clamp(54px, 8vw, 96px);
}

.pasf-final-cta > div {
    max-width: 820px;
}

.pasf-final-cta .pasf-btn {
    flex: 0 0 auto;
}

.pasf-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.pasf-reveal.is-pasf-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pasfGridDrift {
    from { background-position: 0 0, 0 0; }
    to { background-position: 44px 44px, 44px 44px; }
}

@keyframes pasfAurora {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(24px, -18px, 0) scale(1.14); }
}

@keyframes pasfOrbit {
    to { transform: rotate(360deg); }
}

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

@keyframes pasfStageFloat {
    0%, 100% { transform: rotateX(58deg) rotateZ(-34deg) translateY(0); }
    50% { transform: rotateX(58deg) rotateZ(-34deg) translateY(-14px); }
}

@keyframes pasfCompass {
    0%, 100% { transform: translateZ(126px) rotateZ(0deg); }
    50% { transform: translateZ(126px) rotateZ(16deg); }
}

@keyframes pasfCardFloat {
    0%, 100% { margin-top: 0; }
    50% { margin-top: -16px; }
}

@media (prefers-reduced-motion: reduce) {
    .pasf-page::before,
    .pasf-aurora span,
    .pasf-orbit-map i,
    .pasf-hero h1 span,
    .pasf-stage,
    .pasf-compass,
    .pasf-floating-card {
        animation: none;
    }
}

@media (max-width: 1080px) {
    .pasf-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .pasf-hero__copy {
        max-width: 860px;
    }

    .pasf-hero__visual {
        margin: 0 auto;
        max-width: 620px;
        width: 100%;
    }

    .pasf-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 840px) {
    .pasf-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pasf-timeline,
    .pasf-upsc-band {
        grid-template-columns: 1fr;
    }

    .pasf-timeline__copy {
        position: relative;
        top: auto;
    }

    .pasf-upsc-band {
        border-radius: 24px;
        margin-left: 18px;
        margin-right: 18px;
    }

    .pasf-final-cta {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .pasf-hero,
    .pasf-section,
    .pasf-timeline,
    .pasf-seo-cloud,
    .pasf-final-cta {
        padding-left: 16px;
        padding-right: 16px;
    }

    .pasf-actions,
    .pasf-btn {
        width: 100%;
    }

    .pasf-feature-grid,
    .pasf-metrics {
        grid-template-columns: 1fr;
    }

    .pasf-hero__visual {
        min-height: 390px;
        overflow: hidden;
    }

    .pasf-stage {
        height: 390px;
        margin-left: -28px;
        animation: none;
        transform: scale(0.72) rotateX(58deg) rotateZ(-34deg);
        transform-origin: 50% 28%;
        width: 560px;
    }

    .pasf-steps article {
        grid-template-columns: 1fr;
    }

    .pasf-steps p {
        grid-column: auto;
        margin: 0;
    }

    .pasf-upsc-band {
        margin-left: 16px;
        margin-right: 16px;
        padding-left: 20px;
        padding-right: 20px;
    }
}
