.pasf-page {
    --pasf-paper: #fff8ec;
    --pasf-cream: #fffdf8;
    --pasf-ice: #eef8ff;
    --pasf-ink: #182235;
    --pasf-soft: #4d6078;
    --pasf-muted: #708197;
    --pasf-line: rgba(24, 34, 53, 0.12);
    --pasf-saffron: #ff7a1a;
    --pasf-gold: #b97918;
    --pasf-green: #13945a;
    --pasf-blue: #2563eb;
    --pasf-cyan: #0891b2;
    --pasf-red: #dc2626;
    --pasf-shadow: 0 26px 70px rgba(34, 50, 78, 0.16);
    background:
        radial-gradient(circle at 7% 14%, rgba(255, 122, 26, 0.18), transparent 24rem),
        radial-gradient(circle at 88% 8%, rgba(8, 145, 178, 0.16), transparent 23rem),
        radial-gradient(circle at 64% 84%, rgba(19, 148, 90, 0.12), transparent 26rem),
        linear-gradient(180deg, var(--pasf-paper) 0%, #ffffff 48%, var(--pasf-ice) 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 *,
.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-bg-art {
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.pasf-bg-art__grid {
    animation: pasfGridShift 18s linear infinite;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.065) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.065) 1px, transparent 1px);
    background-size: 36px 36px;
    inset: 0;
    mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
    position: absolute;
}

.pasf-bg-art__ring {
    animation: pasfSpin 26s linear infinite;
    border: 1px solid rgba(24, 34, 53, 0.12);
    border-radius: 999px;
    height: clamp(360px, 42vw, 650px);
    position: absolute;
    right: -11%;
    top: 7%;
    width: clamp(360px, 42vw, 650px);
}

.pasf-bg-art__ring::before,
.pasf-bg-art__ring::after {
    border: 1px solid rgba(24, 34, 53, 0.1);
    border-radius: inherit;
    content: "";
    inset: 16%;
    position: absolute;
}

.pasf-bg-art__ring::after {
    border-color: rgba(255, 122, 26, 0.18);
    inset: 34%;
}

.pasf-bg-art__axis {
    background:
        linear-gradient(90deg, transparent, rgba(255, 122, 26, 0.22), transparent),
        linear-gradient(180deg, transparent, rgba(8, 145, 178, 0.18), transparent);
    border-radius: 999px;
    filter: blur(1px);
    height: 520px;
    left: -120px;
    position: absolute;
    top: 260px;
    transform: rotate(-32deg);
    width: 520px;
}

.pasf-app-hero,
.pasf-mission-board,
.pasf-section,
.pasf-upsc-lens,
.pasf-encourage,
.pasf-seo-strip {
    margin: 0 auto;
    max-width: 1220px;
    padding-left: clamp(18px, 4vw, 44px);
    padding-right: clamp(18px, 4vw, 44px);
    position: relative;
    z-index: 1;
}

.pasf-app-hero {
    align-items: center;
    display: grid;
    gap: clamp(34px, 7vw, 84px);
    grid-template-columns: minmax(0, 0.95fr) minmax(330px, 0.75fr);
    min-height: min(920px, calc(100vh - 32px));
    padding-bottom: clamp(54px, 8vw, 96px);
    padding-top: clamp(54px, 8vw, 110px);
}

.pasf-app-copy {
    max-width: 760px;
}

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

.pasf-app-badge span,
.pasf-subject-orbit span,
.pasf-seo-strip b {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--pasf-line);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(34, 50, 78, 0.08);
    color: var(--pasf-ink);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.15;
    padding: 10px 14px;
}

.pasf-kicker,
.pasf-section__head span,
.pasf-seo-strip > span {
    color: var(--pasf-gold);
    display: block;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.pasf-app-hero h1 {
    color: var(--pasf-ink);
    font-size: clamp(42px, 6.7vw, 84px);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 0.98;
    margin: 0;
}

.pasf-app-hero h1 span {
    animation: pasfTextSweep 5.5s ease-in-out infinite;
    background: linear-gradient(100deg, var(--pasf-ink) 0%, #9a5b00 22%, #087f5b 44%, var(--pasf-ink) 70%, var(--pasf-ink) 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.7;
    margin: 22px 0 0;
    max-width: 680px;
}

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

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

.pasf-btn--primary {
    background: linear-gradient(135deg, var(--pasf-saffron), #ffc247);
    box-shadow: 0 18px 38px rgba(255, 122, 26, 0.24);
    color: #172033;
}

.pasf-btn--soft {
    background: #ffffff;
    border: 1px solid var(--pasf-line);
    color: var(--pasf-ink);
}

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

.pasf-btn svg {
    height: 18px;
    width: 18px;
}

.pasf-quick-proof {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 32px;
    max-width: 650px;
}

.pasf-quick-proof span {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--pasf-line);
    border-radius: 22px;
    box-shadow: 0 16px 38px rgba(34, 50, 78, 0.08);
    color: var(--pasf-muted);
    display: grid;
    font-size: 13px;
    line-height: 1.22;
    min-height: 92px;
    padding: 16px;
}

.pasf-quick-proof strong {
    color: var(--pasf-ink);
    font-size: 27px;
    line-height: 1.1;
}

.pasf-phone-zone {
    min-height: 650px;
    perspective: 1200px;
    position: relative;
}

.pasf-phone {
    animation: pasfPhoneFloat 6s ease-in-out infinite;
    background: #111827;
    border: 10px solid #172033;
    border-radius: 42px;
    box-shadow: 0 36px 90px rgba(24, 34, 53, 0.32);
    color: #ffffff;
    margin: 0 auto;
    max-width: 365px;
    min-height: 642px;
    overflow: hidden;
    padding: 18px;
    position: relative;
    transform: rotateY(-10deg) rotateX(4deg);
    transform-style: preserve-3d;
    transition: transform 220ms ease;
}

.pasf-phone::before {
    background:
        radial-gradient(circle at 20% 8%, rgba(255, 122, 26, 0.35), transparent 9rem),
        radial-gradient(circle at 85% 0%, rgba(64, 224, 208, 0.26), transparent 10rem),
        linear-gradient(180deg, #18263f 0%, #101827 100%);
    content: "";
    inset: 0;
    position: absolute;
}

.pasf-phone > * {
    position: relative;
    z-index: 1;
}

.pasf-phone__status {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.pasf-phone__status span {
    font-size: 13px;
    font-weight: 900;
}

.pasf-phone__status b {
    background: #050b16;
    border-radius: 999px;
    height: 22px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 92px;
}

.pasf-phone__status i {
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: 5px;
    height: 11px;
    width: 22px;
}

.pasf-phone__top {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.pasf-phone__top span,
.pasf-phone__top em {
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.pasf-phone__top strong {
    display: block;
    font-size: 24px;
    line-height: 1.05;
    margin-top: 5px;
}

.pasf-phone__top em {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: #ffda89;
    padding: 9px 11px;
}

.pasf-focus-card {
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    display: grid;
    gap: 15px;
    grid-template-columns: 96px 1fr;
    margin-top: 22px;
    padding: 16px;
}

.pasf-focus-card__ring {
    align-items: center;
    background:
        radial-gradient(circle, #18263f 0 52%, transparent 53%),
        conic-gradient(#ffb84d 0 78%, rgba(255, 255, 255, 0.18) 78% 100%);
    border-radius: 999px;
    display: flex;
    height: 86px;
    justify-content: center;
    width: 86px;
}

.pasf-focus-card__ring span {
    color: #ffffff;
    font-size: 22px;
    font-weight: 950;
}

.pasf-focus-card strong {
    display: block;
    font-size: 17px;
    line-height: 1.2;
}

.pasf-focus-card p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    line-height: 1.45;
    margin: 7px 0 0;
}

.pasf-phone-tabs {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 18px;
    padding: 5px;
}

.pasf-phone-tabs span {
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 900;
    padding: 10px 7px;
    text-align: center;
}

.pasf-phone-tabs .is-active {
    background: #ffffff;
    color: #172033;
}

.pasf-task-stack {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.pasf-task-stack article {
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 22px;
    color: #172033;
    display: grid;
    gap: 12px;
    grid-template-columns: 44px 1fr auto;
    min-height: 74px;
    padding: 13px;
}

.pasf-task-stack b {
    align-items: center;
    background: #fff3d7;
    border-radius: 16px;
    color: #9a5b00;
    display: flex;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.pasf-task-stack strong,
.pasf-task-stack span {
    display: block;
}

.pasf-task-stack strong {
    font-size: 14px;
    line-height: 1.15;
}

.pasf-task-stack span,
.pasf-task-stack em {
    color: #64748b;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.25;
}

.pasf-bottom-nav {
    background: #ffffff;
    border-radius: 24px;
    bottom: 18px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
    display: grid;
    gap: 3px;
    grid-template-columns: repeat(4, 1fr);
    left: 18px;
    padding: 9px;
    position: absolute;
    right: 18px;
}

.pasf-bottom-nav span {
    align-items: center;
    border-radius: 16px;
    color: #718096;
    display: grid;
    gap: 3px;
    justify-items: center;
    min-height: 56px;
}

.pasf-bottom-nav .is-active {
    background: #172033;
    color: #ffffff;
}

.pasf-bottom-nav small {
    font-size: 10px;
    font-weight: 900;
}

.pasf-orbit-chip {
    animation: pasfChipFloat 5.5s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--pasf-line);
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(34, 50, 78, 0.16);
    color: var(--pasf-ink);
    font-size: 13px;
    font-weight: 950;
    padding: 12px 14px;
    position: absolute;
    z-index: 2;
}

.pasf-orbit-chip--one {
    left: 0;
    top: 110px;
}

.pasf-orbit-chip--two {
    animation-delay: -2s;
    right: 0;
    top: 220px;
}

.pasf-orbit-chip--three {
    animation-delay: -3.4s;
    bottom: 118px;
    left: 26px;
}

.pasf-mission-board {
    display: grid;
    gap: 16px;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    padding-bottom: clamp(52px, 8vw, 92px);
}

.pasf-board-card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--pasf-line);
    border-radius: 28px;
    box-shadow: 0 18px 48px rgba(34, 50, 78, 0.09);
    min-height: 250px;
    padding: clamp(22px, 3vw, 30px);
}

.pasf-board-card--dark {
    background:
        radial-gradient(circle at right top, rgba(255, 122, 26, 0.32), transparent 12rem),
        linear-gradient(135deg, #172033, #244364);
    color: #ffffff;
}

.pasf-board-card span,
.pasf-board-card strong {
    color: var(--pasf-gold);
    display: block;
    font-size: 13px;
    font-weight: 950;
    line-height: 1.2;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.pasf-board-card--dark span {
    color: #ffd48a;
}

.pasf-board-card h2,
.pasf-board-card h3 {
    color: inherit;
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1.05;
    margin: 0;
}

.pasf-board-card h3 {
    color: var(--pasf-ink);
    font-size: 23px;
}

.pasf-board-card p {
    color: var(--pasf-soft);
    font-size: 14px;
    line-height: 1.6;
    margin: 15px 0 0;
}

.pasf-board-card--dark p {
    color: rgba(255, 255, 255, 0.76);
}

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

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

.pasf-section__head h2,
.pasf-upsc-lens h2,
.pasf-encourage 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-upsc-lens p {
    color: var(--pasf-soft);
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.7;
    margin: 16px 0 0;
}

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

.pasf-app-tile {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--pasf-line);
    border-radius: 30px;
    box-shadow: 0 18px 48px rgba(34, 50, 78, 0.1);
    display: grid;
    gap: 18px;
    min-height: 286px;
    padding: 24px;
    transition: border-color 180ms ease, transform 180ms ease;
}

.pasf-app-tile:hover {
    border-color: rgba(255, 122, 26, 0.38);
    transform: translateY(-5px);
}

.pasf-app-tile__icon {
    align-items: center;
    background: linear-gradient(135deg, #172033, #294b70);
    border-radius: 22px;
    color: #ffc247;
    display: flex;
    height: 58px;
    justify-content: center;
    width: 58px;
}

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

.pasf-app-tile p {
    color: var(--pasf-soft);
    font-size: 14px;
    line-height: 1.6;
    margin: 10px 0 0;
}

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

.pasf-app-tile a svg {
    height: 18px;
    width: 18px;
}

.pasf-upsc-lens {
    align-items: center;
    background:
        radial-gradient(circle at left top, rgba(19, 148, 90, 0.16), transparent 16rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 249, 244, 0.86));
    border: 1px solid var(--pasf-line);
    border-radius: 34px;
    box-shadow: 0 20px 58px rgba(34, 50, 78, 0.1);
    display: grid;
    gap: 30px;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    margin-bottom: clamp(54px, 8vw, 96px);
    padding-bottom: clamp(30px, 5vw, 52px);
    padding-top: clamp(30px, 5vw, 52px);
}

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

.pasf-encourage {
    align-items: center;
    background:
        radial-gradient(circle at 86% 20%, rgba(255, 194, 71, 0.28), transparent 17rem),
        linear-gradient(135deg, #172033, #183f5c 60%, #15513a);
    border-radius: 36px;
    color: #ffffff;
    display: flex;
    gap: 30px;
    justify-content: space-between;
    margin-bottom: clamp(44px, 7vw, 78px);
    padding-bottom: clamp(30px, 5vw, 54px);
    padding-top: clamp(30px, 5vw, 54px);
}

.pasf-encourage span {
    color: #ffd48a;
    display: block;
    font-size: 12px;
    font-weight: 950;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.pasf-encourage h2 {
    color: #ffffff;
    max-width: 820px;
}

.pasf-encourage .pasf-btn {
    flex: 0 0 auto;
}

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

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

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

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

@keyframes pasfGridShift {
    from { background-position: 0 0, 0 0; }
    to { background-position: 36px 36px, 36px 36px; }
}

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

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

@keyframes pasfPhoneFloat {
    0%, 100% { transform: rotateY(-10deg) rotateX(4deg) translateY(0); }
    50% { transform: rotateY(-10deg) rotateX(4deg) translateY(-12px); }
}

@keyframes pasfChipFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
    .pasf-bg-art__grid,
    .pasf-bg-art__ring,
    .pasf-app-hero h1 span,
    .pasf-phone,
    .pasf-orbit-chip {
        animation: none;
    }
}

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

    .pasf-app-copy {
        max-width: 900px;
    }

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

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

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

@media (max-width: 820px) {
    .pasf-quick-proof {
        grid-template-columns: 1fr;
    }

    .pasf-upsc-lens {
        border-radius: 26px;
        grid-template-columns: 1fr;
        margin-left: 18px;
        margin-right: 18px;
    }

    .pasf-encourage {
        align-items: start;
        border-radius: 26px;
        flex-direction: column;
        margin-left: 18px;
        margin-right: 18px;
    }
}

@media (max-width: 640px) {
    .pasf-app-hero,
    .pasf-mission-board,
    .pasf-section,
    .pasf-seo-strip {
        padding-left: 16px;
        padding-right: 16px;
    }

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

    .pasf-phone-zone {
        min-height: 590px;
        overflow: hidden;
    }

    .pasf-phone {
        animation: none;
        border-radius: 34px;
        max-width: 332px;
        min-height: 596px;
        padding: 15px;
        transform: none;
    }

    .pasf-phone__top strong {
        font-size: 21px;
    }

    .pasf-focus-card {
        grid-template-columns: 78px 1fr;
        padding: 13px;
    }

    .pasf-focus-card__ring {
        height: 72px;
        width: 72px;
    }

    .pasf-task-stack article {
        grid-template-columns: 40px 1fr auto;
        min-height: 68px;
        padding: 10px;
    }

    .pasf-bottom-nav {
        left: 15px;
        right: 15px;
    }

    .pasf-orbit-chip {
        display: none;
    }

    .pasf-mission-board,
    .pasf-feature-dock {
        grid-template-columns: 1fr;
    }

    .pasf-board-card,
    .pasf-app-tile {
        min-height: 0;
    }

    .pasf-upsc-lens,
    .pasf-encourage {
        margin-left: 16px;
        margin-right: 16px;
        padding-left: 20px;
        padding-right: 20px;
    }
}
