:root {
    --shine-blue: #60a5fa;
    --shine-violet: #a78bfa;
    --shine-purple: #8b5cf6;
    --shine-gold: #fbbf24;
    --shine-ink: #f8fafc;
    --shine-muted: #cbd5e1;
    --shine-line: rgba(255, 255, 255, 0.14);
    --shine-glass: rgba(255, 255, 255, 0.075);
    --shine-glass-strong: rgba(255, 255, 255, 0.12);
    --shine-paper: rgba(15, 23, 42, 0.62);
    --shine-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
    --dashboard-sticky-offset: 154px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--shine-ink);
    background:
        radial-gradient(
            circle at 18% 8%,
            rgba(96, 165, 250, 0.22),
            transparent 30%
        ),
        radial-gradient(
            circle at 82% 4%,
            rgba(139, 92, 246, 0.2),
            transparent 28%
        ),
        radial-gradient(
            circle at 70% 78%,
            rgba(109, 40, 217, 0.22),
            transparent 34%
        ),
        linear-gradient(145deg, #0f172a 0%, #111827 44%, #1e1b4b 100%);
    background-attachment: fixed;
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(15, 23, 42, 0.72);
    border-bottom: 1px solid var(--shine-line);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.16);
}

.header-inner,
.footer-inner,
.section-inner {
    width: min(1140px, calc(100% - 32px));
    margin: 0 auto;
}

.header-inner {
    min-height: 86px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand img {
    width: 112px;
    box-sizing: content-box;
    height: auto;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    color: #e2e8f0;
    font-size: 15px;
    letter-spacing: 0.02em;
}

.nav a {
    transition:
        color 160ms ease,
        opacity 160ms ease;
}

.nav a:hover,
.footer-links a:hover {
    color: #ffffff;
    opacity: 0.82;
}

.socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-link {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--shine-line);
    border-radius: 50%;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    background: var(--shine-glass);
    backdrop-filter: blur(12px);
}

.social-link img {
    width: 15px;
    height: 15px;
    filter: invert(1);
    opacity: 0.9;
}

/* Instagram social link size increase (bumped up to half again its size, 30px * 1.5 = 45px) */
.social-link.social-instagram {
    width: 45px;
    height: 45px;
}

.social-link.social-instagram img {
    width: 22px;
    height: 22px;
}

/* Facebook call to action highlight (way larger, with shine, wiggle, and glow) */
.social-link.social-facebook-cta {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #1877f2 0%, #0056b3 100%);
    border-color: rgba(24, 119, 242, 0.4);
    box-shadow: 0 0 12px rgba(24, 119, 242, 0.4);
    position: relative;
    overflow: hidden;
    animation: 
        fb-glow 3s infinite ease-in-out,
        fb-wiggle 6s infinite ease-in-out;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.social-link.social-facebook-cta img {
    width: 26px;
    height: 26px;
}

/* Hover effects for Facebook CTA */
.social-link.social-facebook-cta:hover {
    transform: scale(1.1) rotate(4deg);
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.8), 0 0 35px rgba(96, 165, 250, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Glowing animation */
@keyframes fb-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(24, 119, 242, 0.4), 0 0 5px rgba(24, 119, 242, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(24, 119, 242, 0.7), 0 0 10px rgba(96, 165, 250, 0.5);
    }
}

/* Wiggling animation (periodic shake to draw attention) */
@keyframes fb-wiggle {
    0%, 90%, 100% {
        transform: rotate(0);
    }
    92% {
        transform: rotate(-10deg) scale(1.05);
    }
    94% {
        transform: rotate(10deg) scale(1.05);
    }
    96% {
        transform: rotate(-8deg) scale(1.05);
    }
    98% {
        transform: rotate(8deg) scale(1.05);
    }
}

/* Shine overlay effect */
.social-link.social-facebook-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(30deg);
    transition: none;
    pointer-events: none;
    opacity: 0;
    animation: fb-sheen 4s infinite ease-in-out;
}

@keyframes fb-sheen {
    0% {
        left: -60%;
        opacity: 0;
    }
    10% {
        left: 130%;
        opacity: 0.8;
    }
    11%, 100% {
        left: 130%;
        opacity: 0;
    }
}

.dashboard-strip {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(90deg, rgba(96, 165, 250, 0.16), rgba(167, 139, 250, 0.18), rgba(251, 191, 36, 0.1)),
        rgba(15, 23, 42, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.dashboard-strip-inner {
    width: min(1140px, calc(100% - 32px));
    margin: 0 auto;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    color: #cbd5e1;
    font-size: 14px;
}

.dashboard-strip-note {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: #e0f2fe;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-strip-pointer {
    position: relative;
    width: 38px;
    height: 18px;
    flex: 0 0 38px;
    opacity: 0.94;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.24));
    animation: dashboard-pointer-nudge 2.8s infinite ease-in-out;
}

.dashboard-strip-pointer::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 1px;
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(147, 197, 253, 0.2), #fbbf24);
}

.dashboard-strip-pointer::after {
    content: "";
    position: absolute;
    top: 3px;
    right: 2px;
    width: 11px;
    height: 11px;
    border-top: 2px solid #fbbf24;
    border-right: 2px solid #fbbf24;
    transform: rotate(45deg);
}

.dashboard-strip-cta {
    position: relative;
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 9px 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 58%, #f59e0b 140%);
    box-shadow:
        0 12px 34px rgba(37, 99, 235, 0.28),
        0 0 18px rgba(251, 191, 36, 0.12);
}

.dashboard-strip-cta::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -50%;
    width: 24%;
    height: 220%;
    background: rgba(255, 255, 255, 0.38);
    transform: rotate(28deg);
    opacity: 0;
    animation: dashboard-cta-sheen 5s infinite ease-in-out;
    pointer-events: none;
}

.dashboard-strip-cta:hover {
    transform: translateY(-1px);
    box-shadow:
        0 16px 42px rgba(124, 58, 237, 0.34),
        0 0 24px rgba(251, 191, 36, 0.18);
}

@keyframes dashboard-cta-sheen {
    0%, 72% {
        left: -50%;
        opacity: 0;
    }
    80% {
        opacity: 0.78;
    }
    88%, 100% {
        left: 126%;
        opacity: 0;
    }
}

@keyframes dashboard-pointer-nudge {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

.hero {
    min-height: 680px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    overflow: visible;
    text-align: center;
    color: #ffffff;
    background:
        linear-gradient(rgba(8, 13, 27, 0.44), rgba(8, 13, 27, 0.5)),
        url("home.png")
            center / cover;
}

.hero-content {
    width: min(820px, calc(100% - 32px));
    padding: 58px 48px;
    border: 1px solid var(--shine-line);
    border-radius: 28px;
    background: rgba(15, 23, 42, 0.46);
    box-shadow: var(--shine-shadow);
    backdrop-filter: blur(18px);
    margin-bottom: -220px;
    z-index: 10;
}

.hero + .section.soft {
    padding-top: 270px;
}

.hero h1 {
    margin: 0 0 30px;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.38;
    letter-spacing: 0;
    font-weight: 700;
    text-shadow: 0 3px 30px rgba(0, 0, 0, 0.4);
}

.hero p {
    margin: 0 auto 34px;
    max-width: 780px;
    font-size: clamp(20px, 3vw, 30px);
    line-height: 1.38;
    font-weight: 500;
}

.button-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}

.button {
    min-width: 176px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 15px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 52%, #6d28d9 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.24);
    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        border-color 160ms ease;
}

.button:hover {
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow: 0 20px 54px rgba(124, 58, 237, 0.34);
    transform: translateY(-2px);
}

.button.secondary {
    background: rgba(255, 255, 255, 0.92);
    color: #1e1b4b;
}

.section {
    padding: 74px 0;
    position: relative;
}

.section.soft {
    background: rgba(15, 23, 42, 0.28);
    border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.section-title {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12;
    letter-spacing: 0;
    text-align: center;
    text-shadow: 0 10px 40px rgba(96, 165, 250, 0.18);
}

.section-lede {
    max-width: 760px;
    margin: 0 auto 42px;
    color: var(--shine-muted);
    font-size: 18px;
    text-align: center;
}

.home-what-section {
    padding: 102px 0 92px;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.42)),
        rgba(15, 23, 42, 0.18);
}

.home-what-intro {
    width: min(980px, 100%);
    margin: 0 auto 56px;
    padding: 48px 56px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.74), rgba(30, 27, 75, 0.56));
    box-shadow: var(--shine-shadow);
    backdrop-filter: blur(16px);
}

.home-what-intro .eyebrow {
    margin: 0 0 14px;
    color: var(--shine-gold);
    letter-spacing: 0.14em;
}

.section-title.home-what-title {
    display: block;
    margin: 0 auto 22px;
    color: #ffffff;
    font-size: clamp(54px, 8vw, 104px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: 0;
    text-align: center;
    text-shadow: 0 22px 70px rgba(96, 165, 250, 0.26);
}

.section-lede.home-what-lede {
    max-width: 820px;
    margin: 0 auto;
    color: #e2e8f0;
    font-size: clamp(20px, 2.6vw, 30px);
    line-height: 1.42;
    font-weight: 650;
    text-align: center;
}

.video-wrap {
    width: min(960px, 100%);
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: #101827;
    border: 1px solid var(--shine-line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shine-shadow);
}

.video-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.pillars-grid,
.cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.pillar,
.action-card {
    background: var(--shine-glass);
    border: 1px solid var(--shine-line);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(16px);
    transition:
        transform 160ms ease,
        background 160ms ease,
        border-color 160ms ease;
}

.pillar {
    padding: 24px 20px;
    border-radius: 18px;
}

.pillar:hover,
.action-card:hover {
    transform: translateY(-3px);
    background: var(--shine-glass-strong);
    border-color: rgba(255, 255, 255, 0.24);
}

.pillar img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: 18px;
}

.pillar h3,
.action-card h3,
.stub-card h2 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: 0;
}

.pillar p,
.action-card p,
.stub-card p {
    margin: 0;
    color: var(--shine-muted);
}

.cards-grid {
    grid-template-columns: repeat(3, 1fr);
}

.action-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    padding: 46px;
    opacity: 0.96;
}

.action-card-body {
    padding: 24px;
}

.action-card {
    border-radius: 20px;
    overflow: hidden;
}

.contact-band {
    background: linear-gradient(
        135deg,
        rgba(37, 99, 235, 0.72),
        rgba(124, 58, 237, 0.68),
        rgba(76, 29, 149, 0.62)
    );
    color: #ffffff;
    border-block: 1px solid var(--shine-line);
}

.contact-band .section-title,
.contact-band .section-lede {
    color: #ffffff;
}

.contact-band .contact-band-title {
    display: block;
    margin: 0 auto 18px;
    text-align: center;
    justify-content: center;
}

.page-hero {
    padding: 84px 0 56px;
    background:
        linear-gradient(rgba(15, 23, 42, 0.74), rgba(15, 23, 42, 0.74)),
        radial-gradient(
            circle at 30% 10%,
            rgba(96, 165, 250, 0.24),
            transparent 32%
        ),
        radial-gradient(
            circle at 78% 20%,
            rgba(139, 92, 246, 0.24),
            transparent 30%
        );
    border-bottom: 1px solid var(--shine-line);
}

.page-hero h1 {
    max-width: 880px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.08;
    letter-spacing: 0;
}

.page-hero p {
    max-width: 720px;
    margin: 18px 0 0;
    color: var(--shine-muted);
    font-size: 19px;
}

.stub-card {
    max-width: 820px;
    padding: 34px;
    border: 1px solid var(--shine-line);
    border-radius: 24px;
    background: var(--shine-glass);
    box-shadow: var(--shine-shadow);
    backdrop-filter: blur(16px);
}

.policy-copy {
    max-width: 820px;
    color: var(--shine-muted);
}

.policy-copy h2 {
    margin: 34px 0 8px;
    color: #ffffff;
}

.eyebrow {
    margin: 0 0 12px;
    color: #93c5fd;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-story-section {
    background: rgba(15, 23, 42, 0.24);
}

.split-feature {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 42px;
    align-items: center;
}

.split-feature h2,
.story-panel h2,
.about-action-grid h2,
.section-heading h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12;
    letter-spacing: 0;
}

.split-feature p,
.story-panel p,
.about-action-grid p,
.section-heading p,
.pillar-detail-grid p,
.steps-grid p {
    color: var(--shine-muted);
}

.split-feature .button-row {
    justify-content: flex-start;
    margin-top: 28px;
}

.feature-image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.feature-image-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid var(--shine-line);
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.52);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
}

.section-heading p {
    margin-inline: auto;
    max-width: 680px;
    font-size: 18px;
}

.pillar-detail-grid,
.steps-grid,
.about-action-grid {
    display: grid;
    gap: 18px;
}

.pillar-detail-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.steps-grid,
.about-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pillar-detail-grid article,
.steps-grid article,
.about-action-grid article,
.story-panel {
    border: 1px solid var(--shine-line);
    border-radius: 22px;
    background: var(--shine-glass);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(16px);
}

.pillar-detail-grid article,
.steps-grid article,
.about-action-grid article {
    padding: 26px;
}

.story-panel {
    max-width: 920px;
    padding: 38px;
}

.pillar-detail-grid span,
.steps-grid span {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--shine-gold);
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.pillar-detail-grid h3,
.steps-grid h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.24;
    letter-spacing: 0;
}

.pillar-detail-grid p,
.steps-grid p,
.about-action-grid p,
.story-panel p {
    margin: 0 0 16px;
}

.pillar-detail-grid p:last-child,
.steps-grid p:last-child,
.about-action-grid p:last-child,
.story-panel p:last-child {
    margin-bottom: 0;
}

.about-action-grid article {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-action-grid .button {
    margin-top: auto;
}

.centered-action {
    margin-top: 34px;
    text-align: center;
}

.site-footer {
    padding: 46px 0 28px;
    background: rgba(7, 11, 22, 0.86);
    border-top: 1px solid var(--shine-line);
    color: #dce3f0;
    backdrop-filter: blur(16px);
}

.footer-inner {
    display: grid;
    grid-template-columns: 178px 1fr;
    gap: 24px;
    align-items: center;
}

.footer-logo {
    width: 126px;
    box-sizing: content-box;
    padding: 24px 24px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 18px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    margin-bottom: 18px;
}

.footer-meta {
    margin: 0;
    color: #9ca8bb;
    font-size: 14px;
}

.footer-auth {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 800;
}

.footer-auth form {
    margin: 0;
}

.footer-auth button {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

.footer-auth a:hover,
.footer-auth button:hover {
    color: #ffffff;
}

.login-card {
    width: min(520px, 100%);
    margin: 0 auto;
    padding: 28px;
    border: 1px solid var(--shine-line);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.62);
    box-shadow: var(--shine-shadow);
    backdrop-filter: blur(16px);
}

.dashboard-shell {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 36px 0 74px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
}

.dashboard-shell-wide {
    width: min(1760px, calc(100% - 24px));
    grid-template-columns: 220px minmax(0, 1fr);
}

.dashboard-sidebar,
.dashboard-panel,
.modal-card,
.dashboard-messages {
    border: 1px solid var(--shine-line);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.62);
    box-shadow: var(--shine-shadow);
    backdrop-filter: blur(16px);
}

.dashboard-sidebar {
    align-self: start;
    position: sticky;
    top: 128px;
    padding: 22px;
}

.dashboard-kicker {
    margin: 0 0 10px;
    color: #93c5fd;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dashboard-menu {
    display: grid;
    gap: 8px;
}

.dashboard-menu a {
    padding: 12px 14px;
    border-radius: 12px;
    color: #cbd5e1;
    font-weight: 700;
}

.dashboard-menu a.active,
.dashboard-menu a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.dashboard-main {
    min-width: 0;
}

.dashboard-panel {
    padding: 24px;
}

.dashboard-panel-header {
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.dashboard-panel h1,
.modal-card h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: 0;
    line-height: 1.1;
}

.dashboard-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 58%, #6d28d9 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.dashboard-button.ghost {
    border-color: var(--shine-line);
    background: rgba(255, 255, 255, 0.08);
}

.dashboard-table-wrap {
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    color: #e2e8f0;
    font-size: 14px;
}

.dashboard-table th,
.dashboard-table td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    vertical-align: middle;
}

.dashboard-table th {
    color: #93c5fd;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.drag-column {
    width: 44px;
}

.drag-handle {
    color: #94a3b8;
    font-weight: 900;
    letter-spacing: 0.06em;
    user-select: none;
}

.sortable-rows .drag-handle {
    cursor: grab;
}

.sortable-rows tr {
    transition: background 0.16s ease, opacity 0.16s ease, transform 0.16s ease;
}

.sortable-rows tr.is-dragging {
    opacity: 0.42;
    background: rgba(99, 102, 241, 0.16);
}

.sortable-rows.is-saving tr {
    cursor: progress;
}

.sortable-rows.sort-error {
    outline: 1px solid rgba(248, 113, 113, 0.7);
    outline-offset: -1px;
}

.preview-column {
    width: 92px;
}

.markdown-column {
    width: min(360px, 38vw);
}

.dashboard-preview-image {
    width: 64px;
    height: 48px;
    object-fit: cover;
    border: 1px solid var(--shine-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
}

.dashboard-preview-empty {
    display: inline-flex;
    width: 64px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}

.dashboard-image-link {
    display: inline-flex;
    border-radius: 10px;
}

.dashboard-image-link:hover .dashboard-preview-image,
.dashboard-image-link:hover .dashboard-preview-empty {
    border-color: rgba(147, 197, 253, 0.72);
}

.dashboard-name-link {
    color: #e2e8f0;
    font-weight: 800;
}

.dashboard-name-link:hover {
    color: #ffffff;
}

.team-dashboard-layout {
    display: grid;
    grid-template-columns: minmax(560px, 1fr) minmax(360px, 0.48fr);
    gap: 18px;
    align-items: start;
}

.team-role-stack {
    display: grid;
    gap: 18px;
    align-self: start;
    position: sticky;
    top: 128px;
}

.team-people-table thead th {
    background: rgba(15, 23, 42, 0.96);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.team-people-table-wrap {
    overflow: visible;
}

.team-people-table thead th:first-child {
    border-top-left-radius: 12px;
}

.team-people-table thead th:last-child {
    border-top-right-radius: 12px;
}

.team-role-panel {
    padding: 18px;
}

.team-role-panel .dashboard-panel-header {
    margin-bottom: 12px;
}

.team-role-panel h2 {
    margin: 0;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: 0;
}

.team-role-table th,
.team-role-table td {
    padding: 9px 8px;
}

.team-role-table .preview-column {
    width: 58px;
}

.team-role-table .dashboard-preview-image,
.team-role-table .dashboard-preview-empty {
    width: 44px;
    height: 36px;
    border-radius: 8px;
}

.team-role-table .drag-column {
    width: 34px;
}

.team-role-table .drag-handle {
    font-size: 18px;
    line-height: 1;
}

.active-column {
    width: 76px;
}

.role-toggle-column {
    width: 86px;
    text-align: center;
}

.dashboard-table th.role-toggle-column,
.dashboard-table td.checkbox-cell {
    text-align: center;
}

.dashboard-checkbox-form {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
}

.dashboard-active-checkbox {
    width: 20px;
    height: 20px;
    appearance: none;
    border: 2px solid rgba(148, 163, 184, 0.76);
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.82);
    cursor: pointer;
    display: inline-grid;
    place-items: center;
}

.dashboard-active-checkbox::after {
    content: "";
    width: 6px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    opacity: 0;
    transform: rotate(45deg) translate(-1px, -1px);
}

.dashboard-active-checkbox:checked::after {
    opacity: 1;
}

.active-toggle-checkbox {
    border-color: rgba(245, 158, 11, 0.82);
    background: rgba(245, 158, 11, 0.14);
}

.active-toggle-checkbox:checked {
    border-color: rgba(34, 197, 94, 0.95);
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.22);
}

.role-toggle-checkbox:checked {
    border-color: rgba(96, 165, 250, 0.95);
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 0 14px rgba(96, 165, 250, 0.18);
}

.team-toggle-label {
    color: #bfdbfe;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}

.dashboard-markdown-preview {
    max-width: 360px;
    max-height: 92px;
    overflow: hidden;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.45;
    mask-image: linear-gradient(#000 72%, transparent);
}

.dashboard-markdown-preview h1,
.dashboard-markdown-preview h2,
.dashboard-markdown-preview h3,
.dashboard-markdown-preview p,
.dashboard-markdown-preview ul,
.dashboard-markdown-preview ol {
    margin: 0 0 6px;
}

.dashboard-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 24px;
    align-items: start;
}

.dashboard-edit-card,
.markdown-preview-panel {
    padding: 22px;
    border: 1px solid var(--shine-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
}

.current-image-panel {
    padding: 22px;
    border: 1px solid var(--shine-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    align-self: start;
    position: sticky;
    top: 128px;
}

.current-image-preview {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    border: 1px solid var(--shine-line);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.7);
}

.dashboard-current-file-control {
    margin: 0 0 10px;
}

.dashboard-clear-file {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 700;
}

.dashboard-clear-file input {
    width: auto;
}

.markdown-body {
    color: #dbeafe;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3 {
    margin: 28px 0 10px;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: 0;
}

.markdown-body h1:first-child,
.markdown-body h2:first-child,
.markdown-body h3:first-child {
    margin-top: 0;
}

.markdown-body p,
.markdown-body ul,
.markdown-body ol {
    margin: 0 0 16px;
}

.markdown-body a {
    color: #93c5fd;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.markdown-body li + li {
    margin-top: 6px;
}

.drag-handle {
    color: #94a3b8;
    font-size: 18px;
    font-weight: 800;
    cursor: grab;
    user-select: none;
}

.actions-column {
    width: 160px;
}

.row-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.row-actions a,
.row-actions button {
    color: #ffffff;
    font: inherit;
    font-weight: 800;
}

.row-actions button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #fecaca;
    cursor: pointer;
}

.empty-state {
    color: var(--shine-muted);
}

.dashboard-messages {
    margin-bottom: 18px;
    padding: 14px 18px;
    color: #ffffff;
}

.dashboard-messages p {
    margin: 0;
}

.dashboard-form {
    display: grid;
    gap: 16px;
}

.dashboard-form p {
    margin: 0;
    display: grid;
    gap: 8px;
}

.dashboard-form label {
    color: #e2e8f0;
    font-weight: 800;
}

.dashboard-input,
.dashboard-form input,
.dashboard-form textarea,
.dashboard-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--shine-line);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.7);
    color: #ffffff;
    font: inherit;
}

.dashboard-checkbox {
    width: auto;
}

.helptext {
    color: #94a3b8;
    font-size: 13px;
}

.errorlist {
    margin: 0;
    padding-left: 18px;
    color: #fecaca;
}

.form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.dashboard-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 50;
    padding: 28px;
}

.dashboard-modal:target,
.dashboard-modal.is-open {
    display: grid;
    place-items: center;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.78);
    backdrop-filter: blur(8px);
}

.modal-card {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: min(820px, calc(100vh - 56px));
    padding: 24px;
    overflow-y: auto;
}

.modal-header {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.modal-header a {
    color: #cbd5e1;
    font-weight: 800;
}

@media (max-width: 900px) {
    :root {
        --dashboard-sticky-offset: 112px;
    }

    .header-inner {
        min-height: auto;
        padding: 18px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .nav {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 14px 18px;
    }

    .hero {
        min-height: 580px;
    }

    .hero-content {
        margin-bottom: -120px;
        padding: 40px 30px;
    }

    .hero + .section.soft {
        padding-top: 180px;
    }

    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-feature,
    .about-action-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

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

    .cards-grid,
    .footer-inner,
    .dashboard-shell {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: static;
    }

    .dashboard-form-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-shell-wide,
    .team-dashboard-layout {
        grid-template-columns: 1fr;
    }

    .team-role-stack {
        position: static;
    }
}

@media (max-width: 560px) {
    .pillars-grid,
    .cards-grid,
    .feature-image-grid,
    .pillar-detail-grid {
        grid-template-columns: 1fr;
    }

    .story-panel,
    .about-action-grid article,
    .pillar-detail-grid article,
    .steps-grid article {
        padding: 24px;
    }

    .hero {
        min-height: 480px;
    }

    .hero-content {
        margin-bottom: -80px;
        padding: 30px 20px;
    }

    .hero + .section.soft {
        padding-top: 130px;
    }

    .button {
        width: 100%;
    }
}

/* Sparkle particle animations */
@keyframes sparkle-float {
    0% {
        transform: translate(0, 0) scale(0) rotate(0deg);
        opacity: 0;
    }
    15% {
        opacity: 1;
        transform: translate(0, 0) scale(1.1) rotate(0deg);
    }
    100% {
        transform: translate(var(--dest-x), var(--dest-y)) scale(0)
            rotate(var(--rotation));
        opacity: 0;
    }
}

/* Premium Profile Grid & Cards Styles */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

@media (max-width: 900px) {
    .profile-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
}

.profile-card {
    position: relative;
    background: var(--shine-glass);
    border: 1px solid var(--shine-line);
    border-radius: 28px;
    padding: 36px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: 
        transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
        box-shadow 0.4s ease, 
        border-color 0.4s ease, 
        background-color 0.4s ease;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.profile-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: var(--shine-glass-strong);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 
        0 20px 48px rgba(139, 92, 246, 0.26), 
        0 0 20px rgba(96, 165, 250, 0.12);
}

.profile-photo-container {
    position: relative;
    width: 100%;
    max-width: 220px;
    aspect-ratio: 3 / 4;
    border-radius: 28px;
    margin-bottom: 24px;
    padding: 4px;
    background: linear-gradient(135deg, var(--shine-blue) 0%, var(--shine-violet) 50%, var(--shine-purple) 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
    transition: 
        transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
        box-shadow 0.4s ease;
}

.profile-card:hover .profile-photo-container {
    transform: scale(1.06) rotate(3deg);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.36);
}

.profile-photo {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    object-fit: cover;
    background: rgba(15, 23, 42, 0.5);
    border: 2px solid rgba(15, 23, 42, 0.8);
}

.profile-avatar-fallback {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: var(--shine-blue);
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-shadow: 0 0 12px rgba(96, 165, 250, 0.4);
    border: 2px solid rgba(15, 23, 42, 0.8);
}

.profile-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-name {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.profile-bio {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--shine-muted);
    font-weight: 400;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px;
    margin-top: 20px;
    align-items: start;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

.contact-form-container {
    background: var(--shine-glass);
    border: 1px solid var(--shine-line);
    border-radius: 28px;
    padding: 40px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shine-shadow);
}

@media (max-width: 560px) {
    .contact-form-container {
        padding: 24px;
    }
}

.contact-form-title {
    margin: 0 0 24px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form-group label {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.contact-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--shine-line);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.5);
    color: #ffffff;
    font: inherit;
    transition: 
        border-color 0.2s ease, 
        box-shadow 0.2s ease, 
        background-color 0.2s ease;
}

.contact-input::placeholder {
    color: #94a3b8;
}

.contact-input:focus {
    border-color: var(--shine-blue);
    background: rgba(15, 23, 42, 0.7);
    box-shadow: 0 0 12px rgba(96, 165, 250, 0.22);
    outline: none;
}

.contact-info-panel {
    display: grid;
    gap: 28px;
}

.contact-info-card {
    background: var(--shine-glass);
    border: 1px solid var(--shine-line);
    border-radius: 28px;
    padding: 32px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shine-shadow);
}

.contact-info-card h3 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
}

.contact-info-card p {
    margin: 0;
    color: var(--shine-muted);
    font-size: 16px;
    line-height: 1.6;
}

.contact-map-container {
    border: 1px solid var(--shine-line);
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    box-shadow: var(--shine-shadow);
    background: #0f172a;
}

.contact-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: invert(90%) hue-rotate(180deg) brightness(0.9) contrast(1.1) opacity(0.8);
    transition: 
        filter 0.4s ease, 
        opacity 0.4s ease;
}

.contact-map-container:hover iframe {
    filter: none;
    opacity: 1;
}

.contact-messages {
    margin-bottom: 24px;
    display: grid;
    gap: 12px;
}

.contact-alert {
    padding: 16px 20px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 500;
    backdrop-filter: blur(8px);
}

.contact-alert.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
}

.contact-alert.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.1);
}

.contact-alert.warning {
    background: rgba(251, 191, 36, 0.14);
    border: 1px solid rgba(251, 191, 36, 0.32);
    color: #fde68a;
}

.volunteer-form-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
}

.form-two-column,
.form-three-column {
    display: grid;
    gap: 18px;
}

.form-two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-three-column {
    grid-template-columns: 1.2fr 0.8fr 0.7fr;
}

.contact-form-group label span,
.volunteer-fieldset legend span,
.contact-checkbox-row label span {
    color: var(--shine-gold);
    margin-left: 3px;
}

.volunteer-fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.volunteer-fieldset legend {
    margin-bottom: 10px;
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.contact-radio-list {
    margin: 0;
    padding: 0;
    display: flex;
    gap: 16px;
    list-style: none;
}

.contact-radio-list label,
.contact-checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e2e8f0;
    font-weight: 700;
}

.contact-checkbox-row {
    align-items: flex-start;
}

.contact-radio-list input,
.contact-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--shine-purple);
    flex: 0 0 auto;
}

.contact-form .errorlist {
    margin: 4px 0 0;
    padding-left: 18px;
    color: #fecaca;
    font-size: 13px;
}

@media (max-width: 900px) {
    .volunteer-form-grid,
    .form-two-column,
    .form-three-column {
        grid-template-columns: 1fr;
    }
}

/* Featured Events Section Styles */
.featured-events-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin-top: 36px;
}

.featured-event-card {
    background: var(--shine-glass);
    border: 1px solid var(--shine-line);
    border-radius: 28px;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shine-shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex: 1 1 300px;
    max-width: 100%;
}

.featured-event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 64px rgba(139, 92, 246, 0.15);
    border-color: rgba(255, 255, 255, 0.24);
}

.event-image-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-bottom: 1px solid var(--shine-line);
}

.event-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-event-card:hover .event-image-wrap img {
    transform: scale(1.05);
}

.event-card-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(96, 165, 250, 0.12);
    color: var(--shine-blue);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    align-self: flex-start;
}

.event-card-body h3 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.event-date, .event-location {
    font-size: 14px;
    color: var(--shine-muted);
    margin: 0 0 12px;
    line-height: 1.5;
}

.event-date strong, .event-location strong {
    color: #ffffff;
}

.event-address {
    display: inline-block;
    margin-top: 4px;
    opacity: 0.85;
}

.event-summary {
    font-size: 15px;
    color: var(--shine-muted);
    margin: 12px 0 0 0;
    line-height: 1.6;
    flex-grow: 1;
}

.event-action {
    margin-top: 24px;
}

.event-btn {
    width: 100%;
    padding: 12px 20px;
    min-width: unset;
}

/* Flex sizing depending on card count */
@media (min-width: 900px) {
    .featured-event-card {
        max-width: calc(33.333% - 22px);
    }
    .featured-events-grid:has(> :nth-child(2):last-child) .featured-event-card {
        max-width: calc(50% - 16px);
    }
    .featured-events-grid:has(> :nth-child(1):last-child) .featured-event-card {
        max-width: 640px;
    }
}

/* Membership Form Wizard Styles */
.membership-messages {
    margin-bottom: 24px;
}
.membership-alert {
    padding: 16px 20px;
    border-radius: 14px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #a7f3d0;
    font-weight: 600;
    margin-bottom: 12px;
}
.membership-alert.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fecaca;
}

.membership-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
    margin-top: 24px;
}

@media (max-width: 1024px) {
    .membership-container {
        grid-template-columns: 1fr;
    }
}

.membership-sidebar {
    position: sticky;
    top: 120px;
    background: var(--shine-glass);
    border: 1px solid var(--shine-line);
    border-radius: 24px;
    padding: 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.progress-container {
    margin-bottom: 24px;
}

.progress-bar-bg {
    background: rgba(255, 255, 255, 0.08);
    height: 8px;
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar-fill {
    background: linear-gradient(90deg, #60a5fa 0%, #a78bfa 100%);
    width: 0%;
    height: 100%;
    border-radius: 99px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--shine-muted);
}

.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
    opacity: 0.7;
}

.step-item:hover {
    background: rgba(255, 255, 255, 0.04);
    opacity: 0.9;
}

.step-item.active {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--shine-line);
    opacity: 1;
}

.step-item.completed {
    opacity: 0.85;
}

.step-item.has-error {
    border: 1px solid rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.06);
    opacity: 1;
}

.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid var(--shine-line);
    transition: background 0.2s, border-color 0.2s;
}

.step-item.active .step-num {
    background: var(--shine-blue);
    color: #0f172a;
    border-color: var(--shine-blue);
}

.step-item.completed .step-num {
    background: var(--shine-purple);
    color: #ffffff;
    border-color: var(--shine-purple);
}

.step-item.has-error .step-num {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
}

.step-label {
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
}

.step-item.has-error .step-label {
    color: #fecaca;
}

/* Membership Card Form Styles */
.membership-section-card {
    background: var(--shine-glass);
    border: 1px solid var(--shine-line);
    border-radius: 28px;
    padding: 36px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shine-shadow);
    display: none; /* Controlled by JS */
}

.membership-section-card.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-title {
    margin: 0 0 24px;
    font-size: 24px;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-chevron {
    font-size: 16px;
    opacity: 0.5;
    transition: transform 0.2s ease;
}

.fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px 24px;
}

.field-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-wrap.full-width {
    grid-column: 1 / -1;
}

.field-wrap label {
    font-size: 14px;
    font-weight: 700;
    color: #93c5fd;
}

.required-star {
    color: #fecaca;
    margin-left: 2px;
}

.membership-input {
    width: 100%;
    min-height: 48px;
    padding: 10px 16px;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid var(--shine-line);
    border-radius: 12px;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.membership-input:focus {
    border-color: var(--shine-blue);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

textarea.membership-input {
    resize: vertical;
    min-height: 90px;
}

.membership-checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--shine-purple);
    cursor: pointer;
}

/* For ChoiceField / Radio Buttons in Form */
.field-wrap ul {
    list-style: none;
    padding: 0;
    margin: 4px 0 0 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.field-wrap li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.field-wrap input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--shine-purple);
    cursor: pointer;
}

.field-wrap label[for*="id_"] {
    font-weight: 500;
    color: #e2e8f0;
    cursor: pointer;
}

.field-wrap .errorlist {
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
    color: #fecaca;
    font-size: 13px;
    font-weight: 600;
}

.section-nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--shine-line);
}

/* Detail view styles */
.detail-meta-card {
    background: var(--shine-glass);
    border: 1px solid var(--shine-line);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.meta-item {
    font-size: 14px;
    color: var(--shine-muted);
    line-height: 1.5;
}

.meta-item strong {
    display: block;
    color: #93c5fd;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.meta-item a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.detail-sections-container {
    display: grid;
    gap: 28px;
}

.detail-section-card {
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid var(--shine-line);
    border-radius: 20px;
    padding: 24px;
}

.detail-section-title {
    margin: 0 0 18px;
    font-size: 18px;
    color: #ffffff;
    font-weight: 800;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
}

.detail-fields-grid {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px 24px;
}

.detail-field-item {
    display: flex;
    flex-direction: column;
}

.detail-field-item dt {
    font-size: 12px;
    font-weight: 700;
    color: var(--shine-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}

.detail-field-item dd {
    margin: 0;
    font-size: 15px;
    color: #ffffff;
    word-break: break-word;
}

.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.badge-yes {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.badge-no {
    background: rgba(255, 255, 255, 0.06);
    color: var(--shine-muted);
}
