@font-face {
    font-family: "Inter Display";
    src: url("../fonts/interdisplay/InterDisplay-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Inter Display";
    src: url("../fonts/interdisplay/InterDisplay-SemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Inter Display";
    src: url("../fonts/interdisplay/InterDisplay-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Instrument Serif";
    src: url("../fonts/Instrument_Serif/InstrumentSerif-Italic.ttf") format("truetype");
    font-style: italic;
    font-weight: 400;
    font-display: swap;
}

:root {
    --ink: #101418;
    --ink-70: rgba(16, 20, 24, 0.9);
    --ink-50: rgba(16, 20, 24, 0.8);
    --muted: rgba(16, 20, 24, 0.5);
    --line: #d9dee7;
    --surface: #ffffff;
    --soft: #f7f9fc;
    --brand: #2c5530;
    --brand-dark: #1f3d23;
    --blue: #222e50;
    --blue-soft: #eef3ff;
    --accent: #ffcb05;
    --danger: #b42318;
    --success: #067647;
    --whatsapp: #128c7e;
    --hero-blue-deep: #1c28d6;
    --hero-blue-mid: #0777ee;
    --hero-blue-sky: #45b9f7;
    --shadow: 0 22px 52px rgba(34, 46, 80, 0.12);
    --font-brand: "Inter Display";
    --font-inter-display: "Inter Display";
    --font-display: "Inter Display";
    --font-body: "Inter Display";
    --font-ui: "Inter Display";
    --font-heading: var(--font-display);
    --font-subheading: var(--font-display);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-body);
    background: var(--soft);
}

a { color: inherit; text-decoration: none; }
input, select, textarea, button { font: inherit; }
p { color: var(--ink-50); line-height: 1.65; }
h1, h2, h3 { margin-top: 0; }
h1 {
    color: var(--ink);
    font-family: var(--font-heading);
    font-weight: 700;
}
h2, h3 {
    color: var(--ink-70);
    font-family: var(--font-subheading);
    font-weight: 700;
}

.btn {
    position: relative;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: "Inter Display";
    font-weight: 600;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn-large {
    min-height: 52px;
    padding: 13px 22px;
}

.btn-with-icon::before {
    content: "";
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    background: currentColor;
    -webkit-mask: var(--btn-icon) center / contain no-repeat;
    mask: var(--btn-icon) center / contain no-repeat;
}

.btn-large.btn-with-icon::before {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
}

.btn-icon-whatsapp {
    --btn-icon: url("../images/iconmonstr-whatsapp-1.svg");
}

.btn-icon-instagram {
    --btn-icon: url("../images/instagram-logo-facebook-2-svgrepo-com.svg");
}

.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-blue { background: var(--blue); color: white; }
.btn-blue:hover { background: #18213b; }
.btn-secondary { background: white; border-color: #b8c1ce; color: var(--blue); }
.btn-light { background: white; color: var(--blue); }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:disabled {
    background: #f2b8b5;
    cursor: not-allowed;
}
.btn-whatsapp { background: var(--whatsapp); color: white; }
.btn-disabled {
    background: #edf1f5;
    color: var(--ink-50);
    cursor: not-allowed;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:focus-visible,
.nav-link:focus-visible,
.text-link:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(255, 203, 5, 0.72);
    outline-offset: 3px;
}

.btn-primary,
.btn-whatsapp {
    box-shadow: 0 12px 24px rgba(31, 61, 35, 0.18);
}

.btn-secondary:hover,
.btn-light:hover {
    border-color: var(--blue);
    box-shadow: 0 10px 22px rgba(34, 46, 80, 0.12);
}
.text-link { color: var(--brand); font-weight: 600; }

.guest-header,
.mobile-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(217, 222, 231, 0.9);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    padding: 12px clamp(16px, 5vw, 72px);
}

.primary-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.brand {
    color: var(--ink);
    font-weight: 600;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    display: block;
    width: 68px;
    height: 44px;
    flex: 0 0 auto;
    object-fit: contain;
}

.brand-text {
    display: grid;
    gap: 1px;
}

.brand-text strong {
    color: var(--ink);
    font-size: 16px;
    line-height: 1.1;
}

.brand-text small {
    color: var(--ink-50);
    font-weight: 600;
}

.brand-single {
    color: rgba(16, 20, 24, 0.86);
    font-size: 18px;
    font-weight: 600;
}

.guest-header-compact {
    padding-top: 10px;
    padding-bottom: 10px;
}

.guest-header-compact .brand-mark {
    width: 58px;
    height: 38px;
}

.guest-header-compact .guest-nav {
    gap: 6px;
}

.guest-header-compact .nav-link {
    padding: 8px 10px;
}

.brand-lockup-large .brand-mark {
    width: 94px;
    height: 60px;
}

.brand-lockup-large .brand-text strong {
    color: white;
    font-size: 28px;
}

.brand-lockup-large .brand-text small {
    color: rgba(255, 255, 255, 0.72);
}

.nav-link {
    border-radius: 8px;
    padding: 9px 11px;
    color: var(--ink-70);
    font-weight: 600;
}

.nav-link:hover,
.nav-link.active,
.bottom-nav a.active,
.admin-sidebar nav a.active {
    background: var(--blue-soft);
    color: var(--blue);
}

.nav-cta {
    min-height: 40px;
    padding: 8px 14px;
}

.alert {
    border-radius: 8px;
    margin: 0 0 16px;
    padding: 12px 14px;
    font-weight: 600;
}

.alert-success { background: #dcfae6; color: var(--success); }
.alert-error { background: #fee4e2; color: var(--danger); }

.error-list {
    margin: 8px 0 0;
    padding-left: 20px;
    line-height: 1.5;
}

.hero {
    background: white;
}

.public-hero {
    --hero-foreground-scale: 1;
    --hero-image-position: 50% bottom;
    --hero-image-size: cover;
    min-height: 165vh;
    display: grid;
    align-items: start;
    border-bottom: 0;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: white;
}

.public-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 68%, rgba(255, 255, 255, 0.76) 90%, white 100%);
}

.hero-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, black 0%, black 70%, transparent 100%);
    mask-image: linear-gradient(180deg, black 0%, black 70%, transparent 100%);
}

.hero-visual-layer {
    position: absolute;
    inset: 0;
    background-position: var(--hero-image-position);
    background-repeat: no-repeat;
    background-size: var(--hero-image-size);
}

.hero-visual-background {
    background-image: url("../images/HeroBackground.webp");
}

.hero-visual-foreground {
    background-image: url("../images/foregroundfinal.webp");
    transform: scale(var(--hero-foreground-scale));
    transform-origin: 50% 76%;
    will-change: transform;
}

.mobile-hero-nav {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .hero-visual-foreground {
        transform: scale(1);
        will-change: auto;
    }
}

.hero-copy-shell {
    position: relative;
    z-index: 2;
    width: min(100%, 900px);
    margin: 0 auto;
    padding: clamp(78px, 12vh, 136px) 22px 42px;
    text-align: center;
}

.agency-kicker {
    display: inline-flex;
    border: 1px solid rgba(34, 46, 80, 0.12);
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue);
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
}

.section-subheading {
    margin: 0 0 10px;
    color: var(--blue);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.hero h1,
.public-hero .hero-copy-shell h1 {
    max-width: min(calc(100vw - 80px), 1200px);
    margin: 0 auto;
    color: white;
    font-family: "Inter Display";
    font-size: clamp(60px, 6.4vw, 104px);
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: 0;
    white-space: nowrap;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.1), 0 18px 46px rgba(0, 0, 0, 0.28);
}

.hero p {
    max-width: 720px;
    margin: 22px auto 0;
    font-size: 20px;
}

.hero-program-title,
.public-hero .hero-program-title {
    display: inline-block;
    max-width: none;
    margin: 8px auto 0;
    color: rgba(255, 255, 255, 0.92);
    font-family: "Instrument Serif";
    font-size: clamp(48px, 5.2vw, 82px);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 0.82;
    white-space: nowrap;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.08), 0 16px 36px rgba(0, 0, 0, 0.26);
    transform: scaleX(0.86) scaleY(1.06);
    transform-origin: center;
}

.hero-offer-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    width: min(calc(100vw - 44px), 1120px);
    margin: 44px 0 0 50%;
    transform: translateX(-50%);
}

.hero-offer-stack div {
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    background: transparent;
    padding: 0 28px;
    box-shadow: none;
}

.hero-offer-stack div:last-child {
    border-right: 0;
}

.hero-offer-stack strong,
.public-hero .hero-offer-stack strong {
    display: block;
    color: var(--accent);
    font-family: "Inter Display";
    font-size: clamp(38px, 4.4vw, 72px);
    font-weight: 700;
    line-height: 1.02;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.42);
}

.hero-offer-stack strong span {
    display: block;
    color: inherit;
    font: inherit;
    text-shadow: inherit;
}

.hero-offer-stack strong .hero-offer-prefix {
    min-height: 1em;
    margin-bottom: 4px;
    font-size: 36px;
    line-height: 1;
    white-space: nowrap;
}

.hero-offer-stack strong .hero-offer-amount {
    font-size: inherit;
    line-height: inherit;
    white-space: nowrap;
}

.hero-offer-stack div > span {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-family: "Inter Display";
    font-size: 18px;
    font-weight: 400;
    line-height: 1.35;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.38);
}

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

.hero-actions-center {
    justify-content: center;
    margin: 34px 0 0;
}

.public-hero .hero-actions .btn {
    width: min(100%, 340px);
    min-height: 68px;
    border-radius: 999px;
    padding: 16px 28px;
    font-size: 20px;
}

.public-hero .hero-actions .btn-primary {
    background: #05070d;
    color: white;
}

.public-hero .hero-actions .btn-whatsapp,
.public-hero .hero-actions .btn-disabled {
    background: white;
    color: #14224d;
}

.hero-trust-note {
    max-width: 640px;
    margin: 20px auto 0;
    color: rgba(255, 255, 255, 0.88);
    font-family: "Inter Display";
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.34), 0 4px 18px rgba(0, 0, 0, 0.72), 0 14px 34px rgba(0, 0, 0, 0.45);
}

.invite-banner {
    display: inline-flex;
    border-radius: 8px;
    background: #fff8dd;
    color: #7a4b00;
    margin-bottom: 14px;
    padding: 10px 12px;
    font-weight: 600;
}

.section {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 72px 22px;
}

.section.narrow { max-width: 760px; }

.section-intro {
    max-width: 760px;
    margin-bottom: 24px;
}

.section-intro h2,
.section h2,
.page-heading h1,
.admin-heading h1 {
    margin: 12px 0;
    font-size: 34px;
    line-height: 1.16;
}

.section-label {
    margin: 0 0 20px;
    color: rgba(16, 20, 24, 0.92);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
}

.section-label-light,
p.section-label-light {
    color: rgba(255, 255, 255, 0.9);
}

.section-heading,
h2.section-heading,
h3.section-heading {
    max-width: none;
    margin: 0;
    color: var(--ink);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.06;
    white-space: normal;
}

.section-heading-light,
h2.section-heading-light,
h3.section-heading-light {
    color: white;
}

.section-heading + details {
    margin-top: 24px;
}

.program-levels > .section-heading + p {
    margin-top: 14px;
}

.about-lead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 56px);
    align-items: start;
    margin-bottom: 28px;
}

.about-section {
    width: 100%;
    max-width: none;
    padding-right: 0;
    padding-left: 0;
    background: white;
    box-shadow: none;
}

.about-section::before {
    content: "";
    display: block;
    width: min(calc(100% - 28px), 1180px);
    height: 1px;
    margin: 0 auto 16px;
    background: rgba(16, 20, 24, 0.92);
}

.about-section > .about-lead,
.about-section > .trust-figures {
    width: min(100%, 1120px);
    margin-right: auto;
    margin-left: auto;
    padding-right: 22px;
    padding-left: 22px;
}

.about-copy {
    display: grid;
    min-height: 488px;
    grid-template-rows: auto 1fr;
    width: 100%;
    min-width: 0;
}

.about-copy .section-heading {
    max-width: none;
    align-self: center;
}

.about-image-placeholder {
    position: relative;
    width: 100%;
    justify-self: end;
    margin-top: 48px;
    min-height: 440px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background-image: url("../images/Photojamaah2.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 18px 44px rgba(34, 46, 80, 0.08);
}

.about-image-placeholder::before {
    content: none;
    position: absolute;
    inset: 56px 12%;
    border: 1px solid rgba(255, 255, 255, 0.84);
    border-radius: 8px;
}

.about-image-placeholder::after {
    content: none;
    position: absolute;
    right: 12%;
    bottom: 72px;
    left: 12%;
    height: 1px;
    background: rgba(34, 46, 80, 0.16);
    box-shadow: 0 -58px rgba(34, 46, 80, 0.1), 0 -116px rgba(34, 46, 80, 0.08);
}

.section-intro-light h2,
.section-intro-light p,
.brand-band .section-subheading {
    color: white;
}

.steps, .level-grid, .split, .admin-stat-grid, .stat-grid,
.figure-grid, .earning-grid, .program-steps {
    display: grid;
    gap: 16px;
}

.steps { grid-template-columns: repeat(3, 1fr); }
.split { grid-template-columns: 1fr 1fr; align-items: start; }
.level-grid { grid-template-columns: repeat(5, 1fr); }
.figure-grid { grid-template-columns: repeat(4, 1fr); }
.earning-grid { grid-template-columns: 1.25fr 1fr 1fr; }
.program-steps { grid-template-columns: repeat(3, 1fr); }

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

.steps article,
.level-grid article,
.info-panel,
.card-block,
.referral-card,
.admin-stat-grid article,
.stat-grid article,
.auth-card,
.simulation-card,
.figure-card,
.earning-card,
.program-steps article {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    padding: 20px;
    box-shadow: 0 10px 24px rgba(34, 46, 80, 0.06);
}

.figure-card span,
.earning-card span,
.simulation-card span {
    color: var(--brand);
    font-weight: 600;
}

.figure-card strong,
.earning-card strong {
    display: block;
    margin-top: 8px;
    color: var(--ink);
    font-size: 24px;
    font-weight: 700;
}

.figure-card p,
.earning-card p {
    margin-bottom: 0;
}

.trust-figures .figure-card {
    background:
        linear-gradient(180deg, white, #fbfcff);
    border-color: rgba(34, 46, 80, 0.12);
}

.trust-figures .figure-card strong {
    color: var(--blue);
}

.brand-band {
    width: 100%;
    max-width: none;
    border-radius: 8px;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 203, 5, 0.22), transparent 28%),
        linear-gradient(135deg, var(--blue), #18213b);
    color: white;
    margin: 24px 0 0;
    padding: 0;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.16), 0 24px 70px rgba(34, 46, 80, 0.16);
}

.brand-band-inner {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 44px 22px 72px;
}

.brand-band .program-steps article,
.program-rules,
.program-vouchers {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.program-steps span,
.steps span {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: var(--ink);
    font-weight: 600;
}

.program-steps strong {
    display: block;
    margin: 12px 0 6px;
    color: white;
    font-size: 20px;
}

.program-steps p {
    color: white;
    margin: 0;
}

.program-rules {
    margin-top: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px;
}

.program-vouchers {
    margin-top: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px;
}

.program-rules h3,
.program-vouchers h3 {
    margin: 0 0 8px;
    color: white;
    font-size: 24px;
}

.program-rules .check-list {
    margin-bottom: 0;
    color: white;
}

.voucher-targets {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0;
}

.voucher-targets article {
    display: grid;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.07);
}

.voucher-targets strong {
    color: white;
    font-size: 18px;
}

.voucher-targets span {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
}

.program-vouchers p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.program-levels {
    margin-top: 28px;
}

.program-levels h3 {
    margin: 0;
    color: white;
}

.program-levels > p {
    max-width: 720px;
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 400;
}

.brand-band .level-grid article {
    display: flex;
    min-height: 168px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    text-align: center;
}

.brand-band .level-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.brand-band .level-grid strong {
    min-height: 0;
    color: var(--ink);
    font-size: 19px;
    line-height: 1.15;
}

.brand-band .level-grid span {
    margin-top: 18px;
}

.program-cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 28px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: white;
    color: var(--ink);
    padding: 20px;
    box-shadow: 0 18px 40px rgba(10, 15, 28, 0.18);
}

.program-cta-panel h3 {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: 26px;
}

.program-cta-panel p {
    margin: 0;
    color: var(--ink-50);
    font-weight: 400;
}

.program-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.earning-card-main {
    background: var(--blue);
    color: white;
}

.earning-card-main span,
.earning-card-main strong,
.earning-card-main p {
    color: white;
}

.earning-card-main p {
    color: white;
}

.simulation-card {
    display: grid;
    gap: 10px;
}

.simulation-card h3 {
    margin: 0;
    color: var(--blue);
    font-size: 36px;
}

.simulation-card p {
    margin: 0;
}

.simulation-card strong {
    border-top: 1px solid var(--line);
    padding-top: 10px;
}

.simulation-card.featured {
    border-color: rgba(44, 85, 48, 0.36);
    box-shadow: 0 18px 42px rgba(44, 85, 48, 0.14);
}

.simulation-note {
    max-width: 760px;
    margin: 16px 0 0;
    color: var(--ink-50);
    font-weight: 400;
    line-height: 1.5;
}

.check-list { padding-left: 20px; line-height: 1.9; color: var(--ink-70); }
.level-grid span, .muted { color: var(--ink-50); }

.level-grid article {
    min-height: 148px;
}

.level-grid strong {
    display: block;
    min-height: 44px;
}

.level-grid em {
    display: block;
    margin-top: 10px;
    color: var(--blue);
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
}

details { border-top: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; }
.final-cta { text-align: center; }
.final-cta .hero-actions { justify-content: center; }

.contact-helper {
    max-width: 760px;
    color: var(--ink-70);
    font-weight: 600;
}

.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at 20% 12%, rgba(255, 203, 5, 0.18), transparent 24%),
        linear-gradient(180deg, white, var(--blue-soft));
}

.auth-card { width: min(100%, 460px); }
.auth-card.wide { width: min(100%, 760px); }

.form-stack, .form-grid, .admin-form, .filter-bar {
    display: grid;
    gap: 14px;
}

.form-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
}
.full-span { grid-column: 1 / -1; }

label {
    display: grid;
    gap: 6px;
    color: var(--ink-70);
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    min-height: 58px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    color: var(--ink);
    padding: 12px;
}

.password-field {
    display: grid;
    align-content: start;
    align-self: start;
    gap: 6px;
}

.password-label {
    position: relative;
}

.password-field input {
    height: 58px;
    padding-right: 108px;
}

.password-requirement {
    display: block;
    border-top: 1px solid var(--line);
    margin-top: 0;
    padding-top: 12px;
    color: var(--ink-50);
    font-weight: 400;
}

.password-toggle {
    position: absolute;
    right: 8px;
    bottom: 8px;
    min-height: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--blue-soft);
    color: var(--blue);
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.auth-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 18px;
    color: var(--brand);
    font-weight: 600;
}

.auth-links a:not(.auth-switch-link) {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.auth-switch-link {
    display: inline-flex;
    gap: 6px;
    color: var(--ink);
}

.auth-switch-link strong {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 20;
    border-radius: 999px;
    background: var(--brand);
    color: white;
    padding: 12px 16px;
    box-shadow: var(--shadow);
    font-weight: 600;
}

.whatsapp-float:hover {
    background: var(--brand-dark);
}

.app-shell {
    max-width: 780px;
    margin: 0 auto;
    padding: 24px 16px 112px;
}

.page-heading span, .admin-heading p {
    color: var(--ink-50);
    font-weight: 600;
}

.tier-hero-card {
    overflow: hidden;
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
    margin-bottom: 18px;
}

.tier-hero-visual {
    position: relative;
    display: block;
    width: 100%;
    height: 170px;
    overflow: hidden;
    background:
        radial-gradient(circle at 76% 18%, rgba(255, 203, 5, 0.2), transparent 26%),
        linear-gradient(135deg, var(--blue-soft), #dbe9ff);
}

.tier-hero-visual::before,
.tier-hero-visual::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(34, 46, 80, 0.12);
    border-radius: 50%;
}

.tier-hero-visual::before {
    width: 220px;
    height: 220px;
    right: -70px;
    bottom: -92px;
}

.tier-hero-visual::after {
    width: 120px;
    height: 120px;
    right: 22px;
    bottom: -38px;
}

.tier-hero-content {
    padding: 18px;
}

.tier-hero-content span {
    color: var(--brand);
    font-weight: 600;
}

.tier-hero-content h1 {
    margin: 8px 0;
    font-size: 32px;
}

.tier-hero-content p {
    margin: 0 0 14px;
    color: var(--ink-50);
    font-weight: 600;
}

.tier-progress-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.tier-progress span {
    background: linear-gradient(90deg, var(--brand), var(--accent));
}

.agent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 18px 0;
}

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

.mobile-cards article span, .admin-stat-grid article span, .profile-list span {
    display: block;
    color: var(--ink-50);
    font-weight: 600;
}

.mobile-cards article strong, .admin-stat-grid article strong {
    display: block;
    margin-top: 8px;
    font-size: 24px;
}

.points-summary-grid {
    margin-bottom: 28px;
}

.points-heading p {
    margin: 0;
    line-height: 1.38;
}

.points-heading .claim-fine-print {
    margin-top: 6px;
}

.points-heading + .points-claim-actions {
    margin-top: 14px;
}

.points-claim-actions {
    grid-template-columns: minmax(0, 320px);
}

.claim-fine-print {
    margin: 8px 0 0;
    color: var(--ink-50);
    font-size: 13px;
    line-height: 1.45;
    white-space: nowrap;
}

.card-block { margin-top: 16px; }

.reward-card {
    display: grid;
    gap: 18px;
}

.reward-card > div:first-child > span {
    color: var(--brand);
    font-weight: 600;
}

.reward-card h2 {
    margin: 6px 0 8px;
}

.reward-card p {
    margin: 0;
    color: var(--ink-50);
}

.reward-progress-list {
    display: grid;
    gap: 16px;
}

.reward-progress-row {
    display: grid;
    gap: 8px;
}

.reward-progress-row > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.reward-progress-row strong {
    color: var(--ink);
}

.reward-progress-row span {
    color: var(--ink-50);
    font-weight: 600;
    text-align: right;
}

.progress-bar {
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: #dbe3ee;
}

.progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--brand);
}

.bottom-nav {
    position: fixed;
    inset: auto 0 0;
    z-index: 12;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    background: white;
}

.bottom-nav a {
    min-height: 58px;
    display: grid;
    place-items: center;
    padding: 8px 4px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.mobile-list { display: grid; gap: 14px; }

.referral-filter {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: -8px 0 16px;
}

.referral-filter a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: white;
    color: var(--ink-70);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.referral-filter a.active {
    border-color: var(--blue);
    background: var(--blue);
    color: white;
}

.referral-filter span {
    color: inherit;
    opacity: 0.72;
    font-size: 12px;
}

.referral-card h2 { margin: 0 0 4px; font-size: 20px; }
.referral-card dl, .profile-list { display: grid; gap: 10px; }

.referral-card dl div, .profile-list div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding-top: 10px;
}

.referral-card dt { color: var(--ink-50); font-weight: 600; }
.referral-card dd { margin: 0; text-align: right; font-weight: 700; }

.tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 18px 0;
}

.tab-button {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    padding: 12px 8px;
    font-weight: 600;
}

.tab-button.active { background: var(--brand); color: white; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.admin-body {
    display: grid;
    grid-template-columns: 250px 1fr;
    font-family: var(--font-ui);
}

.admin-body h1,
.admin-body h2,
.admin-body h3,
.admin-body .btn,
.admin-body input,
.admin-body select,
.admin-body button,
.admin-body table {
    font-family: var(--font-ui);
}

.admin-body h1,
.admin-body h2,
.admin-body h3 {
    font-weight: 700;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--blue);
    color: white;
    padding: 22px;
}

.admin-sidebar .brand-text strong {
    color: white;
}

.admin-sidebar .brand-text small {
    color: rgba(255, 255, 255, 0.68);
}

.admin-sidebar nav {
    display: grid;
    gap: 8px;
    margin-top: 28px;
}

.admin-sidebar nav a {
    border-radius: 8px;
    padding: 11px 12px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
}

.admin-sidebar nav a:hover { background: rgba(255, 255, 255, 0.1); }
.admin-sidebar nav a.active {
    background: rgba(255, 255, 255, 0.16);
    color: white;
}
.admin-main { min-width: 0; padding: 30px; }
.admin-heading { margin-bottom: 22px; }
.admin-stat-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-bottom: 22px; }

.quick-actions, .filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 10px;
    margin-bottom: 18px;
}

.filter-bar input, .filter-bar select {
    width: auto;
    min-width: 180px;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
}

.admin-table {
    width: 100%;
    min-width: 1000px;
    border-collapse: collapse;
}

.admin-table th, .admin-table td {
    border-bottom: 1px solid var(--line);
    padding: 12px 14px;
    text-align: left;
    white-space: nowrap;
}

.admin-table th {
    position: sticky;
    top: 0;
    background: var(--blue-soft);
    color: var(--blue);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.admin-table td { font-size: 14px; }
.table-subtext {
    display: block;
    margin-top: 3px;
    color: var(--ink-50);
    font-size: 12px;
    font-weight: 400;
}
.cell-wrap {
    min-width: 260px;
    max-width: 460px;
    white-space: normal !important;
    line-height: 1.5;
}
.empty-table {
    color: var(--ink-50);
    text-align: center !important;
    white-space: normal !important;
}
.admin-section { margin-top: 30px; }

.admin-voucher-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.admin-voucher-card {
    display: grid;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    padding: 18px;
}

.admin-voucher-card > span {
    color: var(--ink-50);
    font-weight: 600;
}

.admin-voucher-card > strong {
    color: var(--ink);
    font-size: 24px;
}

.voucher-status-form {
    display: grid;
    gap: 12px;
}

.voucher-status-form textarea {
    min-height: 84px;
    resize: vertical;
}

.inline-status-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.inline-status-form select {
    width: auto;
    min-width: 140px;
    min-height: 38px;
    padding: 8px 10px;
    font-size: 14px;
}

.btn-compact {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 14px;
}

.action-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    padding: 18px;
}

.action-panel h2 {
    margin: 0 0 6px;
}

.table-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin: 12px 0 24px;
}

.table-pagination button {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    padding: 8px 12px;
    font-weight: 600;
}

.table-pagination button:disabled {
    color: var(--ink-50);
    opacity: 0.6;
}

.admin-form {
    max-width: 720px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    padding: 22px;
}

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

.form-actions .btn {
    min-height: 46px;
}

.site-footer {
    position: relative;
    overflow: hidden;
    background: var(--blue);
    color: white;
    padding: 54px clamp(18px, 5vw, 72px);
}

.site-footer::before,
.site-footer::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.site-footer::before {
    width: 460px;
    height: 460px;
    right: -160px;
    top: -180px;
}

.site-footer::after {
    width: 260px;
    height: 260px;
    right: 32px;
    bottom: -140px;
}

.footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.7fr 0.9fr;
    gap: 28px;
    align-items: start;
}

.footer-brand p,
.footer-address,
.footer-email-link,
.footer-contact strong,
.footer-meta,
.footer-meta span {
    color: rgba(255, 255, 255, 0.74);
}

.footer-brand p {
    max-width: 440px;
}

.footer-address {
    display: block;
    max-width: 440px;
    line-height: 1.5;
    margin-top: 10px;
}

.footer-contact {
    display: grid;
    gap: 10px;
}

.footer-heading {
    color: white;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
    margin: 0;
}

.footer-email-link,
.footer-links a,
.footer-meta a {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
}

.footer-email-link {
    overflow-wrap: anywhere;
}

.footer-contact strong {
    font-size: 28px;
}

.footer-phone-btn {
    width: fit-content;
}

.site-footer .footer-meta-btn {
    width: fit-content;
    color: var(--blue);
}

.site-footer .btn-disabled {
    border-color: rgba(255, 255, 255, 0.7);
    background: white;
    color: var(--blue);
}

.footer-links,
.footer-meta {
    display: grid;
    gap: 10px;
}

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

    .brand-band .level-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-lead {
        gap: 24px;
    }

    .section-heading,
    h2.section-heading,
    h3.section-heading {
        font-size: 44px;
    }

    .earning-grid,
    .program-steps,
    .simulation-grid,
    .steps,
    .split,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .admin-body { grid-template-columns: 1fr; }
    .admin-sidebar { position: static; height: auto; }
    .admin-sidebar nav { grid-template-columns: repeat(3, 1fr); }
    .action-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .program-cta-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .program-cta-actions {
        justify-content: flex-start;
    }

    .admin-voucher-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    html {
        scroll-padding-top: 148px;
    }

    .guest-home {
        background: #f4f8ff;
        overflow-x: hidden;
    }

    .guest-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 12px 16px;
    }

    .guest-nav {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guest-nav .nav-link,
    .guest-nav .nav-cta {
        justify-content: center;
        text-align: center;
    }

    .guest-home .guest-header {
        display: none;
    }

    .mobile-header {
        padding: 12px 16px;
    }

    .agent-top-nav {
        display: none;
    }

    .public-hero {
        --hero-image-position: 50% bottom;
        min-height: 160svh;
    }

    .guest-home .public-hero {
        width: 100%;
        max-width: 100vw;
        min-height: 160svh;
        margin: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: white;
    }

    .guest-home .public-hero::after {
        content: none;
    }

    .guest-home .public-hero::before {
        content: "";
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 68%, rgba(255, 255, 255, 0.76) 90%, white 100%);
    }

    .guest-home .hero-visual {
        -webkit-mask-image: linear-gradient(180deg, black 0%, black 70%, transparent 100%);
        mask-image: linear-gradient(180deg, black 0%, black 70%, transparent 100%);
    }

    .guest-home .mobile-hero-nav {
        position: fixed;
        top: 0;
        right: 12px;
        left: auto;
        z-index: 9999;
        display: block;
    }

    .mobile-hero-nav-bar {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    .mobile-hero-brand {
        display: none;
    }

    .mobile-hero-brand img {
        display: block;
        width: 48px;
        height: 32px;
        flex: 0 0 auto;
        object-fit: contain;
    }

    .mobile-hero-menu-button {
        display: inline-flex;
        width: 48px;
        height: 48px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        border: 0;
        border-radius: 0 0 16px 16px;
        background: #05070d;
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
        color: white;
        cursor: pointer;
    }

    .mobile-hero-menu-button span {
        display: block;
        width: 24px;
        height: 2px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.78);
        transition: transform 160ms ease, opacity 160ms ease, background 160ms ease;
    }

    .mobile-hero-menu-button.is-open span {
        background: white;
    }

    .mobile-hero-menu-button.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-hero-menu-button.is-open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-hero-menu-button.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-hero-menu {
        display: grid;
        gap: 4px;
        margin-top: 6px;
        width: min(72vw, 240px);
        border-radius: 18px;
        background: rgba(5, 7, 13, 0.97);
        box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
        padding: 8px;
    }

    .mobile-hero-menu[hidden] {
        display: none;
    }

    .mobile-hero-menu a {
        border-radius: 14px;
        color: white;
        padding: 10px 12px;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.2;
    }

    .mobile-hero-menu a:hover,
    .mobile-hero-menu a:focus {
        background: rgba(255, 255, 255, 0.1);
    }

    .mobile-hero-menu a.mobile-hero-menu-cta {
        margin-top: 4px;
        background: white;
        color: #14224d;
        text-align: center;
    }

    .hero-copy-shell {
        padding: 48px 16px 28px;
    }

    .guest-home .hero-copy-shell {
        display: flex;
        width: 100%;
        min-width: 0;
        min-height: 100svh;
        flex-direction: column;
        justify-content: flex-start;
        z-index: 2;
        padding: 64px 20px 18px;
    }

    .about-lead {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .about-copy {
        display: block;
        min-height: 0;
    }

    .section-heading,
    h2.section-heading,
    h3.section-heading {
        font-size: 34px;
    }

    .about-image-placeholder {
        min-height: 300px;
    }

    .hero h1 {
        font-size: 40px;
        line-height: 1.12;
    }

    .guest-home .hero h1 {
        max-width: 310px;
        font-size: 32px;
        line-height: 1.08;
    }

    .guest-home .public-hero .hero-copy-shell h1 {
        max-width: 100%;
        font-size: clamp(29px, 8.2vw, 40px);
        line-height: 0.94;
    }

    .hero p {
        font-size: 17px;
    }

    .guest-home .hero-program-title {
        align-self: center;
        display: block;
        width: 100%;
        max-width: 100%;
        margin-top: 8px;
        margin-right: auto;
        margin-left: auto;
        font-size: clamp(28px, 7.4vw, 34px);
        line-height: 0.82;
        text-align: center;
        transform: scaleX(0.84) scaleY(1.08);
    }

    .guest-home .public-hero .hero-program-title {
        align-self: center;
        display: block;
        width: 100%;
        max-width: 100%;
        margin-top: 8px;
        margin-right: auto;
        margin-left: auto;
        font-size: clamp(28px, 7.4vw, 34px);
        line-height: 0.82;
        text-align: center;
        transform: scaleX(0.84) scaleY(1.08);
    }

    .hero-offer-stack {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .guest-home .hero-offer-stack {
        width: 100%;
        min-width: 0;
        margin: 31px auto 0;
        transform: none;
        gap: 0;
    }

    .hero-offer-stack div {
        border-right: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.28);
        padding: 14px 0 0;
    }

    .hero-offer-stack div:first-child {
        border-top: 0;
        padding-top: 0;
        padding-bottom: 12px;
    }

    .guest-home .hero-offer-stack strong {
        max-width: 100%;
        font-size: clamp(28px, 8vw, 36px);
        line-height: 1.02;
        text-wrap: balance;
    }

    .guest-home .public-hero .hero-offer-stack strong {
        max-width: 100%;
        font-size: clamp(28px, 8vw, 36px);
        line-height: 1.02;
        text-wrap: balance;
    }

    .guest-home .hero-offer-stack strong span {
        display: block;
    }

    .guest-home .hero-offer-stack strong .hero-offer-prefix,
    .guest-home .public-hero .hero-offer-stack strong .hero-offer-prefix {
        margin-bottom: 4px;
        font-size: clamp(22px, 6.2vw, 28px);
        line-height: 1;
        white-space: nowrap;
    }

    .guest-home .hero-offer-stack div > span {
        margin-top: 5px;
        font-size: 13px;
        line-height: 1.3;
    }

    .hero-actions, .agent-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }

    .guest-home .hero-actions {
        margin-top: 24px;
        gap: 10px;
    }

    .guest-home .hero-actions .btn {
        width: 100%;
        min-height: 52px;
        border-radius: 999px;
        padding: 11px 16px;
        font-size: 16px;
    }

    .guest-home .hero-actions .btn-primary {
        background: #05070d;
        color: white;
        box-shadow: 0 18px 32px rgba(0, 0, 0, 0.22);
    }

    .guest-home .hero-actions .btn-whatsapp,
    .guest-home .hero-actions .btn-disabled {
        background: white;
        color: #14224d;
        box-shadow: 0 16px 30px rgba(13, 83, 160, 0.18);
    }

    .guest-home .hero-trust-note {
        max-width: 330px;
        margin-top: 14px;
        font-size: 12px;
        line-height: 1.35;
    }

    .section {
        padding: 54px 16px;
    }

    .about-section {
        padding: 54px 0;
    }

    .about-section::before {
        width: calc(100% - 24px);
        margin-bottom: 14px;
    }

    .about-section > .about-lead,
    .about-section > .trust-figures {
        padding-right: 16px;
        padding-left: 16px;
    }

    .about-image-placeholder {
        margin-top: 18px;
    }

    .section-intro h2,
    .section h2,
    .page-heading h1,
    .admin-heading h1 {
        font-size: 28px;
    }

    .section-heading,
    h2.section-heading,
    h3.section-heading {
        font-size: 34px;
    }

    .figure-grid,
    .level-grid,
    .mobile-cards,
    .admin-stat-grid {
        grid-template-columns: 1fr;
    }

    .brand-band .level-grid {
        grid-template-columns: 1fr;
    }

    .voucher-targets {
        grid-template-columns: 1fr;
    }

    .reward-progress-row > div:first-child {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .reward-progress-row span {
        text-align: left;
    }

    .simulation-card h3 {
        font-size: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .brand-lockup-large .brand-text strong {
        font-size: 24px;
    }

    .whatsapp-float {
        right: 12px;
        bottom: 72px;
        max-width: calc(100vw - 24px);
    }
}
