.landing-active .hero { min-height: 700px; padding-bottom: 60px; }
.landing-active .hero-content > p { max-width: 660px; }
.landing-active .hero-metrics { max-width: 670px; }
.landing-active .hero-metrics strong { font-size: clamp(18px, 2vw, 27px); font-weight: 600; }
.landing-active .program-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.landing-active .program-card { display: flex; flex-direction: column; min-width: 0; min-height: 470px; padding: 32px; }
.landing-active .card-top { margin-bottom: 28px; }
.landing-active .program-card h3 { min-height: 0; margin-bottom: 16px; font-size: clamp(18px, 1.8vw, 25px); }
.landing-active .program-card > p { margin: 0 0 22px; color: #a4afa5; font-size: 13px; line-height: 1.8; }
.landing-active .program-card ul { margin-bottom: 26px; font-size: 12px; line-height: 1.6; }
.landing-active .program-card > a { margin-top: auto; padding-top: 17px; font-size: 12px; }
.landing-active .program-card:target { border-color: var(--green); }
.landing-active .program-card { scroll-margin-top: 110px; }
.landing-active .pillar-heading .kicker { margin-bottom: 18px; }
.landing-active .steps-copy p { max-width: 520px; }
.landing-active .cta-panel > p { max-width: 560px; margin: 0 auto 30px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.landing-active .footer-links { flex-wrap: wrap; gap: 24px; }
.landing-active a:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }

@media (max-width: 1180px) {
    .landing-active .nav-menu { gap: 15px; }
    .landing-active .nav-menu a { font-size: 11px; white-space: nowrap; }
    .landing-active .program-grid { gap: 16px; }
    .landing-active .program-card { padding: 25px; }
    .landing-active .program-card .icon-box { width: 58px; height: 58px; }
    .landing-active .program-card h3 { font-size: 18px; }
}

@media (max-width: 820px) {
    .landing-active .program-grid { grid-template-columns: 1fr; }
    .landing-active .program-card { min-height: 0; padding: 28px; }
    .landing-active .program-card > a { margin-top: 0; }
    .landing-active .hero { min-height: 660px; }
}

@media (max-width: 580px) {
    .landing-active .hero { min-height: 610px; padding-bottom: 36px; }
    .landing-active .hero-metrics strong { font-size: 18px; }
    .landing-active .hero-metrics span { max-width: 96px; font-size: 10px; }
    .landing-active .section-heading h2 { font-size: 28px; }
    .landing-active .program-grid { gap: 16px; }
    .landing-active .program-card { padding: 25px 22px; }
    .landing-active .program-card h3 { font-size: 21px; }
    .landing-active .program-card > p { font-size: 12px; }
    .landing-active .program-card ul { font-size: 12px; }
    .landing-active .program-card > a { font-size: 12px; }
    .landing-active .cta-panel > p { font-size: 12px; }
    .landing-active .footer-links { gap: 18px; }
}

/* Kartu komunitas: susunan vertikal, glow hijau, dan bingkai ikon bergerak. */
@property --community-orbit-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.landing-active #komunitas { scroll-margin-top: 110px; }
.landing-active .community-section { max-width: 1160px; margin-inline: auto; padding: 76px 28px; }
.landing-active .community-heading { max-width: 650px; margin-bottom: 28px; }
.landing-active .community-heading .kicker { font-size: 10px; letter-spacing: 2px; }
.landing-active .community-heading h2 { margin: 14px 0 12px; font-size: clamp(25px, 2.5vw, 32px); line-height: 1.35; letter-spacing: -.8px; }
.landing-active .community-heading h2 em { color: var(--green); font-style: normal; }
.landing-active .community-heading > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.landing-active .community-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.landing-active .community-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(54, 255, 22, .23);
    border-radius: 18px;
    background: radial-gradient(ellipse at 50% 75%, rgba(54, 255, 22, .075), transparent 65%), linear-gradient(145deg, #101210, #080a08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
    transition: opacity .7s ease, transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.landing-active .community-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(380px circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(54, 255, 22, .14), transparent 75%);
    transition: opacity .3s ease;
}
.landing-active .community-card:is(:hover, :focus-within) {
    border-color: rgba(54, 255, 22, .6);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .3), 0 0 26px rgba(54, 255, 22, .075);
}
.landing-active .community-card:is(:hover, :focus-within)::before { opacity: 1; }
.landing-active .community-card.visible.is-interacting { transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-2px); }
.landing-active .community-card-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; margin-bottom: 20px; }
.landing-active .community-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border: 1px solid rgba(54, 255, 22, .2);
    border-radius: 17px;
    color: #f5f7f4;
    background: #0b0e0b;
    transition: background .25s ease, box-shadow .25s ease;
}
.landing-active .community-icon::before {
    content: '';
    position: absolute;
    inset: -1px;
    padding: 1px;
    border-radius: inherit;
    background: conic-gradient(from var(--community-orbit-angle), transparent 0deg 295deg, rgba(54, 255, 22, .15) 318deg, #36ff16 337deg, #e4ffde 343deg, #36ff16 349deg, transparent 357deg);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: community-icon-orbit 4s linear infinite;
    pointer-events: none;
}
.landing-active .community-card-vip .community-icon::before { animation-delay: -2s; }
.landing-active .community-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.landing-active .community-card:hover .community-icon { background: #10180e; box-shadow: 0 0 20px rgba(54, 255, 22, .08); }
.landing-active .community-tag { color: #95a791; font-size: 9px; letter-spacing: 1.1px; text-align: right; }
.landing-active .community-card h3 { margin: 0 0 8px; color: #f5f7f4; font-size: 20px; font-weight: 600; line-height: 1.4; letter-spacing: -.3px; }
.landing-active .community-card > p { max-width: 730px; margin: 0 0 22px; color: #9da59c; font-size: 13px; line-height: 1.8; }
.landing-active .community-card .button { min-height: 40px; padding: 8px 17px; border: 1px solid rgba(54, 255, 22, .8); border-radius: 999px; color: #eff7ed; background: rgba(8, 12, 8, .4); font-size: 12px; font-weight: 500; line-height: 1.5; white-space: normal; text-align: center; }
.landing-active .community-card .community-action::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: 18px; }
.landing-active .community-card .community-action:is(:hover, :focus-visible) { transform: none; background: rgba(54, 255, 22, .08); box-shadow: 0 0 16px rgba(54, 255, 22, .08); }
.landing-active .community-card button:disabled { opacity: .55; cursor: default; }
.landing-active .community-card > small { margin-top: 14px; color: #7f8a7e; font-size: 11px; line-height: 1.8; }

/* Gaya bersama untuk kartu Publik dan VIP dengan palet hijau TNL. */
.landing-active .community-card-featured {
    border-color: rgba(54, 255, 22, .48);
    background: radial-gradient(ellipse at 85% 20%, rgba(54, 255, 22, .12), transparent 65%), linear-gradient(145deg, #142010, #090d08);
    box-shadow: inset 0 1px 0 rgba(211, 255, 200, .06), 0 0 32px rgba(54, 255, 22, .055);
}
.landing-active .community-card-featured::after {
    content: '';
    position: absolute;
    inset: 0 15% auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(153, 255, 128, .85), transparent);
    pointer-events: none;
}
.landing-active .community-card-featured::before {
    background: radial-gradient(420px circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(54, 255, 22, .2), transparent 75%);
}
.landing-active .community-card-featured:is(:hover, :focus-within) {
    border-color: rgba(112, 255, 83, .8);
    box-shadow: inset 0 1px 0 rgba(211, 255, 200, .08), 0 16px 40px rgba(0, 0, 0, .35), 0 0 36px rgba(54, 255, 22, .13);
}
.landing-active .community-card-featured.visible.is-interacting {
    transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-4px);
}
.landing-active .community-card-featured .community-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border: 1px solid rgba(112, 255, 83, .3);
    border-radius: 999px;
    color: #c9ffb9;
    background: rgba(54, 255, 22, .09);
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}
.landing-active .community-badge::before {
    content: '';
    width: 4px;
    height: 4px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 7px rgba(54, 255, 22, .6);
}
.landing-active .community-card-featured .community-icon {
    color: #b2ff8f;
    border-color: rgba(112, 255, 83, .35);
    background: radial-gradient(circle at 50% 65%, rgba(54, 255, 22, .12), transparent 80%), #0d160b;
    box-shadow: 0 0 24px rgba(54, 255, 22, .09), inset 0 0 16px rgba(54, 255, 22, .04);
}
.landing-active .community-card-featured .community-icon svg {
    fill: rgba(54, 255, 22, .12);
    filter: drop-shadow(0 0 5px rgba(54, 255, 22, .3));
}
.landing-active .community-card-featured .community-action {
    color: #071204;
    border-color: var(--green);
    background: var(--green);
    box-shadow: 0 0 20px rgba(54, 255, 22, .15);
    font-weight: 600;
}
.landing-active .community-card-featured .community-action:is(:hover, :focus-visible) {
    color: #071204;
    background: #83ff65;
    border-color: #83ff65;
    box-shadow: 0 0 26px rgba(54, 255, 22, .25);
}

@keyframes community-icon-orbit { to { --community-orbit-angle: 360deg; } }

@media (max-width: 580px) {
    .landing-active .community-section { padding: 56px 16px; }
    .landing-active .community-heading { margin-bottom: 24px; }
    .landing-active .community-grid { gap: 14px; }
    .landing-active .community-card { padding: 23px 21px; }
    .landing-active .community-card h3 { font-size: 18px; }
    .landing-active .community-card > p { font-size: 12px; }
    .landing-active .community-icon { width: 58px; height: 58px; border-radius: 15px; }
    .landing-active .community-tag { font-size: 8px; letter-spacing: .7px; }
    .landing-active .community-card > small { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .landing-active .community-card,
    .landing-active .community-card::before,
    .landing-active .community-icon { transition: none; }
    .landing-active .community-card.visible.is-interacting { transform: none; }
    .landing-active .community-icon::before { animation: none; }
}
