/* ============================================================
   Brankas Akun — Halaman Beranda Publik
   MA Al Asror Semarang · 2026
   ============================================================ */

:root {
    --ink: #0b1526;
    --text: #24324a;
    --muted: #5f6f86;
    --line: #e4e9f4;
    --surface: #ffffff;
    --surface-soft: #f7f9ff;
    --indigo: #4f46e5;
    --indigo-dark: #3730a3;
    --sky: #0ea5e9;
    --emerald: #059669;
    --navy: #080f1f;
    --radius: 22px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 18px 50px -24px rgba(30, 41, 59, 0.28);
    --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--surface-soft);
    -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    font: inherit;
}

::selection {
    color: #1e1b4b;
    background: #c7d2fe;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(79, 70, 229, 0.45);
    outline-offset: 3px;
    border-radius: 8px;
}

.skip-link {
    position: absolute;
    top: -80px;
    left: 16px;
    z-index: 200;
    padding: 10px 16px;
    border-radius: 10px;
    color: #ffffff;
    background: #111827;
    font-size: 0.85rem;
    font-weight: 700;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 14px;
}

/* ------------------------------ Navigasi ------------------------------ */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(248, 250, 255, 0.82);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-nav.scrolled {
    border-color: var(--line);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 13px 24px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.site-brand img {
    width: 44px;
    height: 44px;
    padding: 3px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.14);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-copy strong {
    color: var(--ink);
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.brand-copy small {
    color: var(--indigo);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 27px;
}

.nav-menu > a:not(.nav-cta) {
    position: relative;
    padding: 6px 0;
    color: #45536a;
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-menu > a:not(.nav-cta)::after {
    position: absolute;
    right: 100%;
    bottom: 0;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--indigo), var(--sky));
    content: "";
    transition: right 0.25s ease;
}

.nav-menu > a:not(.nav-cta):hover {
    color: var(--indigo-dark);
}

.nav-menu > a:not(.nav-cta):hover::after {
    right: 0;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--indigo), #4338ca);
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.28);
    font-size: 0.86rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(79, 70, 229, 0.34);
}

.nav-cta svg {
    width: 16px;
    height: 16px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #ffffff;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: #334155;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ------------------------------ Hero ------------------------------ */

.hero {
    position: relative;
    padding: 62px 24px 28px;
    overflow: hidden;
}

.hero::before {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(58% 55% at 12% 8%, rgba(79, 70, 229, 0.14), transparent 62%),
        radial-gradient(46% 46% at 90% 0%, rgba(14, 165, 233, 0.14), transparent 62%),
        radial-gradient(42% 42% at 50% 100%, rgba(16, 185, 129, 0.09), transparent 65%);
    content: "";
    pointer-events: none;
}

.hero::after {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 50% 20%, #000000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000000 0%, transparent 72%);
    content: "";
    opacity: 0.75;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    gap: 54px;
    max-width: 1180px;
    margin: 0 auto;
}

.hero-copy {
    max-width: 640px;
    padding: 14px 0;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid rgba(79, 70, 229, 0.15);
    border-radius: 999px;
    color: #4338ca;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.07);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16);
    animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16);
    }
    50% {
        box-shadow: 0 0 0 7px rgba(16, 185, 129, 0.05);
    }
}

.hero h1 {
    margin-top: 20px;
    color: var(--ink);
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.045em;
}

.text-gradient {
    color: transparent;
    background: linear-gradient(100deg, #4f46e5 0%, #0284c7 52%, #059669 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    max-width: 560px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 1.03rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--indigo), #4338ca);
    box-shadow: 0 14px 30px rgba(79, 70, 229, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(79, 70, 229, 0.34);
}

.btn-secondary {
    color: #24324a;
    background: #ffffff;
    border-color: var(--line);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: #c7d2fe;
    box-shadow: 0 12px 26px rgba(30, 41, 59, 0.1);
}

.hero-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 26px;
}

.hero-checks li {
    position: relative;
    padding-left: 24px;
    color: #4a5870;
    font-size: 0.81rem;
    font-weight: 600;
}

.hero-checks li::before {
    position: absolute;
    top: 3px;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px 9px no-repeat;
    content: "";
}

/* Mock brankas */

.hero-visual {
    position: relative;
    justify-self: end;
    width: 100%;
    max-width: 460px;
    padding: 24px 12px;
}

.vault-card {
    position: relative;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.93);
    box-shadow:
        0 30px 70px -20px rgba(30, 41, 59, 0.3),
        0 0 0 1px rgba(79, 70, 229, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: floatCard 7s ease-in-out infinite;
}

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

.vault-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
}

.window-dots {
    display: flex;
    gap: 5px;
}

.window-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e2e8f0;
}

.window-dots i:nth-child(1) {
    background: #fda4af;
}

.window-dots i:nth-child(2) {
    background: #fcd34d;
}

.window-dots i:nth-child(3) {
    background: #6ee7b7;
}

.vault-badge {
    padding: 4px 8px;
    border-radius: 999px;
    color: #047857;
    background: #d1fae5;
    font-size: 0.61rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.vault-head {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px;
    border-radius: 16px;
    background: linear-gradient(135deg, #eef2ff, #f5f3ff);
}

.vault-lock {
    display: grid;
    flex: none;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--indigo), #7c3aed);
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.3);
}

.vault-lock svg {
    width: 20px;
    height: 20px;
}

.vault-head strong {
    display: block;
    color: var(--ink);
    font-size: 0.9rem;
}

.vault-head small {
    display: block;
    color: var(--muted);
    font-size: 0.7rem;
}

.vault-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.vault-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbfcff;
}

.vault-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: var(--indigo);
    background: #eef2ff;
}

.vault-icon svg {
    width: 16px;
    height: 16px;
}

.vault-row:nth-child(2) .vault-icon {
    color: #0369a1;
    background: #e0f2fe;
}

.vault-row:nth-child(3) .vault-icon {
    color: #047857;
    background: #d1fae5;
}

.vault-row strong {
    display: block;
    overflow: hidden;
    color: #22304a;
    font-size: 0.78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vault-row small {
    display: block;
    overflow: hidden;
    color: #8494ab;
    font-size: 0.65rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.secret-dots {
    color: #94a3b8;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.vault-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
    color: var(--muted);
    font-size: 0.66rem;
}

.vault-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #047857;
    font-weight: 800;
}

.vault-status::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    content: "";
}

.float-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #334155;
    background: #ffffff;
    box-shadow: 0 16px 32px -10px rgba(30, 41, 59, 0.25);
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
    animation: floatCard 6s ease-in-out infinite;
}

.chip-top {
    top: 2px;
    right: -6px;
}

.chip-bottom {
    bottom: 2px;
    left: -16px;
    animation-delay: -2s;
}

.chip-icon {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    color: #047857;
    background: #d1fae5;
}

.chip-bottom .chip-icon {
    color: #4338ca;
    background: #e0e7ff;
}

.chip-icon svg {
    width: 13px;
    height: 13px;
}

.hero-stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1180px;
    margin: 44px auto 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 50px -24px rgba(30, 41, 59, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-stats > div {
    padding: 18px 24px;
    border-right: 1px solid var(--line);
}

.hero-stats > div:last-child {
    border-right: 0;
}

.hero-stats strong {
    display: block;
    color: #111c33;
    font-size: 1.06rem;
    letter-spacing: -0.01em;
}

.hero-stats span {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.73rem;
}

/* ------------------------------ Section umum ------------------------------ */

.section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 88px 24px;
}

.section-head {
    max-width: 700px;
    margin-bottom: 40px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    color: #4338ca;
    background: #eef2ff;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.section-head h2 {
    margin: 16px 0 12px;
    color: var(--ink);
    font-size: clamp(1.8rem, 3.1vw, 2.55rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.section-head p {
    max-width: 640px;
    color: var(--muted);
    font-size: 0.98rem;
}

.band {
    border-top: 1px solid #e8edf9;
    border-bottom: 1px solid #e8edf9;
    background: linear-gradient(180deg, #eef3ff 0%, #f7f9ff 100%);
}

.band .section {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* ------------------------------ Tentang madrasah ------------------------------ */

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    gap: 48px;
}

.about-copy p {
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 0.96rem;
}

.about-copy p strong {
    color: #1e293b;
}

.about-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.about-point {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 13px;
    color: #334155;
    background: #ffffff;
    font-size: 0.81rem;
    font-weight: 600;
}

.about-point svg {
    flex: none;
    width: 17px;
    height: 17px;
    margin-top: 1px;
    color: var(--indigo);
}

.school-card {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 24px 60px -30px rgba(30, 41, 59, 0.3);
}

.school-card::before {
    position: absolute;
    top: -70px;
    right: -70px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, #e0e7ff, transparent 70%);
    content: "";
}

.school-card-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.school-card-head img {
    width: 58px;
    height: 58px;
    padding: 4px;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
}

.school-kicker {
    color: var(--indigo);
    font-size: 0.61rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.school-card-head h3 {
    margin: 2px 0;
    color: var(--ink);
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.school-card-head small {
    color: var(--muted);
    font-size: 0.75rem;
}

.accreditation {
    display: grid;
    flex: none;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    color: #047857;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    font-size: 1rem;
    font-weight: 900;
}

.school-facts {
    position: relative;
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.school-facts li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.fact-icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    color: var(--indigo);
    background: #eef2ff;
}

.fact-icon svg {
    width: 16px;
    height: 16px;
}

.school-facts strong {
    display: block;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.school-facts p,
.school-facts a {
    color: #334155;
    font-size: 0.81rem;
    line-height: 1.5;
    overflow-wrap: break-word;
}

.school-facts a:hover {
    color: var(--indigo);
}

.school-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.school-social a {
    padding: 6px 10px;
    border-radius: 999px;
    color: #475569;
    background: #f1f5f9;
    font-size: 0.71rem;
    font-weight: 700;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.school-social a:hover {
    color: #3730a3;
    background: #e0e7ff;
}

/* ------------------------------ Program unggulan ------------------------------ */

.program-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.program-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.program-card:hover {
    transform: translateY(-4px);
    border-color: #c7d2fe;
    box-shadow: var(--shadow-md);
}

.program-num {
    color: #64748b;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.program-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 14px 0;
    border-radius: 14px;
    color: #4338ca;
    background: #eef2ff;
}

.program-card:nth-child(2) .program-icon {
    color: #0369a1;
    background: #e0f2fe;
}

.program-card:nth-child(3) .program-icon {
    color: #b45309;
    background: #fef3c7;
}

.program-card:nth-child(4) .program-icon {
    color: #047857;
    background: #d1fae5;
}

.program-icon svg {
    width: 22px;
    height: 22px;
}

.program-card h3 {
    margin-bottom: 6px;
    color: var(--ink);
    font-size: 0.94rem;
    letter-spacing: -0.01em;
}

.program-card p {
    color: var(--muted);
    font-size: 0.79rem;
}

/* ------------------------------ Fitur aplikasi ------------------------------ */

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

.feature-card {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card::after {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.14), transparent 70%);
    content: "";
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #c7d2fe;
    box-shadow: var(--shadow-md);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 13px;
    color: #4338ca;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
}

.feature-card:nth-child(2n) .feature-icon {
    color: #0369a1;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
}

.feature-card:nth-child(3n) .feature-icon {
    color: #047857;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.feature-icon svg {
    width: 21px;
    height: 21px;
}

.feature-card h3 {
    position: relative;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 0.98rem;
    letter-spacing: -0.01em;
}

.feature-card p {
    position: relative;
    color: var(--muted);
    font-size: 0.82rem;
}

/* ------------------------------ Keamanan & grafik ------------------------------ */

.security-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 52px;
}

.security-lead {
    max-width: none;
    margin-bottom: 0;
}

.security-list {
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.security-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.security-check {
    display: grid;
    flex: none;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-top: 2px;
    border-radius: 9px;
    color: #047857;
    background: #d1fae5;
}

.security-check svg {
    width: 14px;
    height: 14px;
}

.security-list strong {
    display: block;
    color: #1e293b;
    font-size: 0.87rem;
}

.security-list span {
    display: block;
    color: var(--muted);
    font-size: 0.79rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 26px;
    color: var(--indigo-dark);
    font-size: 0.89rem;
    font-weight: 800;
}

.text-link svg {
    width: 17px;
    height: 17px;
    transition: transform 0.2s ease;
}

.text-link:hover svg {
    transform: translateX(4px);
}

.chart-card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 30px 70px -30px rgba(30, 41, 59, 0.35);
}

.chart-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.chart-kicker {
    color: var(--indigo);
    font-size: 0.61rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.chart-head h3 {
    margin-top: 4px;
    color: var(--ink);
    font-size: 1.04rem;
    letter-spacing: -0.02em;
}

.chart-live {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 999px;
    color: #047857;
    background: #d1fae5;
    font-size: 0.64rem;
    font-weight: 800;
    white-space: nowrap;
}

.chart-live i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.chart-main {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 22px 0;
}

.donut-wrap {
    position: relative;
    flex: none;
    width: 150px;
    height: 150px;
}

.donut {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.donut-track {
    fill: none;
    stroke: #eef2f7;
    stroke-width: 12;
}

.donut-value {
    fill: none;
    stroke: url(#donutGradient);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 314.16;
    stroke-dashoffset: 314.16;
    animation: donutFill 1.6s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

@keyframes donutFill {
    to {
        stroke-dashoffset: 0;
    }
}

.donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.donut-center strong {
    color: var(--ink);
    font-size: 1.55rem;
    letter-spacing: -0.04em;
}

.donut-center span {
    color: var(--muted);
    font-size: 0.64rem;
    font-weight: 700;
}

.chart-legend {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.chart-legend li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.dot {
    flex: none;
    width: 9px;
    height: 9px;
    margin-top: 5px;
    border-radius: 50%;
}

.dot-indigo {
    background: var(--indigo);
}

.dot-sky {
    background: var(--sky);
}

.dot-emerald {
    background: var(--emerald);
}

.chart-legend strong {
    display: block;
    color: #1e293b;
    font-size: 0.78rem;
}

.chart-legend small {
    display: block;
    color: var(--muted);
    font-size: 0.69rem;
    line-height: 1.45;
}

.meters {
    display: grid;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.meter-row > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    color: #475569;
    font-size: 0.73rem;
    font-weight: 700;
}

.meter-row strong {
    color: #0f172a;
}

.meter {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #eef2f7;
}

.meter span {
    display: block;
    width: var(--value, 100%);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--indigo), var(--sky));
    transform-origin: left;
    animation: meterGrow 1.4s 0.25s both;
}

.meter-row:nth-child(2) .meter span {
    background: linear-gradient(90deg, #0284c7, #06b6d4);
}

.meter-row:nth-child(3) .meter span {
    background: linear-gradient(90deg, #059669, #34d399);
}

@keyframes meterGrow {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.chart-note {
    margin-top: 16px;
    color: #64748b;
    font-size: 0.67rem;
}

/* ------------------------------ Langkah ------------------------------ */

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

.step {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.step-num {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
    border-radius: 11px;
    color: #ffffff;
    background: linear-gradient(135deg, #111c3f, #312e81);
    font-size: 0.82rem;
    font-weight: 800;
}

.step h3 {
    margin-bottom: 7px;
    color: var(--ink);
    font-size: 0.96rem;
    letter-spacing: -0.01em;
}

.step p {
    color: var(--muted);
    font-size: 0.81rem;
}

/* ------------------------------ CTA ------------------------------ */

.cta-wrap {
    padding-top: 0;
}

.cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    overflow: hidden;
    padding: 44px;
    border-radius: 28px;
    color: #ffffff;
    background: linear-gradient(120deg, #111c3f 0%, #1e1b4b 55%, #0c4a6e 100%);
    box-shadow: 0 30px 70px -30px rgba(30, 27, 75, 0.7);
}

.cta::before {
    position: absolute;
    top: -120px;
    right: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.45), transparent 68%);
    content: "";
    pointer-events: none;
}

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

.cta .pill {
    border-color: rgba(255, 255, 255, 0.2);
    color: #e0e7ff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.cta .pill-dot {
    background: #34d399;
}

.cta h2 {
    max-width: 620px;
    margin: 14px 0 8px;
    color: #ffffff;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.cta p {
    max-width: 560px;
    color: #c7d2fe;
    font-size: 0.91rem;
}

.btn-light {
    flex: none;
    color: #1e1b4b;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.btn-light:hover {
    transform: translateY(-2px);
    background: #f8fafc;
}

/* ------------------------------ Footer ------------------------------ */

.site-footer {
    padding: 64px 24px 0;
    color: #94a3b8;
    background: var(--navy);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 44px;
    max-width: 1180px;
    margin: 0 auto;
    padding-bottom: 44px;
}

.footer-brand-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand img {
    width: 48px;
    height: 48px;
    padding: 3px;
    object-fit: contain;
    border-radius: 12px;
    background: #ffffff;
}

.footer-brand strong {
    display: block;
    color: #f8fafc;
    font-size: 1rem;
}

.footer-brand span {
    display: block;
    color: #818cf8;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.footer-brand p {
    max-width: 360px;
    margin-top: 18px;
    color: #94a3b8;
    font-size: 0.81rem;
    line-height: 1.7;
}

.footer-col h3 {
    margin-bottom: 16px;
    color: #e2e8f0;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

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

.footer-col li,
.footer-col a {
    color: #94a3b8;
    font-size: 0.81rem;
    line-height: 1.55;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 0 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    color: #7c8ba0;
    font-size: 0.75rem;
}

.footer-bottom p {
    color: #a5b4fc;
    font-weight: 600;
}

/* ------------------------------ Responsive ------------------------------ */

@media (max-width: 1024px) {
    .hero-inner {
        gap: 36px;
    }

    .hero-visual {
        max-width: 420px;
    }

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

    .security-grid {
        gap: 36px;
    }
}

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 1px);
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: #ffffff;
        box-shadow: 0 24px 50px -20px rgba(30, 41, 59, 0.3);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu > a:not(.nav-cta) {
        padding: 10px 12px;
        border-radius: 9px;
    }

    .nav-menu > a:not(.nav-cta)::after {
        display: none;
    }

    .nav-menu > a:not(.nav-cta):hover {
        background: #f1f5f9;
    }

    .nav-cta {
        justify-content: center;
        margin-top: 6px;
    }

    .hero {
        padding-top: 48px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hero-copy {
        max-width: 720px;
        text-align: center;
        margin: 0 auto;
        padding-top: 0;
    }

    .hero-lead {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-actions,
    .hero-checks {
        justify-content: center;
    }

    .hero-visual {
        justify-self: center;
        max-width: 440px;
        margin-top: 10px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 34px;
    }

    .hero-stats > div:nth-child(2) {
        border-right: 0;
    }

    .hero-stats > div:nth-child(1),
    .hero-stats > div:nth-child(2) {
        border-bottom: 1px solid var(--line);
    }

    .about-grid,
    .security-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .security-grid .security-copy {
        order: 1;
    }

    .security-grid .chart-card {
        order: 2;
    }

    .cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 36px;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .section {
        padding: 64px 20px;
    }

    .band .section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero {
        padding-right: 20px;
        padding-left: 20px;
    }

    .nav-inner {
        padding-right: 20px;
        padding-left: 20px;
    }

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

    .feature-card,
    .step {
        padding: 22px;
    }

    .about-points {
        grid-template-columns: 1fr;
    }

    .chart-main {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .donut-wrap {
        margin: 0 auto;
    }

    .chart-legend {
        grid-template-columns: 1fr;
    }

    .cta {
        padding: 30px 24px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: auto;
    }
}

@media (max-width: 560px) {
    .brand-copy small {
        letter-spacing: 0.1em;
    }

    .hero h1 {
        font-size: clamp(2rem, 10vw, 2.65rem);
    }

    .hero-lead {
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .hero-checks {
        display: grid;
        gap: 8px;
        justify-content: start;
        text-align: left;
    }

    .hero-visual {
        padding-right: 0;
        padding-left: 0;
    }

    .float-chip {
        font-size: 0.62rem;
        padding: 7px 10px;
    }

    .chip-top {
        right: 0;
    }

    .chip-bottom {
        left: 0;
    }

    .hero-stats > div {
        padding: 14px 16px;
    }

    .hero-stats strong {
        font-size: 0.94rem;
    }

    .hero-stats span {
        font-size: 0.68rem;
    }

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

    .school-card {
        padding: 20px;
    }

    .school-card-head {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .accreditation {
        margin-left: 0;
    }

    .chart-card {
        padding: 20px;
    }

    .cta .btn {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}
