/* ==========================================================================
   Webinar X-Informatika ISTN — Custom Styles
   Tema: Biru #0F4C81 · Putih · Orange #F39C12 · Abu muda
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
    --brand: #0F4C81;
    --brand-dark: #0a355c;
    --brand-light: #1a6bb8;
    --accent: #F39C12;
    --accent-dark: #b45309;
    --ink: #0f1b2d;
    --muted: #51647a;
    --surface: #ffffff;
    --surface-2: #f4f8fc;
    --line: #e3eaf2;
    --shadow-card: 0 1px 2px rgba(15, 76, 129, 0.06), 0 10px 28px -10px rgba(15, 76, 129, 0.18);
    --shadow-hover: 0 14px 34px -12px rgba(15, 76, 129, 0.28);
    --nav-h: 4.25rem;
    --radius: 1.1rem;
}

html[data-theme="dark"] {
    --brand: #3b82c4;
    --brand-dark: #1d5a94;
    --brand-light: #5ba3e0;
    --accent: #F39C12;
    --accent-dark: #f6b83d;
    --ink: #e8eef7;
    --muted: #9fb0c4;
    --surface: #0d1526;
    --surface-2: #111c30;
    --line: #22304a;
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.35), 0 12px 30px -12px rgba(0, 0, 0, 0.55);
    --shadow-hover: 0 16px 38px -12px rgba(0, 0, 0, 0.65);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
    background-color: var(--surface);
    color: var(--ink);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
    color: var(--ink);
    line-height: 1.2;
}

p {
    line-height: 1.7;
}

a {
    color: var(--brand-light);
    text-decoration: none;
}

img, svg {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 80rem;
    margin-inline: auto;
    padding-inline: 1.25rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Skip link ---------- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 1000;
    padding: 0.75rem 1.25rem;
    background: var(--brand);
    color: #ffffff;
    border-radius: 0 0 0.75rem 0.75rem;
    font-weight: 600;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

/* ---------- Loader ---------- */
.loader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: var(--surface);
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.loader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader p {
    margin: 0;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.loader-logo {
    position: relative;
    width: 4rem;
    height: 4rem;
    display: grid;
    place-items: center;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    border-radius: 1.25rem;
    animation: loader-pulse 1.2s ease-in-out infinite;
}

.loader-logo i {
    position: absolute;
    inset: -0.5rem;
    border: 2px solid var(--accent);
    border-radius: 1.5rem;
    opacity: 0;
    animation: loader-ring 1.6s ease-out infinite;
}

@keyframes loader-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@keyframes loader-ring {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.35); opacity: 0; }
}

/* ---------- Navbar ---------- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: color-mix(in srgb, var(--surface) 82%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-nav.scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px -12px rgba(15, 76, 129, 0.18);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: var(--nav-h);
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.brand-mark {
    width: 2.25rem;
    height: 2.25rem;
    display: grid;
    place-items: center;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    border-radius: 0.7rem;
    box-shadow: 0 6px 14px -6px rgba(15, 76, 129, 0.5);
}

.brand-text {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.brand-text .dot {
    color: var(--accent);
    padding-inline: 0.15em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: inline-block;
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted);
    border-radius: 0.6rem;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand);
    background: color-mix(in srgb, var(--brand) 8%, transparent);
}

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

.icon-btn {
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    font-size: 1rem;
    color: var(--muted);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.icon-btn:hover {
    color: var(--brand);
    border-color: var(--brand);
    transform: translateY(-1px);
}

#themeToggle .fa-moon { display: none; }
html[data-theme="dark"] #themeToggle .fa-moon { display: inline-block; }
html[data-theme="dark"] #themeToggle .fa-sun { display: none; }

.menu-btn { display: none; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.7rem 1.4rem;
    border-radius: 0.85rem;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    cursor: pointer;
    border: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-lg { padding: 0.9rem 1.8rem; font-size: 1.02rem; }

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    box-shadow: 0 10px 22px -10px rgba(15, 76, 129, 0.55);
}

.btn-primary:hover { box-shadow: 0 14px 28px -10px rgba(15, 76, 129, 0.65); }

.btn-accent {
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), #e67e22);
    box-shadow: 0 10px 24px -10px rgba(243, 156, 18, 0.6);
}

.btn-accent:hover { box-shadow: 0 14px 30px -10px rgba(243, 156, 18, 0.7); }

.btn-ghost {
    color: var(--ink);
    background: var(--surface);
    border: 1.5px solid var(--line);
}

.btn-ghost:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.btn-light {
    color: var(--brand-dark);
    background: #ffffff;
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.35);
}

.btn-wa {
    color: #ffffff;
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 10px 22px -10px rgba(37, 211, 102, 0.55);
}

.btn.w-full { width: 100%; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 5.5rem 0 4.5rem;
    overflow: hidden;
    background:
        radial-gradient(52rem 30rem at 85% -10%, rgba(243, 156, 18, 0.14), transparent 60%),
        radial-gradient(46rem 28rem at -10% 110%, rgba(15, 76, 129, 0.14), transparent 60%),
        linear-gradient(180deg, #f5f9fe 0%, var(--surface) 100%);
}

html[data-theme="dark"] .hero {
    background:
        radial-gradient(52rem 30rem at 85% -10%, rgba(243, 156, 18, 0.12), transparent 60%),
        radial-gradient(46rem 28rem at -10% 110%, rgba(15, 76, 129, 0.35), transparent 60%),
        linear-gradient(180deg, #0e1a30 0%, var(--surface) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.5;
    background-image: radial-gradient(var(--line) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: radial-gradient(60% 70% at 50% 20%, #000 0%, transparent 100%);
    -webkit-mask-image: radial-gradient(60% 70% at 50% 20%, #000 0%, transparent 100%);
}

.hero-grid {
    position: relative;
    display: grid;
    gap: 3rem;
    align-items: center;
    grid-template-columns: 1fr;
}

.hero-copy { max-width: 42rem; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    color: var(--brand);
    background: color-mix(in srgb, var(--brand) 8%, var(--surface));
    border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
    border-radius: 999px;
}

.hero-title {
    margin: 1.1rem 0 0.4rem;
    font-size: clamp(2.3rem, 5.5vw, 3.7rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.grad-text {
    background: linear-gradient(100deg, var(--brand) 20%, var(--brand-light) 55%, var(--accent) 120%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    margin: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.05rem, 2.2vw, 1.4rem);
    font-weight: 700;
    color: var(--muted);
}

.hero-desc {
    margin: 1.2rem 0 0;
    max-width: 38rem;
    color: var(--muted);
    font-size: 1.02rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.4rem;
    list-style: none;
    margin: 1.4rem 0 0;
    padding: 0;
}

.hero-meta li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink);
}

.hero-meta i {
    color: var(--accent-dark);
    font-size: 0.95rem;
}

.hero-host {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 1.1rem 0 0;
    font-size: 0.9rem;
    color: var(--muted);
    max-width: 36rem;
}

.hero-host i {
    margin-top: 0.2rem;
    color: var(--brand);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.6rem;
}

.countdown {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2.2rem;
}

.cd-tile {
    min-width: 5.2rem;
    padding: 0.8rem 0.9rem;
    text-align: center;
    background: color-mix(in srgb, var(--surface) 78%, transparent);
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cd-tile span {
    display: block;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brand);
    font-variant-numeric: tabular-nums;
}

.cd-tile small {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
    font-size: 0.85rem;
    color: var(--muted);
}

.hero-stats strong {
    display: block;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.35rem;
    color: var(--ink);
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.holo {
    width: min(100%, 30rem);
    height: auto;
    filter: drop-shadow(0 24px 40px -18px rgba(15, 76, 129, 0.35));
}

.holo-ring { animation: holo-spin 26s linear infinite; transform-origin: 240px 240px; }
.holo-ring-2 { animation-duration: 34s; animation-direction: reverse; }
.holo-ring-3 { animation-duration: 20s; }

.holo-orbit-dot { animation: holo-pulse 3s ease-in-out infinite; }

.holo-dash { animation: holo-dash 4s linear infinite; }

.holo-chip { animation: holo-float 5s ease-in-out infinite; }
.holo-chip-2 { animation-delay: 0.8s; }
.holo-chip-3 { animation-delay: 1.6s; }
.holo-chip-4 { animation-delay: 2.4s; }

.holo-core { animation: holo-core 6s ease-in-out infinite; transform-origin: 240px 240px; }

@keyframes holo-spin {
    to { transform: rotate(360deg); }
}

@keyframes holo-pulse {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

@keyframes holo-dash {
    to { stroke-dashoffset: -36; }
}

@keyframes holo-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

@keyframes holo-core {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

/* ---------- Sections ---------- */
.section {
    padding: 5rem 0;
}

.section,
.hero {
    scroll-margin-top: calc(var(--nav-h) + 0.75rem);
}

.section-tint {
    background: var(--surface-2);
    border-block: 1px solid var(--line);
}

.section-head {
    max-width: 44rem;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-head.left {
    margin: 0 0 1.6rem;
    text-align: left;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

.section-eyebrow::before {
    content: "";
    width: 1.6rem;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.section-head.left .section-eyebrow::before { display: none; }

.section-title {
    margin: 0.6rem 0 0;
    font-size: clamp(1.7rem, 3.6vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.015em;
}

.section-desc {
    margin: 0.9rem auto 0;
    max-width: 40rem;
    color: var(--muted);
    font-size: 1rem;
}

.section-head.left .section-desc { margin-inline: 0; }

.section-sub {
    margin: 0.4rem 0 0;
    font-size: 1.15rem;
    color: var(--accent-dark);
}

/* ---------- Cards ---------- */
.card {
    position: relative;
    padding: 1.6rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

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

.card h3 {
    margin: 1rem 0 0.45rem;
    font-size: 1.06rem;
    font-weight: 700;
}

.card p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--muted);
}

.icon-badge {
    width: 3.4rem;
    height: 3.4rem;
    display: inline-grid;
    place-items: center;
    font-size: 1.35rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    border-radius: 1rem;
    box-shadow: 0 10px 20px -8px rgba(15, 76, 129, 0.55);
}

.icon-badge.accent {
    background: linear-gradient(135deg, var(--accent), #e67e22);
    box-shadow: 0 10px 20px -8px rgba(243, 156, 18, 0.55);
}

.icon-badge.sm {
    width: 2.9rem;
    height: 2.9rem;
    font-size: 1.1rem;
    border-radius: 0.85rem;
}

.field-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--brand-light), var(--accent));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.field-card:hover::before { opacity: 1; }

.field-card h3 { margin-top: 0.9rem; }

.field-more {
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 10%, var(--surface)), var(--surface));
}

.field-more-link {
    margin-top: auto;
    padding-top: 1rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--brand);
}

/* ---------- Formula (X-Informatika) ---------- */
.xinfo-visual svg {
    width: min(100%, 26rem);
    height: auto;
}

.formula {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.formula-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.formula-term {
    padding: 0.65rem 1.1rem;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--ink);
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-left: 4px solid var(--brand);
    border-radius: 0.8rem;
    box-shadow: var(--shadow-card);
}

.formula-term:nth-child(3) { border-left-color: var(--accent); }

.formula-op {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-dark);
}

.formula-eq { margin-top: 0.4rem; }

.formula-eq-symbol {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand);
    line-height: 1;
}

.formula-result {
    padding: 0.75rem 1.4rem;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    border-radius: 1rem;
    box-shadow: 0 14px 26px -10px rgba(15, 76, 129, 0.6);
}

.xinfo-quote {
    position: relative;
    margin: 1.8rem 0 0;
    padding: 1.2rem 1.4rem 1.2rem 1.2rem;
    background: color-mix(in srgb, var(--accent) 7%, var(--surface));
    border-left: 4px solid var(--accent);
    border-radius: 0.9rem;
}

.xinfo-quote i {
    color: var(--accent-dark);
    font-size: 1.1rem;
}

.xinfo-quote p {
    margin: 0.4rem 0 0;
    font-style: italic;
    color: var(--ink);
    font-size: 1rem;
}

/* ---------- Studi Kasus flow ---------- */
.case-note {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.6rem;
    padding: 1rem 1.2rem;
    background: var(--surface);
    border: 1px dashed var(--brand);
    border-radius: 1rem;
}

.case-note i {
    font-size: 1.3rem;
    color: var(--brand);
}

.case-note p { margin: 0; font-size: 0.9rem; }

.flow {
    width: 100%;
    max-width: 34rem;
    margin-inline: auto;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.flow-step:hover {
    transform: translateX(6px);
    border-color: var(--brand);
    box-shadow: var(--shadow-hover);
}

.flow-step-goal {
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    border-color: transparent;
}

.flow-step-goal h3,
.flow-step-goal p { color: #ffffff; }
.flow-step-goal p { opacity: 0.9; }

.flow-icon {
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    border-radius: 50%;
    box-shadow: 0 8px 16px -6px rgba(15, 76, 129, 0.5);
}

.flow-step-goal .flow-icon {
    background: rgba(255, 255, 255, 0.18);
}

.flow-body h3 {
    margin: 0;
    font-size: 1rem;
}

.flow-body p {
    margin: 0.15rem 0 0;
    font-size: 0.85rem;
}

.flow-connector {
    width: 2px;
    height: 1.6rem;
    margin-left: 1.5rem;
    background: repeating-linear-gradient(to bottom, var(--brand) 0 6px, transparent 6px 12px);
    animation: flow-dash 1.2s linear infinite;
}

@keyframes flow-dash {
    to { background-position: 0 12px; }
}

/* ---------- Vs cards ---------- */
.vs-card {
    position: relative;
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 5px solid var(--brand);
    border-radius: 1.3rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vs-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.vs-card.vs-si { border-top-color: var(--accent); }

.vs-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
    background: color-mix(in srgb, var(--brand) 8%, var(--surface));
    border-radius: 999px;
}

.vs-si .vs-tag { color: var(--accent-dark); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }

.vs-card h3 { margin: 1rem 0 0.3rem; font-size: 1.6rem; }

.vs-lead { margin: 0; font-size: 0.95rem; color: var(--muted); }

.vs-list {
    list-style: none;
    margin: 1.4rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.vs-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.vs-list i {
    color: var(--brand);
    font-size: 0.95rem;
}

.vs-si .vs-list i { color: var(--accent-dark); }

/* ---------- Skill chart ---------- */
.chart-wrap { display: flex; justify-content: center; }

.chart-card {
    width: min(100%, 30rem);
    padding: 1.4rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1.4rem;
    box-shadow: var(--shadow-card);
}

.skill-highlights {
    list-style: none;
    margin: 1.4rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.skill-highlights li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
}

.skill-highlights i { color: var(--accent-dark); }

/* ---------- Masonry gallery ---------- */
.masonry {
    columns: 1;
    column-gap: 1.5rem;
}

.masonry .proyek-card {
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

.proyek-art {
    border-radius: 0.85rem;
    overflow: hidden;
    margin: -1.6rem -1.6rem 1.2rem;
    line-height: 0;
}

.proyek-art svg { width: 100%; height: auto; }

.proyek-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand);
    background: color-mix(in srgb, var(--brand) 8%, var(--surface));
    border: 1px solid var(--line);
    border-radius: 999px;
}

.proyek-card h3 { margin-top: 0.75rem; }

/* ---------- Timeline karier ---------- */
.timeline {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 48rem;
    margin-inline: auto;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 1.4rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--brand), var(--accent));
    opacity: 0.35;
}

.tl-item {
    position: relative;
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    padding: 0.6rem 0 1.6rem 0;
}

.tl-icon {
    flex: 0 0 auto;
    width: 2.9rem;
    height: 2.9rem;
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--surface), 0 8px 18px -6px rgba(15, 76, 129, 0.5);
    z-index: 1;
}

.tl-card {
    flex: 1;
    padding: 1rem 1.2rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tl-card:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-hover);
}

.tl-card h3 { margin: 0; font-size: 1.02rem; }

.tl-card p { margin: 0.25rem 0 0; font-size: 0.88rem; }

/* ---------- Pick cards ---------- */
.pick-card { padding-top: 2rem; }

.pick-num {
    position: absolute;
    top: 1.1rem;
    right: 1.3rem;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: color-mix(in srgb, var(--brand) 16%, transparent);
}

.pick-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    margin-top: 2.8rem;
    padding: 2rem 2.2rem;
    background: linear-gradient(120deg, var(--brand), var(--brand-light));
    border-radius: 1.4rem;
    box-shadow: 0 18px 40px -16px rgba(15, 76, 129, 0.55);
}

.pick-cta h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.45rem;
}

.pick-cta p {
    margin: 0.3rem 0 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
}

/* ---------- Etika ---------- */
.etika-visual svg {
    width: min(100%, 26rem);
    height: auto;
}

.mini-card { padding: 1.3rem; }

.mini-card h3 { margin-top: 0.8rem; font-size: 0.98rem; }

/* ---------- Peluang horizontal timeline ---------- */
.ht-track {
    position: relative;
    display: flex;
    gap: 1.1rem;
    overflow-x: auto;
    padding: 2.4rem 0.5rem 1.6rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.ht-line {
    position: absolute;
    top: 2.9rem;
    left: 0.5rem;
    right: 0.5rem;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    opacity: 0.3;
}

.ht-item {
    flex: 0 0 11.5rem;
    scroll-snap-align: start;
    text-align: center;
    position: relative;
}

.ht-icon {
    width: 3.6rem;
    height: 3.6rem;
    margin: 0 auto;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    color: #ffffff;
    background: var(--surface);
    border: 2px solid var(--brand);
    border-radius: 50%;
    position: relative;
    z-index: 1;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.ht-icon i { color: var(--brand); }

.ht-item:hover .ht-icon {
    transform: scale(1.12);
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
}

.ht-item:hover .ht-icon i { color: #ffffff; }

.ht-item h3 {
    margin: 0.9rem 0 0;
    font-size: 0.88rem;
    font-weight: 700;
}

.ht-hint {
    margin: 0.8rem 0 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted);
}

/* ---------- Speaker ---------- */
.speaker-wrap {
    display: flex;
    justify-content: center;
}

.speaker-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    width: min(100%, 44rem);
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-card);
}

.speaker-photo {
    width: 11rem;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.speaker-photo svg { display: block; width: 100%; height: auto; }

.speaker-info h3 { margin: 0.5rem 0 0.15rem; font-size: 1.5rem; }

.speaker-role {
    margin: 0 0 0.8rem;
    font-weight: 700;
    color: var(--brand);
    font-size: 0.95rem;
}

/* ---------- Schedule ---------- */
.schedule {
    max-width: 40rem;
    margin-inline: auto;
}

.schedule-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.6rem;
}

.schedule-table th {
    padding: 0.6rem 1rem;
    text-align: left;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.schedule-table td {
    padding: 0.95rem 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 0.8rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.schedule-table td:first-child { border-right: 0; border-radius: 0.8rem 0 0 0.8rem; }
.schedule-table td:last-child { border-left: 0; border-radius: 0 0.8rem 0.8rem 0; }

.time-chip {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--accent-dark);
    background: color-mix(in srgb, var(--accent) 14%, var(--surface));
    border-radius: 0.6rem;
}

.cal-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
    margin-top: 2.2rem;
}

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 44rem;
    margin-inline: auto;
    display: grid;
    gap: 0.8rem;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.faq-item[open] { border-color: var(--brand); }

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.3rem;
    cursor: pointer;
    list-style: none;
    transition: background-color 0.2s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover { background: color-mix(in srgb, var(--brand) 4%, var(--surface)); }

.faq-item summary h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.faq-icon {
    flex: 0 0 auto;
    width: 1.9rem;
    height: 1.9rem;
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    color: var(--brand);
    background: color-mix(in srgb, var(--brand) 10%, var(--surface));
    border-radius: 0.6rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
    background: var(--brand);
    color: #ffffff;
}

.faq-answer {
    padding: 0 1.3rem 1.2rem;
    color: var(--muted);
    font-size: 0.93rem;
}

.faq-answer p { margin: 0; }

.faq-answer a { font-weight: 700; }

/* ---------- Form ---------- */
.reg-form {
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1.4rem;
    box-shadow: var(--shadow-card);
    display: grid;
    gap: 1.1rem;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}

.form-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
}

.req { color: #e11d48; }

.form-field input,
.form-field select {
    width: 100%;
    padding: 0.75rem 1rem;
    font: inherit;
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--surface-2);
    border: 1.5px solid var(--line);
    border-radius: 0.8rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
}

.form-field select {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%2351647a'%20stroke-width='2.5'%3E%3Cpath%20d='M6%209l6%206%206-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 1rem;
    padding-right: 2.4rem;
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent);
    background: var(--surface);
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"] {
    border-color: #e11d48;
    box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.12);
}

.error-msg {
    display: block;
    min-height: 0;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #e11d48;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.error-msg.show { opacity: 1; }

.form-note {
    margin: 0;
    font-size: 0.82rem;
    color: var(--muted);
    text-align: center;
}

.reg-success,
.reg-error {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    border-radius: 0.9rem;
    font-size: 0.92rem;
}

.reg-success {
    color: #14532d;
    background: #ecfdf5;
    border: 1px solid #86efac;
}

.reg-success i { font-size: 1.3rem; color: #16a34a; }

.reg-success p { margin: 0; }

.reg-error {
    color: #7f1d1d;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.reg-error p { margin: 0; }

html[data-theme="dark"] .reg-success {
    color: #bbf7d0;
    background: rgba(22, 163, 74, 0.12);
    border-color: rgba(34, 197, 94, 0.4);
}

html[data-theme="dark"] .reg-error {
    color: #fecaca;
    background: rgba(225, 29, 72, 0.12);
    border-color: rgba(248, 113, 113, 0.4);
}

.side-card h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
}

.side-card h3 i { color: var(--brand); }

.side-card p { margin: 0 0 1rem; font-size: 0.92rem; }

.side-btns,
.share-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.95rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 0.75rem;
    border: 1.5px solid var(--line);
    color: var(--ink);
    background: var(--surface-2);
    transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    border-color: currentColor;
}

.share-wa:hover { color: #25d366; border-color: #25d366; }
.share-fb:hover { color: #1877f2; border-color: #1877f2; }
.share-li:hover { color: #0a66c2; border-color: #0a66c2; }
.share-x:hover { color: #14171a; border-color: #14171a; }
html[data-theme="dark"] .share-x:hover { color: #e7e9ea; border-color: #e7e9ea; }

/* ---------- CTA banner ---------- */
.cta-banner {
    position: relative;
    overflow: hidden;
    padding: 3.4rem 2.4rem;
    text-align: center;
    background: linear-gradient(120deg, var(--brand-dark), var(--brand) 55%, var(--brand-light));
    border-radius: 1.8rem;
    box-shadow: 0 24px 50px -20px rgba(15, 76, 129, 0.6);
}

.cta-banner-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(30rem 18rem at 85% 20%, rgba(243, 156, 18, 0.28), transparent 60%),
        radial-gradient(26rem 16rem at 10% 90%, rgba(255, 255, 255, 0.14), transparent 60%);
}

.cta-banner h2 {
    position: relative;
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
}

.cta-banner p {
    position: relative;
    margin: 0.9rem auto 0;
    max-width: 36rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
}

.cta-btns {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
    margin-top: 1.8rem;
}

/* ---------- Kontak & Maps ---------- */
.contact-list {
    display: grid;
    gap: 1.1rem;
    align-content: start;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin: 0;
    padding: 1.1rem 1.2rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    font-size: 0.93rem;
    color: var(--muted);
}

.contact-item i {
    margin-top: 0.15rem;
    font-size: 1.1rem;
    color: var(--brand);
}

.contact-item strong { color: var(--ink); }

.contact-item a { font-weight: 700; }

.map-wrap {
    border-radius: 1.4rem;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    min-height: 18rem;
}

.map-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 22rem;
    border: 0;
}

/* ---------- Footer ---------- */
.footer {
    padding: 4rem 0 2rem;
    background: var(--brand-dark);
    color: rgba(255, 255, 255, 0.82);
}

html[data-theme="dark"] .footer {
    background: #081120;
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
}

.footer .brand-text { color: #ffffff; }

.footer-brand p {
    margin: 1.1rem 0 0;
    max-width: 22rem;
    font-size: 0.9rem;
}

.footer-col h3 {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: #ffffff;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
    font-size: 0.9rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.82);
    transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--accent); }

.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.footer-social a {
    width: 2.6rem;
    height: 2.6rem;
    display: grid;
    place-items: center;
    font-size: 1rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 0.75rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-note {
    margin: 0;
    font-size: 0.82rem;
    opacity: 0.75;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.6rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.82rem;
    opacity: 0.8;
}

.footer-bottom p { margin: 0; }

.footer-credit i { color: var(--accent); }

/* ---------- Floating buttons ---------- */
.float-btn {
    position: fixed;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.float-wa {
    right: 1.1rem;
    bottom: 1.1rem;
    width: 3.4rem;
    height: 3.4rem;
    font-size: 1.5rem;
    color: #ffffff;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    box-shadow: 0 12px 24px -8px rgba(37, 211, 102, 0.6);
}

.float-wa:hover { transform: scale(1.08); }

.float-daftar {
    left: 50%;
    bottom: 1.2rem;
    transform: translate(-50%, 140%);
    padding: 0.85rem 1.6rem;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), #e67e22);
    border-radius: 999px;
    box-shadow: 0 14px 30px -8px rgba(243, 156, 18, 0.65);
    white-space: nowrap;
    opacity: 0;
}

.float-daftar.show {
    transform: translate(-50%, 0);
    opacity: 1;
}

.float-daftar:hover { transform: translate(-50%, -3px); }

.btn-top {
    right: 1.1rem;
    bottom: 5.1rem;
    width: 2.9rem;
    height: 2.9rem;
    font-size: 1rem;
    color: #ffffff;
    background: var(--brand);
    border-radius: 0.85rem;
    box-shadow: 0 10px 22px -8px rgba(15, 76, 129, 0.55);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
}

.btn-top.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.btn-top:hover { background: var(--brand-light); }

/* ---------- Kontras light mode (WCAG AA overrides) ---------- */
html[data-theme="light"] .text-slate-300 { color: #334155 !important; }
html[data-theme="light"] .text-slate-400 { color: #475569 !important; }
html[data-theme="light"] .text-slate-500 { color: #475569 !important; }
html[data-theme="light"] .bg-black\/10 { background-color: rgba(15, 76, 129, 0.08) !important; }
html[data-theme="light"] .bg-black\/30 { background-color: rgba(15, 76, 129, 0.16) !important; }

/* ---------- AOS fallback tanpa JS ---------- */
html:not(.js) [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
    .masonry { columns: 2; }
}

@media (min-width: 1024px) {
    .hero { padding: 7rem 0 6rem; }
    .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
    .masonry { columns: 3; }
    .speaker-card { grid-template-columns: auto 1fr; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
    .float-wa { width: 3.8rem; height: 3.8rem; }
    .btn-top { bottom: 5.4rem; }
}

@media (max-width: 1023px) {
    .menu-btn { display: inline-grid; }

    .nav-links {
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
        padding: 0.8rem 1.25rem 1.2rem;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 34px -18px rgba(15, 76, 129, 0.25);
        display: none;
    }

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

    .nav-link { padding: 0.8rem 0.9rem; }

    .speaker-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .speaker-info .btn { margin-top: 0.6rem; }
    .cta-banner { padding: 2.6rem 1.5rem; }
}

@media (max-width: 639px) {
    .section { padding: 3.6rem 0; }
    .cd-tile { min-width: 4.6rem; padding: 0.7rem 0.6rem; }
    .cd-tile span { font-size: 1.4rem; }
    .reg-form { padding: 1.4rem; }
    .float-daftar { font-size: 0.88rem; padding: 0.75rem 1.3rem; }
}

/* ---------- Prefers reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
