/* MetaFormaqin Landing — soft UI (referensi desain publik) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700;800&display=swap');

html:has(body.landing-page) {
    overflow-x: clip;
}

body.landing-page {
    --lp-navy: #0c4a6e;
    --lp-blue: #0369a1;
    --lp-blue-light: #0284c7;
    --lp-sky: #e0f2fe;
    --lp-sky-deep: #bae6fd;
    --lp-purple: #7c5cbf;
    --lp-purple-soft: #ede9fe;
    --lp-text: #1e293b;
    --lp-muted: #64748b;
    --lp-white: #ffffff;
    --lp-shadow: 0 10px 40px rgba(26, 58, 107, 0.08);
    --lp-shadow-sm: 0 4px 20px rgba(26, 58, 107, 0.06);
    --lp-radius: 24px;
    --lp-radius-pill: 999px;

    font-family: 'Noto Sans', 'Segoe UI', sans-serif;
    color: var(--lp-text);
    background: var(--lp-white);
    line-height: 1.6;
    overflow-x: clip;
    max-width: 100%;
}

body.landing-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    min-width: 0;
}

/* Background blobs */
.lp-bg-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.lp-bg-shapes span {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
}

.lp-bg-shapes .blob-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
    top: -120px;
    right: -100px;
}

.lp-bg-shapes .blob-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #ede9fe, #dbeafe);
    top: 400px;
    left: -150px;
}

.lp-bg-shapes .blob-3 {
    width: 350px;
    height: 350px;
    background: #e0f2fe;
    bottom: 200px;
    right: 10%;
}

body.landing-page > *:not(.lp-bg-shapes):not(.lp-mobile-menu) {
    position: relative;
    z-index: 1;
}

/* Top utility bar */
.lp-topbar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.8rem;
}

.lp-topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    padding-bottom: 8px;
}

.lp-topbar-links {
    display: flex;
    gap: 1.25rem;
    list-style: none;
}

.lp-topbar-links a {
    color: var(--lp-muted);
    text-decoration: none;
}

.lp-topbar-links[hidden] {
    display: none;
}

.lp-topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lp-lang {
    color: var(--lp-muted);
    font-size: 0.8rem;
    cursor: pointer;
}

.lp-btn-portal {
    display: none;
    background: var(--lp-blue);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: var(--lp-radius-pill);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: background 0.2s;
}

.lp-btn-portal:hover {
    background: var(--lp-navy);
}

/* Main navbar */
.lp-navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.lp-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.lp-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--lp-navy);
    font-weight: 800;
    font-size: 1.25rem;
}

.lp-brand-icon {
    width: auto;
    min-width: 44px;
    height: 52px;
    background: transparent;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--lp-shadow-sm);
}

.lp-nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.lp-nav-menu a {
    text-decoration: none;
    color: var(--lp-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.lp-nav-menu a:hover {
    color: var(--lp-blue);
}

.lp-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lp-nav-search,
.lp-nav-toggle {
    width: 42px;
    height: 42px;
    border: none;
    background: var(--lp-sky);
    border-radius: 50%;
    color: var(--lp-navy);
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}

.lp-nav-search:hover,
.lp-nav-toggle:hover {
    background: var(--lp-sky-deep);
}

.lp-nav-toggle {
    display: none;
}

/* Hero search */
.lp-hero {
    padding: 3rem 0 2rem;
    text-align: center;
}

.lp-hero-bg {
    position: relative;
    padding: 2.5rem 1rem 3rem;
    border-radius: 0 0 48px 48px;
    background: linear-gradient(180deg, #f0f9ff 0%, rgba(255, 255, 255, 0) 100%);
}

.lp-search-wrap {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.lp-mascot {
    position: absolute;
    left: -20px;
    bottom: 8px;
    width: 72px;
    height: 72px;
    font-size: 3.5rem;
    line-height: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    z-index: 2;
    pointer-events: none;
}

.lp-search-bar {
    display: flex;
    align-items: center;
    background: white;
    border-radius: var(--lp-radius-pill);
    box-shadow: var(--lp-shadow);
    padding: 8px 8px 8px 56px;
    border: 1px solid #e2e8f0;
}

.lp-search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 14px 16px;
    font-family: inherit;
    background: transparent;
}

.lp-search-bar input::placeholder {
    color: #94a3b8;
}

.lp-search-btn {
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: var(--lp-navy);
    color: white;
    cursor: pointer;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: transform 0.2s, background 0.2s;
}

.lp-search-btn:hover {
    background: var(--lp-blue);
    transform: scale(1.05);
}

.lp-trending {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.lp-trending span {
    font-size: 0.8rem;
    color: var(--lp-muted);
    margin-right: 0.25rem;
}

.lp-trending a {
    font-size: 0.8rem;
    color: var(--lp-blue);
    text-decoration: none;
    background: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--lp-radius-pill);
    border: 1px solid #e2e8f0;
}

.lp-trending a:hover {
    background: var(--lp-sky);
    border-color: var(--lp-sky-deep);
}

/* Quick access */
.lp-quick-access {
    padding: 1rem 0 3rem;
}

.lp-main-modules-head {
    margin-bottom: 1rem;
    text-align: left;
}

.lp-main-modules-head h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--lp-navy);
    margin-bottom: 0.25rem;
}

.lp-main-modules-head p {
    font-size: 0.88rem;
    color: var(--lp-muted);
}

.lp-system-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 100%;
    background: #eef2ff;
    border: 1px solid #dbeafe;
    border-radius: var(--lp-radius-pill);
    padding: 0.35rem;
    margin-bottom: 1rem;
}

.lp-system-tabs button {
    border: none;
    background: transparent;
    color: var(--lp-muted);
    border-radius: var(--lp-radius-pill);
    padding: 0.55rem 1rem;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lp-system-tabs button.active {
    background: var(--lp-navy);
    color: #fff;
}

.lp-system-panel {
    display: none;
}

.lp-system-panel.active {
    display: block;
}

.lp-quick-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 1rem;
}

.lp-quick-card {
    background: white;
    border-radius: 20px;
    padding: 1.25rem 0.75rem;
    text-align: center;
    text-decoration: none;
    color: var(--lp-text);
    box-shadow: var(--lp-shadow-sm);
    border: 1px solid #f1f5f9;
    transition: transform 0.2s, box-shadow 0.2s;
    min-width: 0;
}

.lp-quick-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-shadow);
}

.lp-quick-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 0.75rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.lp-quick-icon.c1 { background: #dbeafe; color: #2563eb; }
.lp-quick-icon.c2 { background: #dcfce7; color: #16a34a; }
.lp-quick-icon.c3 { background: #fef3c7; color: #d97706; }
.lp-quick-icon.c4 { background: #fce7f3; color: #db2777; }
.lp-quick-icon.c5 { background: #e0e7ff; color: #4f46e5; }
.lp-quick-icon.c6 { background: #ccfbf1; color: #0d9488; }
.lp-quick-icon.c7 { background: #fee2e2; color: #dc2626; }
.lp-quick-icon.c8 { background: #ffedd5; color: #ea580c; }

/* Custom update service banner */
.lp-custom-update {
    padding: 0 0 4rem;
}

.lp-custom-update-banner {
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
    border-radius: var(--lp-radius);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    border: 1px solid #fde68a;
}

.lp-custom-update-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #b45309;
    background: rgba(251, 191, 36, 0.25);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.lp-custom-update-banner h3 {
    font-size: 1.35rem;
    color: var(--lp-navy);
    margin-bottom: 0.5rem;
}

.lp-custom-update-banner p {
    color: var(--lp-muted);
    font-size: 0.95rem;
    max-width: 52ch;
}

.lp-quick-card span {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
    display: block;
    overflow-wrap: anywhere;
}

.lp-available-groups {
    margin-top: 1.75rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.lp-group-card {
    --lp-row-accent: #3b82f6;
    --lp-row-icon-bg: #eff6ff;
    --lp-row-icon-color: #2563eb;
}

.lp-group-card.h2h {
    --lp-row-accent: #3b82f6;
    --lp-row-icon-bg: #eff6ff;
    --lp-row-icon-color: #2563eb;
}

.lp-group-card.akademik {
    --lp-row-accent: #14b8a6;
    --lp-row-icon-bg: #ecfdf5;
    --lp-row-icon-color: #0d9488;
}

.lp-group-card.office {
    --lp-row-accent: #f97316;
    --lp-row-icon-bg: #fff7ed;
    --lp-row-icon-color: #ea580c;
}

.lp-group-card.pesantren {
    --lp-row-accent: #8b5cf6;
    --lp-row-icon-bg: #f5f3ff;
    --lp-row-icon-color: #7c3aed;
}

.lp-group-card.premium {
    --lp-row-accent: #d97706;
    --lp-row-icon-bg: #fffbeb;
    --lp-row-icon-color: #b45309;
}

.lp-group-card--full {
    grid-column: 1 / -1;
}

.lp-group-list--grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--lp-module-row-gap);
}

.lp-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
    padding: 0 0.15rem;
}

.lp-group-head h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--lp-navy);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.35;
}

.lp-group-head h3 i {
    font-size: 0.85rem;
    color: var(--lp-row-icon-color);
}

.lp-group-head span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--lp-muted);
}

.lp-group-list {
    --lp-module-row-size: 4.85rem;
    --lp-module-row-gap: 0.65rem;
    display: flex;
    flex-direction: column;
    gap: var(--lp-module-row-gap);
}

.lp-group-list.is-scrollable {
    max-height: calc(3 * var(--lp-module-row-size) + 2 * var(--lp-module-row-gap));
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.35rem;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.lp-group-list.is-scrollable::-webkit-scrollbar {
    width: 5px;
}

.lp-group-list.is-scrollable::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

.lp-group-list.is-scrollable::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.lp-module-row {
    flex-shrink: 0;
    min-height: var(--lp-module-row-size);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem 0.85rem 0;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #eef2f7;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.lp-module-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--lp-row-accent);
    border-radius: 14px 0 0 14px;
}

.lp-module-row:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    border-color: #e2e8f0;
}

.lp-module-row-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin-left: 1rem;
    border-radius: 12px;
    background: var(--lp-row-icon-bg);
    color: var(--lp-row-icon-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.lp-module-row-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.lp-module-row-text strong {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.lp-module-row-text small {
    font-size: 0.78rem;
    font-weight: 400;
    color: #64748b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lp-module-row-chevron {
    flex-shrink: 0;
    font-size: 0.75rem;
    color: #cbd5e1;
    margin-right: 0.25rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.lp-module-row:hover .lp-module-row-chevron {
    color: var(--lp-row-accent);
    transform: translateX(2px);
}

/* News section */
.lp-news {
    padding: 2rem 0 4rem;
}

.lp-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
    min-width: 0;
}

.lp-section-head h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--lp-navy);
}

.lp-tabs {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lp-tabs button {
    border: none;
    background: transparent;
    padding: 0.5rem 1rem;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--lp-muted);
    cursor: pointer;
    border-radius: var(--lp-radius-pill);
    transition: all 0.2s;
}

.lp-tabs button.active {
    background: var(--lp-navy);
    color: white;
}

.lp-btn-more {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: white;
    color: var(--lp-navy);
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
}

.lp-news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 1.25rem;
}

.lp-news-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lp-news-card {
    background: white;
    border-radius: var(--lp-radius);
    padding: 1.5rem;
    box-shadow: var(--lp-shadow-sm);
    border: 1px solid #f1f5f9;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s;
}

.lp-news-card:hover {
    box-shadow: var(--lp-shadow);
}

.lp-news-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: var(--lp-muted);
}

.lp-news-tag {
    background: #dbeafe;
    color: var(--lp-blue);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.75rem;
}

.lp-news-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.lp-news-card p {
    font-size: 0.875rem;
    color: var(--lp-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lp-featured {
    background: linear-gradient(145deg, #7c5cbf 0%, #5b4a9e 100%);
    border-radius: var(--lp-radius);
    padding: 2rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    box-shadow: var(--lp-shadow);
    position: relative;
    overflow: hidden;
}

.lp-featured-illus {
    font-size: 5rem;
    text-align: center;
    margin: 1rem 0;
    opacity: 0.95;
}

.lp-featured h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.lp-featured p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.lp-featured-nav {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.lp-featured-nav button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    color: white;
    cursor: pointer;
}

/* Calculator pill */
.lp-calculator {
    padding: 0 0 4rem;
}

.lp-calculator-top {
    padding-top: 0.5rem;
}

.lp-calc-pill {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 50%, #0c4a6e 100%);
    border-radius: 60px;
    overflow: hidden;
    box-shadow: var(--lp-shadow);
    min-height: 200px;
    max-width: 100%;
}

.lp-calc-sidebar {
    padding: 2rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.lp-calc-sidebar button {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
    padding: 0.6rem 0.75rem;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.2s;
}

.lp-calc-sidebar button.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 700;
}

.lp-calc-main {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem 1.5rem 0;
    flex-wrap: wrap;
    min-width: 0;
}

.lp-calc-icon-wrap {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.lp-calc-text {
    flex: 1;
    min-width: 180px;
    color: white;
}

.lp-calc-text h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.lp-calc-text p {
    font-size: 0.85rem;
    opacity: 0.9;
}

.lp-calc-form {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    background: white;
    border-radius: 28px;
    padding: 1rem 1.25rem;
    flex-wrap: wrap;
    min-width: 0;
    max-width: 100%;
}

.lp-calc-field label {
    display: block;
    font-size: 0.7rem;
    color: var(--lp-muted);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.lp-calc-field input,
.lp-calc-field select {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.5rem 0.75rem;
    font-family: inherit;
    font-size: 0.9rem;
    min-width: 0;
    max-width: 100%;
}

.lp-calc-submit {
    background: var(--lp-navy);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--lp-radius-pill);
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.lp-calc-submit:hover {
    background: #0f2744;
}

.lp-calc-result {
    width: 100%;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: var(--lp-navy);
    font-weight: 600;
    display: none;
}

.lp-calc-result.show {
    display: block;
}

/* Bank Muamalat TPB / GBH calculator */
.lp-calc-head {
    display: contents;
}

.lp-calc-pill--bank {
    border-radius: 24px;
    grid-template-columns: 200px minmax(0, 1fr);
    overflow: visible;
}

.lp-calc-pill--bank .lp-calc-sidebar {
    padding: 1.25rem 1rem;
}

.lp-calc-main--bank {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.25rem 1.5rem 1.5rem 0;
    min-width: 0;
}

.lp-calc-main--bank .lp-calc-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.lp-calc-main--bank .lp-calc-icon-wrap {
    width: 56px;
    height: 56px;
    font-size: 1.65rem;
}

.lp-calc-main--bank .lp-calc-text {
    flex: 1;
    min-width: 0;
}

.lp-calc-form--stacked {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    gap: 1rem;
    box-sizing: border-box;
}

.lp-calc-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem;
}

.lp-calc-panel.hidden {
    display: none !important;
}

.lp-calc-panel--bank {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    width: 100%;
}

.lp-calc-field-grid {
    display: grid;
    gap: 0.85rem;
    width: 100%;
}

.lp-calc-field-grid--2 {
    grid-template-columns: 1fr 1fr;
}

.lp-calc-panel--bank .lp-calc-field {
    width: 100%;
    min-width: 0;
}

.lp-calc-memo {
    width: 100%;
    margin: 0;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.45;
    padding: 0.65rem 0.85rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-sizing: border-box;
}

.lp-calc-keterangan {
    width: 100%;
    margin: -0.35rem 0 0;
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.4;
}

.lp-calc-panel--bank .lp-calc-field input,
.lp-calc-panel--bank .lp-calc-field select {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0.6rem 0.75rem;
}

.lp-calc-mode-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
}

.lp-calc-mode-opt {
    cursor: pointer;
    min-width: 0;
}

.lp-calc-mode-opt input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.lp-calc-mode-opt span {
    display: block;
    text-align: center;
    padding: 0.6rem 0.5rem;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    transition: all 0.2s;
    line-height: 1.3;
}

.lp-calc-mode-opt input:checked + span {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
}

.lp-calc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    padding-top: 0.25rem;
    border-top: 1px solid #f1f5f9;
}

.lp-calc-reset {
    background: #fff;
    color: var(--lp-navy);
    border: 2px solid #e2e8f0;
    padding: 0.7rem 1.25rem;
    border-radius: var(--lp-radius-pill);
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.lp-calc-reset:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.lp-calc-result-card {
    width: 100%;
    margin-top: 0;
}

.lp-calc-result-card-inner {
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    padding: 1.15rem 1.35rem;
}

.lp-calc-result-card-inner h4 {
    margin: 0 0 0.85rem 0;
    font-size: 0.9rem;
    color: #1e40af;
    font-weight: 700;
}

.lp-calc-result-hero {
    text-align: center;
    padding: 1rem 0.75rem;
    background: #fff;
    border-radius: 12px;
    border: 2px solid #bfdbfe;
    margin-bottom: 0.75rem;
}

.lp-calc-result-hero-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.lp-calc-result-hero-value {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: #1d4ed8;
    line-height: 1.2;
}

.lp-calc-result-lines {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.lp-calc-result-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    font-size: 0.82rem;
    color: #475569;
    padding: 0.35rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.lp-calc-result-line:last-child {
    border-bottom: none;
}

.lp-calc-result-line strong {
    color: #0f172a;
    font-weight: 700;
    text-align: right;
}

.lp-calc-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.65rem 1rem;
    margin: 0;
}

.lp-calc-result-row {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.lp-calc-result-row--full {
    grid-column: 1 / -1;
    padding-top: 0.5rem;
    border-top: 1px dashed #93c5fd;
    margin-top: 0.15rem;
}

.lp-calc-result-row dt {
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.lp-calc-result-row dd {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
}

.lp-calc-result-val--highlight {
    color: #1d4ed8 !important;
    font-size: 1rem !important;
}

.lp-calc-auto-tag {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #2563eb;
    background: #dbeafe;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 0.2rem;
}

.lp-calc-result-note {
    margin: 0.85rem 0 0 0;
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .lp-calc-field-grid--2,
    .lp-calc-mode-toggle {
        grid-template-columns: 1fr;
    }

    .lp-calc-main--bank {
        padding: 1rem;
    }

    .lp-calc-pill--bank {
        border-radius: 20px;
    }
}

/* Info & contact */
.lp-info {
    padding: 2rem 0 4rem;
}

.lp-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 3rem;
    align-items: start;
}

.lp-info-left h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--lp-navy);
    margin-bottom: 1rem;
}

.lp-info-left > p {
    color: var(--lp-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.lp-hours {
    list-style: none;
    margin-bottom: 2rem;
}

.lp-hours li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0;
    font-size: 0.9rem;
}

.lp-hours i {
    color: var(--lp-blue);
    width: 20px;
}

.lp-hours a.lp-contact-wa {
    color: var(--lp-blue);
    font-weight: 600;
    text-decoration: none;
}

.lp-hours a.lp-contact-wa:hover {
    text-decoration: underline;
}

.lp-info-company {
    margin: -0.5rem 0 0.75rem;
    font-size: 0.9rem;
    color: var(--lp-navy);
}

.lp-contact-card .phone.lp-contact-wa {
    display: inline-block;
    text-decoration: none;
}

.lp-contact-card .phone.lp-contact-wa:hover {
    text-decoration: underline;
}

.lp-footer-company {
    margin: 0.35rem 0 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

.lp-footer-info a.lp-contact-wa {
    color: inherit;
    text-decoration: underline;
}

.lp-info-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.lp-info-link-item {
    text-align: center;
    text-decoration: none;
    color: var(--lp-text);
}

.lp-info-link-item .circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--lp-sky);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    color: var(--lp-blue);
    font-size: 1.25rem;
    transition: background 0.2s;
}

.lp-info-link-item:hover .circle {
    background: var(--lp-sky-deep);
}

.lp-info-link-item span {
    font-size: 0.75rem;
    font-weight: 600;
}

.lp-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.lp-contact-card {
    background: white;
    border-radius: var(--lp-radius);
    padding: 1.5rem;
    box-shadow: var(--lp-shadow-sm);
    border: 1px solid #f1f5f9;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}

.lp-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-shadow);
}

.lp-contact-card .icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: white;
}

.lp-contact-card .icon.red { background: #ef4444; }
.lp-contact-card .icon.blue { background: #3b82f6; }
.lp-contact-card .icon.green { background: #22c55e; }
.lp-contact-card .icon.purple { background: #8b5cf6; }
.lp-contact-card .icon.amber { background: #f59e0b; }
.lp-contact-card .icon.teal { background: #14b8a6; }

.lp-contact-card--link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.lp-contact-action {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    background: var(--lp-blue);
    padding: 0.45rem 1rem;
    border-radius: 999px;
    margin-top: 0.25rem;
    transition: background 0.2s, transform 0.2s;
}

.lp-contact-card--link:hover .lp-contact-action {
    background: #1d4ed8;
}

.lp-contact-action--link {
    font-size: 0.8rem;
}

.lp-contact-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.lp-contact-card .phone {
    font-size: 1rem;
    font-weight: 700;
    color: var(--lp-blue);
}

.lp-info-illus {
    margin-top: 2rem;
    text-align: center;
    font-size: 4rem;
    line-height: 1.2;
    opacity: 0.9;
}

.lp-info-illus small {
    display: block;
    font-size: 0.85rem;
    color: var(--lp-muted);
    margin-top: 0.5rem;
}

/* Modules strip */
.lp-modules {
    padding: 0 0 4rem;
    scroll-margin-top: 96px;
}

.lp-user-dashboard-modules {
    padding-top: 0;
}

.lp-user-dash-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.lp-user-dash-card {
    background: white;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--lp-shadow-sm);
    text-decoration: none;
    color: var(--lp-text);
    padding: 0.75rem;
    transition: transform 0.2s, box-shadow 0.2s;
    min-width: 0;
    overflow: hidden;
}

.lp-user-dash-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lp-shadow);
}

.lp-user-dash-preview {
    container-type: inline-size;
    position: relative;
    width: 100%;
    height: 170px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.lp-user-dash-preview iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 1280px;
    height: 720px;
    max-width: none;
    border: 0;
    transform: scale(0.22);
    transform: scale(calc(100cqw / 1280));
    transform-origin: 0 0;
    pointer-events: none;
}

.lp-user-dash-card span {
    margin-top: 0.7rem;
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.lp-modules-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
}

.lp-module-chip {
    flex: 0 0 auto;
    background: white;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow: var(--lp-shadow-sm);
    border: 1px solid #f1f5f9;
    text-align: center;
    min-width: 140px;
    text-decoration: none;
    color: var(--lp-text);
    transition: transform 0.2s;
}

.lp-module-chip:hover {
    transform: translateY(-3px);
    box-shadow: var(--lp-shadow);
}

.lp-module-chip i {
    font-size: 1.75rem;
    color: var(--lp-blue);
    display: block;
    margin-bottom: 0.5rem;
}

.lp-module-chip span {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Features compact */
.lp-features {
    padding: 2rem 0 4rem;
    background: linear-gradient(180deg, #f8fafc 0%, white 100%);
    border-radius: 48px 48px 0 0;
}

.lp-features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.lp-feature-item {
    background: white;
    border-radius: var(--lp-radius);
    padding: 1.5rem;
    box-shadow: var(--lp-shadow-sm);
    text-align: center;
    border: 1px solid #f1f5f9;
}

.lp-feature-item i {
    font-size: 2rem;
    color: var(--lp-blue);
    margin-bottom: 0.75rem;
}

.lp-feature-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.lp-feature-item p {
    font-size: 0.8rem;
    color: var(--lp-muted);
}

/* Referral banner */
.lp-referral {
    padding: 0 0 4rem;
}

.lp-referral-banner {
    background: linear-gradient(135deg, #f0f9ff, #ede9fe);
    border-radius: var(--lp-radius);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    border: 1px solid #e2e8f0;
}

.lp-referral-banner h3 {
    font-size: 1.35rem;
    color: var(--lp-navy);
    margin-bottom: 0.5rem;
}

.lp-referral-banner p {
    color: var(--lp-muted);
    font-size: 0.95rem;
}

.lp-btn-primary {
    background: var(--lp-navy);
    color: white;
    padding: 0.85rem 1.75rem;
    border-radius: var(--lp-radius-pill);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s, transform 0.2s;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.lp-btn-primary:hover {
    background: var(--lp-blue);
    transform: translateY(-2px);
}

/* Footer */
.lp-footer-partners {
    background: #f8fafc;
    padding: 1.5rem 0;
    border-top: 1px solid #e2e8f0;
}

.lp-partners-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    opacity: 0.5;
    filter: grayscale(100%);
}

.lp-partners-row span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--lp-muted);
    letter-spacing: 0.05em;
}

.lp-footer {
    background: white;
    padding: 2.5rem 0;
    border-top: 1px solid #e2e8f0;
}

.lp-footer-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.lp-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--lp-navy);
    font-size: 1.1rem;
}

.lp-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    list-style: none;
    margin-bottom: 1rem;
}

.lp-footer-links a {
    color: var(--lp-muted);
    text-decoration: none;
    font-size: 0.85rem;
}

.lp-footer-links a:hover {
    color: var(--lp-blue);
}

.lp-footer-info {
    font-size: 0.8rem;
    color: var(--lp-muted);
    line-height: 1.8;
}

.lp-footer-top {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    color: var(--lp-navy);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.lp-footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.8rem;
    color: var(--lp-muted);
}

/* Mobile menu */
.lp-mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 2000;
    align-items: flex-start;
    justify-content: flex-end;
}

.lp-mobile-menu.open {
    display: flex;
}

.lp-mobile-panel {
    background: white;
    width: min(320px, 85vw);
    height: 100%;
    padding: 2rem;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.lp-mobile-panel ul {
    list-style: none;
    margin: 2rem 0;
}

.lp-mobile-panel a {
    display: block;
    padding: 0.75rem 0;
    text-decoration: none;
    color: var(--lp-text);
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
}

.lp-mobile-close {
    border: none;
    background: var(--lp-sky);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .lp-quick-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .lp-news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lp-user-dash-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-news-col.featured-col {
        grid-column: 1 / -1;
    }

    .lp-calc-pill {
        grid-template-columns: 1fr;
        border-radius: 32px;
    }

    .lp-calc-pill--bank {
        border-radius: 20px;
    }

    .lp-calc-main--bank {
        padding: 0 1rem 1.25rem;
    }

    .lp-calc-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 1rem;
    }

    .lp-calc-main {
        padding: 0 1rem 1.5rem;
    }

    .lp-calc-form {
        width: 100%;
    }

    .lp-calc-text {
        min-width: 0;
    }

    .lp-info-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    body.landing-page .container {
        padding: 0 16px;
    }

    .lp-nav-menu {
        display: none;
    }

    .lp-nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

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

    .lp-main-modules-head {
        text-align: center;
    }

    .lp-news-grid {
        grid-template-columns: 1fr;
    }

    .lp-user-dash-grid {
        grid-template-columns: 1fr;
    }

    .lp-available-groups {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .lp-group-card--full {
        grid-column: 1;
    }

    .lp-group-list--grid {
        grid-template-columns: 1fr;
    }

    .lp-group-list {
        --lp-module-row-size: 4.6rem;
    }

    .lp-module-row {
        padding: 0.75rem 0.85rem 0.75rem 0;
    }

    .lp-module-row-icon {
        width: 40px;
        height: 40px;
        margin-left: 0.85rem;
        font-size: 0.95rem;
    }

    .lp-mascot {
        display: none;
    }

    .lp-search-bar {
        padding-left: 16px;
    }

    .lp-contact-grid {
        grid-template-columns: 1fr;
    }

    .lp-features-grid {
        grid-template-columns: 1fr;
    }

    .lp-topbar-links {
        display: none;
    }
}

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

/* 2026 landing refresh — professional school-first visual system */
body.landing-page {
    --lp-navy: #102a43;
    --lp-blue: #176b87;
    --lp-blue-light: #2d8ca7;
    --lp-sky: #edf7f8;
    --lp-sky-deep: #d5ecee;
    --lp-text: #183047;
    --lp-muted: #64788b;
    --lp-shadow: 0 24px 64px rgba(16, 42, 67, 0.10);
    --lp-shadow-sm: 0 10px 30px rgba(16, 42, 67, 0.08);
    --lp-radius: 18px;
    background: #f8fbfc;
}

.lp-bg-shapes,
.lp-topbar {
    display: none;
}

.lp-navbar {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(219, 229, 234, 0.9);
    box-shadow: 0 8px 30px rgba(16, 42, 67, 0.04);
}

.lp-brand-icon {
    width: auto;
    min-width: 48px;
    height: 48px;
    padding: 4px 8px;
    background: #fff;
    border: 1px solid #bae6fd;
    border-radius: 11px;
    box-shadow: 0 5px 14px rgba(16, 42, 67, 0.08);
}

.lp-nav-menu {
    gap: 1.6rem;
    align-items: center;
}

.lp-nav-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.15rem;
    color: #fff;
    background: var(--lp-navy);
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    order: 2;
}

.lp-nav-login:hover {
    color: #fff;
    background: var(--lp-blue);
}

.lp-nav-search {
    display: none;
}

.lp-brand-icon .ms-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 1px rgba(16, 42, 67, 0.82)) drop-shadow(0 2px 2px rgba(16, 42, 67, 0.16));
}

.lp-hero {
    padding: 0 0 4.5rem;
    text-align: left;
}

.lp-hero-bg {
    position: relative;
    min-height: 620px;
    padding: 0;
    display: flex;
    align-items: center;
    border-radius: 0;
    background: #0c4a6e;
    overflow: hidden;
}

.lp-hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.lp-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.1s ease;
    background-color: #0c4a6e;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    /* Default: CSS class --1/--2 or inline style from CMS sets the photo layer */
    background-image:
        linear-gradient(90deg, rgba(12, 74, 110, 0.96) 0%, rgba(3, 105, 161, 0.78) 36%, rgba(12, 74, 110, 0.22) 68%, rgba(12, 74, 110, 0.04) 100%);
}

.lp-hero-slide--1 {
    background-image:
        linear-gradient(90deg, rgba(12, 74, 110, 0.96) 0%, rgba(3, 105, 161, 0.78) 36%, rgba(12, 74, 110, 0.22) 68%, rgba(12, 74, 110, 0.04) 100%),
        url('../assets/images/metaformaqin-hero-clay-pesantren-smooth.png');
}

.lp-hero-slide--2 {
    background-image:
        linear-gradient(90deg, rgba(12, 74, 110, 0.96) 0%, rgba(3, 105, 161, 0.78) 36%, rgba(12, 74, 110, 0.22) 68%, rgba(12, 74, 110, 0.04) 100%),
        url('../assets/images/metaformaqin-hero-pixar-santri.png');
}

.lp-hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.lp-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 620px;
}

.lp-hero-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.35rem;
    z-index: 3;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.lp-hero-dots {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(16, 42, 67, 0.28);
    backdrop-filter: blur(8px);
    pointer-events: auto;
}

.lp-hero-dot {
    width: 0.55rem;
    height: 0.55rem;
    border: 0;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.lp-hero-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.lp-hero-dot.is-active {
    width: 1.55rem;
    background: #8dd7c8;
}

.lp-hero-dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.lp-hero-copy {
    width: min(650px, 58%);
    color: #fff;
    padding: 5rem 0 6rem;
}

.lp-eyebrow,
.lp-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.lp-eyebrow {
    color: #bce7dd;
    background: rgba(44, 180, 154, 0.14);
    border: 1px solid rgba(188, 231, 221, 0.24);
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
}

.lp-hero-copy h1 {
    max-width: 650px;
    margin: 1.35rem 0 1.15rem;
    font-size: clamp(2.7rem, 5vw, 4.5rem);
    line-height: 1.06;
    letter-spacing: -0.045em;
    color: #fff;
}

.lp-hero-copy h1 em {
    color: #8dd7c8;
    font-style: normal;
}

.lp-hero-copy > p {
    max-width: 590px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.06rem;
    line-height: 1.75;
}

.lp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.lp-btn-hero-primary,
.lp-btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 50px;
    padding: 0.8rem 1.35rem;
    border-radius: 11px;
    text-decoration: none;
    font-weight: 750;
    transition: transform 0.2s ease, background 0.2s ease;
}

.lp-btn-hero-primary {
    color: #102a43;
    background: #f3c969;
}

.lp-btn-hero-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.lp-btn-hero-primary:hover,
.lp-btn-hero-secondary:hover {
    transform: translateY(-2px);
}

.lp-btn-hero-primary:hover { background: #ffda7f; }
.lp-btn-hero-secondary:hover { background: rgba(255, 255, 255, 0.18); }

.lp-hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.15rem;
    margin-top: 1.75rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
}

.lp-hero-proof i { color: #8dd7c8; }

.lp-hero-insight {
    position: absolute;
    right: 1.5rem;
    bottom: 2rem;
    width: min(330px, 30vw);
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem;
    color: #183047;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    box-shadow: 0 22px 50px rgba(7, 25, 42, 0.24);
    backdrop-filter: blur(14px);
}

.lp-insight-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    color: #fff;
    background: var(--lp-blue);
    border-radius: 12px;
}

.lp-hero-insight strong,
.lp-hero-insight small { display: block; }
.lp-hero-insight small { margin-top: 0.15rem; color: var(--lp-muted); line-height: 1.45; }

.lp-quick-access {
    padding: 4.5rem 24px 2rem !important;
}

.lp-main-modules-head {
    max-width: 690px;
    margin: 0 auto 1.8rem;
    text-align: center;
}

.lp-section-kicker { color: var(--lp-blue); }

.lp-main-modules-head h2 {
    margin: 0.65rem 0 0.6rem;
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.lp-main-modules-head p { font-size: 1rem; }
.lp-system-tabs { display: flex; width: fit-content; margin: 0 auto 1.6rem; background: #eaf3f4; border-color: #d8e8e9; }

.lp-quick-card,
.lp-group-card,
.lp-user-dash-card,
.lp-news-card,
.lp-feature-item,
.lp-contact-card {
    border: 1px solid #e4ecef;
    box-shadow: 0 10px 30px rgba(16, 42, 67, 0.055);
}

.lp-quick-card { border-radius: 15px; }
.lp-quick-card:hover { transform: translateY(-4px); border-color: #bfdadc; box-shadow: 0 18px 38px rgba(16, 42, 67, 0.10); }
.lp-calculator, .lp-features, .lp-info { background: #f0f6f6; }

@media (max-width: 900px) {
    .lp-hero-bg,
    .lp-hero-content { min-height: 590px; }
    .lp-hero-slide {
        background-position: 58% center;
    }
    .lp-hero-slide--1 {
        background-image:
            linear-gradient(90deg, rgba(12, 74, 110, 0.96) 0%, rgba(12, 74, 110, 0.82) 58%, rgba(12, 74, 110, 0.38) 100%),
            url('../assets/images/metaformaqin-hero-clay-pesantren-smooth.png');
    }
    .lp-hero-slide--2 {
        background-image:
            linear-gradient(90deg, rgba(12, 74, 110, 0.96) 0%, rgba(12, 74, 110, 0.82) 58%, rgba(12, 74, 110, 0.38) 100%),
            url('../assets/images/metaformaqin-hero-pixar-santri.png');
    }
    .lp-hero-copy { width: min(680px, 76%); }
    .lp-hero-insight { display: none; }
}

@media (max-width: 768px) {
    .lp-navbar { padding: 0.6rem 0; }
    .lp-nav-login { display: none; }
    .lp-hero-bg,
    .lp-hero-content { min-height: 600px; }
    .lp-hero-slide {
        background-position: 66% center;
    }
    .lp-hero-slide--1 {
        background-image:
            linear-gradient(180deg, rgba(12, 74, 110, 0.86) 0%, rgba(12, 74, 110, 0.92) 100%),
            url('../assets/images/metaformaqin-hero-clay-pesantren-smooth.png');
    }
    .lp-hero-slide--2 {
        background-image:
            linear-gradient(180deg, rgba(12, 74, 110, 0.86) 0%, rgba(12, 74, 110, 0.92) 100%),
            url('../assets/images/metaformaqin-hero-pixar-santri.png');
    }
    .lp-hero-copy { width: 100%; padding: 4rem 0; }
    .lp-hero-copy h1 { font-size: clamp(2.45rem, 11vw, 3.6rem); }
    .lp-hero-copy > p { font-size: 0.96rem; }
    .lp-hero-proof { gap: 0.55rem; flex-direction: column; }
    .lp-quick-access { padding-top: 3.5rem !important; }
    .lp-hero-controls { bottom: 1rem; }
}

@media (max-width: 480px) {
    .lp-hero-bg,
    .lp-hero-content { min-height: 640px; }
    .lp-btn-hero-primary,
    .lp-btn-hero-secondary { width: 100%; }
    .lp-eyebrow { font-size: 0.68rem; }
}

/* Informative card system */
.lp-quick-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.lp-quick-card {
    position: relative;
    min-height: 146px;
    padding: 1.15rem 1.15rem 1rem;
    text-align: left;
    overflow: hidden;
}

.lp-quick-card::after {
    content: '\f061';
    position: absolute;
    top: 1.25rem;
    right: 1.15rem;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.72rem;
    color: #b4c3cc;
    transition: color 0.2s ease, transform 0.2s ease;
}

.lp-quick-card:hover::after {
    color: var(--lp-blue);
    transform: translateX(3px);
}

.lp-quick-icon {
    width: 44px;
    height: 44px;
    margin: 0 0 0.8rem;
    border-radius: 12px;
    font-size: 1.15rem;
}

.lp-quick-card > span {
    padding-right: 1.2rem;
    font-size: 0.92rem;
    font-weight: 750;
    color: var(--lp-navy);
}

.lp-quick-card .lp-quick-desc {
    display: block;
    margin-top: 0.32rem;
    color: var(--lp-muted);
    font-size: 0.75rem;
    line-height: 1.45;
}

.lp-available-groups {
    gap: 1.15rem;
}

.lp-group-card {
    padding: 1.35rem;
    background: #fff;
    border-radius: 18px;
}

.lp-group-head {
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0;
}

.lp-group-title {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 0;
}

.lp-group-title-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    color: var(--lp-row-icon-color);
    background: var(--lp-row-icon-bg);
    border-radius: 11px;
}

.lp-group-head h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.35;
}

.lp-group-title p {
    margin: 0.22rem 0 0;
    color: var(--lp-muted);
    font-size: 0.74rem;
    line-height: 1.45;
}

.lp-group-head .lp-group-count {
    flex: 0 0 auto;
    padding: 0.32rem 0.62rem;
    color: var(--lp-row-icon-color);
    background: var(--lp-row-icon-bg);
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 750;
}

.lp-group-list {
    --lp-module-row-size: 5.15rem;
    --lp-module-row-gap: 0.6rem;
}

.lp-module-row {
    padding-right: 0.8rem;
    background: #fbfdfe;
    border-color: #e7eef1;
    box-shadow: none;
}

.lp-module-row:hover {
    background: #fff;
    border-color: #cbdde2;
    box-shadow: 0 10px 24px rgba(16, 42, 67, 0.08);
}

.lp-module-row-text strong {
    font-size: 0.88rem;
}

.lp-module-row-text small {
    color: #708394;
    font-size: 0.74rem;
}

@media (max-width: 1024px) {
    .lp-quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .lp-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-quick-card { min-height: 154px; padding: 1rem; }
    .lp-group-card { padding: 1rem; }
    .lp-group-head { align-items: center; }
    .lp-group-title p { display: none; }
}

@media (max-width: 420px) {
    .lp-quick-grid { grid-template-columns: 1fr; }
    .lp-quick-card {
        min-height: 0;
        display: grid;
        grid-template-columns: 46px 1fr;
        column-gap: 0.8rem;
        align-items: center;
    }
    .lp-quick-icon { grid-row: 1 / 3; margin: 0; }
    .lp-quick-card > span,
    .lp-quick-card .lp-quick-desc { grid-column: 2; }
    .lp-quick-card .lp-quick-desc { margin-top: 0.1rem; }
}

/* Contact center and location */
.lp-info {
    padding: 5.5rem 0;
    background: #eef5f5;
}

.lp-contact-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: 3rem;
    align-items: end;
    margin-bottom: 2rem;
}

.lp-contact-heading h2 {
    max-width: 650px;
    margin: 0.65rem 0 0;
    color: var(--lp-navy);
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.16;
    letter-spacing: -0.035em;
}

.lp-contact-heading > p {
    margin: 0 0 0.25rem;
    color: var(--lp-muted);
    font-size: 0.94rem;
    line-height: 1.75;
}

.lp-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    min-height: 510px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfeaec;
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(16, 42, 67, 0.09);
}

.lp-contact-overview {
    padding: 2.25rem;
}

.lp-contact-brandline {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.lp-contact-brandline img {
    width: 48px;
    height: 48px;
    padding: 5px;
    object-fit: contain;
    background: linear-gradient(145deg, #e9f7f5, #cfe9e7);
    border: 1px solid #c5dfde;
    border-radius: 13px;
    filter: drop-shadow(0 0 1px rgba(16, 42, 67, 0.82));
}

.lp-contact-brandline strong,
.lp-contact-brandline span { display: block; }
.lp-contact-brandline strong { color: var(--lp-navy); font-size: 1.05rem; }
.lp-contact-brandline span { margin-top: 0.08rem; color: var(--lp-muted); font-size: 0.74rem; }

.lp-contact-summary {
    margin: 1.25rem 0 1.5rem;
    color: var(--lp-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

.lp-contact-facts {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.lp-contact-fact {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem;
    background: #f7fafb;
    border: 1px solid #e8eff1;
    border-radius: 13px;
}

.lp-contact-fact-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    color: var(--lp-blue);
    background: #e4f2f3;
    border-radius: 10px;
}

.lp-contact-fact small,
.lp-contact-fact strong,
.lp-contact-fact p { display: block; }
.lp-contact-fact small { color: #7b8d9c; font-size: 0.68rem; }
.lp-contact-fact strong,
.lp-contact-fact a { color: var(--lp-navy); font-size: 0.82rem; font-weight: 750; text-decoration: none; }
.lp-contact-fact p { margin: 0.12rem 0 0; color: var(--lp-muted); font-size: 0.72rem; }

.lp-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.35rem;
}

.lp-contact-primary,
.lp-contact-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 44px;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.79rem;
    font-weight: 750;
}

.lp-contact-primary { color: #fff; background: #178b72; }
.lp-contact-secondary { color: var(--lp-navy); border: 1px solid #d8e5e8; background: #fff; }
.lp-contact-primary:hover { background: #11745f; }
.lp-contact-secondary:hover { border-color: #a9c6cc; }

.lp-map-card {
    position: relative;
    min-height: 510px;
    background: #dce8e8;
}

.lp-map-frame,
.lp-map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 510px;
    border: 0;
}

.lp-map-info {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 15px;
    box-shadow: 0 16px 35px rgba(16, 42, 67, 0.16);
    backdrop-filter: blur(12px);
}

.lp-map-info > div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.lp-map-info > div > span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    color: #fff;
    background: var(--lp-blue);
    border-radius: 11px;
}

.lp-map-info strong,
.lp-map-info small { display: block; }
.lp-map-info strong { color: var(--lp-navy); font-size: 0.84rem; }
.lp-map-info small { margin-top: 0.1rem; color: var(--lp-muted); font-size: 0.7rem; }
.lp-map-info > a { flex: 0 0 auto; color: var(--lp-blue); font-size: 0.74rem; font-weight: 750; text-decoration: none; }

.lp-support-channels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1rem;
}

.lp-support-channel {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid #dfeaec;
    border-radius: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-support-channel:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(16, 42, 67, 0.08);
}

.lp-support-channel > span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #fff;
    border-radius: 12px;
}

.lp-support-channel > span.customer { background: #e0605d; }
.lp-support-channel > span.sales { background: #2d8ca7; }
.lp-support-channel > span.technical { background: #178b72; }
.lp-support-channel small,
.lp-support-channel strong,
.lp-support-channel p { display: block; }
.lp-support-channel small { color: var(--lp-muted); font-size: 0.66rem; }
.lp-support-channel strong { margin-top: 0.08rem; color: var(--lp-navy); font-size: 0.82rem; }
.lp-support-channel p { margin: 0.08rem 0 0; color: var(--lp-blue); font-size: 0.72rem; font-weight: 650; }
.lp-support-channel > i { color: #aec0c8; font-size: 0.72rem; }

@media (max-width: 900px) {
    .lp-contact-heading { grid-template-columns: 1fr; gap: 1rem; }
    .lp-contact-heading > p { max-width: 650px; }
    .lp-contact-layout { grid-template-columns: 1fr; }
    .lp-map-card,
    .lp-map-frame,
    .lp-map-frame iframe { min-height: 410px; }
    .lp-support-channels { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .lp-info { padding: 4rem 0; }
    .lp-contact-overview { padding: 1.25rem; }
    .lp-contact-actions { flex-direction: column; }
    .lp-contact-primary,
    .lp-contact-secondary { width: 100%; }
    .lp-map-card,
    .lp-map-frame,
    .lp-map-frame iframe { min-height: 380px; }
    .lp-map-info { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; align-items: flex-start; flex-direction: column; }
    .lp-map-info > a { padding-left: 3.25rem; }
}

/* Persistent main navigation */
body.landing-page {
    padding-top: 65px;
}

body.landing-page > .lp-navbar {
    position: fixed !important;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 1900 !important;
}

body.landing-page section[id] {
    scroll-margin-top: 88px;
}

@media (max-width: 768px) {
    body.landing-page { padding-top: 61px; }
    body.landing-page section[id] { scroll-margin-top: 78px; }
}

/* Organic transitions between landing sections */
.lp-section-divider {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 76px;
    margin: -1px 0;
    overflow: hidden;
    pointer-events: none;
}

.lp-section-divider svg {
    display: block;
    width: 100%;
    height: 100%;
}

.lp-section-divider path { fill: currentColor; }
.lp-divider-flip svg { transform: scaleX(-1); }
.lp-divider-compact { height: 56px; }
.lp-divider-light-to-mist { color: #f0f6f6; background: #f8fbfc; }
.lp-divider-mist-to-light { color: #f8fbfc; background: #f0f6f6; }
.lp-divider-light-to-white { color: #ffffff; background: #f8fbfc; }
.lp-divider-white-to-mist { color: #f0f6f6; background: #ffffff; }

.lp-news { background: #ffffff; }
.lp-referral { background: #ffffff; }

.lp-section-divider::after {
    content: '';
    position: absolute;
    top: 18%;
    left: 12%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(23, 107, 135, 0.16);
    box-shadow: 34vw 20px 0 rgba(23, 107, 135, 0.08), 72vw -5px 0 rgba(23, 139, 114, 0.10);
}

@media (max-width: 768px) {
    .lp-section-divider { height: 52px; }
    .lp-divider-compact { height: 40px; }
    .lp-section-divider::after { opacity: 0.7; }
}

/* Subtle circular background ornaments — shared with registration */
.lp-calculator,
.lp-features,
.lp-info {
    background-color: #f0f6f6;
    background-image:
        radial-gradient(circle at 11% 42%, transparent 0 74px, rgba(23, 107, 135, 0.11) 75px 76px, transparent 77px),
        radial-gradient(circle at 88% 58%, transparent 0 94px, rgba(23, 139, 114, 0.10) 95px 96px, transparent 97px);
    background-repeat: no-repeat;
}

.lp-modules,
.lp-custom-update {
    background-color: #f8fbfc;
    background-image:
        radial-gradient(circle at 89% 44%, transparent 0 88px, rgba(23, 107, 135, 0.10) 89px 90px, transparent 91px),
        radial-gradient(circle at 12% 62%, transparent 0 66px, rgba(23, 139, 114, 0.08) 67px 68px, transparent 69px);
    background-repeat: no-repeat;
}

.lp-news,
.lp-referral {
    background-color: #fff;
    background-image:
        radial-gradient(circle at 11% 58%, transparent 0 72px, rgba(23, 107, 135, 0.09) 73px 74px, transparent 75px),
        radial-gradient(circle at 89% 42%, transparent 0 88px, rgba(23, 139, 114, 0.08) 89px 90px, transparent 91px);
    background-repeat: no-repeat;
}

.lp-calculator::after,
.lp-modules::after,
.lp-news::after,
.lp-features::after,
.lp-custom-update::after,
.lp-referral::after,
.lp-info::after {
    display: none;
}

.lp-calculator > .container,
.lp-modules > .container,
.lp-news > .container,
.lp-features > .container,
.lp-custom-update > .container,
.lp-referral > .container,
.lp-info > .container {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .lp-calculator,
    .lp-features,
    .lp-info,
    .lp-modules,
    .lp-custom-update,
    .lp-news,
    .lp-referral {
        background-image:
            radial-gradient(circle at 24% 34%, transparent 0 42px, rgba(23, 107, 135, 0.10) 43px 44px, transparent 45px),
            radial-gradient(circle at 78% 68%, transparent 0 54px, rgba(23, 139, 114, 0.09) 55px 56px, transparent 57px);
    }
}
