:root {
    --primary: #0b7bbb;
    --primary-dark: #075b87;
    --accent: #00a86b;
    --bg: #f4f7fb;
    --text: #222;
    --muted: #666;
    --danger: #d9534f;
    --card-bg: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

header {
    background: var(--primary);
    color: #fff;
    padding: 12px 20px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* LOGO */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
}

.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.logo-mark svg {
    width: 24px;
    height: 24px;
}

.logo-text-main {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
}

.logo-text-tagline {
    font-size: 0.75rem;
    opacity: 0.9;
    line-height: 1.2;
}

nav a {
    color: #e6f3ff;
    text-decoration: none;
    margin-left: 18px;
    font-size: 0.95rem;
}

nav a:hover {
    text-decoration: underline;
}

.hero {
    background: linear-gradient(135deg, #0a6ca3, #1098e6);
    color: #fff;
    padding: 38px 20px 46px;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 4px 11px;
    font-size: 0.78rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.18);
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 0.96rem;
    color: #e5f2ff;
    margin-bottom: 10px;
}

.hero-highlight-line {
    font-size: 1rem;
    margin-top: 4px;
    margin-bottom: 6px;
}

.hero-highlight-line strong {
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 9px 30px;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: 0.2s;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(11, 123, 187, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #fff;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
}

.btn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* loading state */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-top-color: rgba(255, 255, 255, 0.3);
    animation: spin 0.7s linear infinite;
}

.loading {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading::before {
    position: absolute;
    content: "Memuat...";
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--muted);
    margin-right: 70px;
}

.loading::after {
    content: "";
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    border-top-color: rgba(255, 255, 255, 0.3);
    animation: spin 0.7s linear infinite;
    margin-left: 90px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.hero-note {
    background: rgba(0, 0, 0, 0.18);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.84rem;
    margin-top: 10px;
}

.hero-card {
    background: #fff;
    color: #222;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.hero-tag {
    display: inline-block;
    font-size: 0.78rem;
    padding: 3px 8px;
    border-radius: 999px;
    background: #e6f7f0;
    color: var(--accent);
    margin-bottom: 6px;
    font-weight: 600;
}

.hero-card h2 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.hero-card p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 6px;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.hero-chip {
    background: #f4f7fb;
    border-radius: 10px;
    padding: 6px 8px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 20px 40px;
}

.section {
    margin-top: 26px;
}

.section-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 16px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.card {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.card p {
    font-size: 0.9rem;
    color: var(--muted);
}

.card ul {
    font-size: 0.9rem;
    margin-left: 18px;
    margin-top: 5px;
    color: var(--muted);
}

.card li {
    margin-bottom: 4px;
}

.pill {
    display: inline-block;
    font-size: 0.78rem;
    padding: 2px 7px;
    border-radius: 999px;
    background: #eef6ff;
    color: #0b5ed7;
    margin-bottom: 6px;
}

.salary {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: 4px;
}

.label-small {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 2px;
}

.steps {
    list-style: none;
    counter-reset: steps-counter;
    font-size: 0.9rem;
    color: var(--muted);
}

.steps li {
    counter-increment: steps-counter;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.steps li::before {
    content: counter(steps-counter);
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-top: 1px;
}

.alert {
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.86rem;
    background: #fff5f5;
    border: 1px solid #f8d7da;
    color: #a94442;
    margin-top: 8px;
}

/* Form dasar */
.form-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 18px 18px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    margin-top: 14px;
    border-top: 3px solid var(--primary);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.form-group {
    margin-bottom: 12px;
    flex: 1 1 220px;
    min-width: 200px;
}

label {
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
    color: #333;
}

label span {
    color: var(--danger);
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 8px 9px;
    border-radius: 8px;
    border: 1px solid #ccd4e0;
    font-size: 0.9rem;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
    background: #fff;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(11, 123, 187, 0.25);
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
    border-color: var(--danger);
    box-shadow: 0 0 0 1px rgba(217, 83, 79, 0.25);
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.helper-text {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 2px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--muted);
    margin-top: 6px;
}

.checkbox-group input {
    margin-top: 2px;
}

.form-note {
    font-size: 0.78rem;
    color: var(--muted);
}

/* Multi-step + icon input */
.step {
    animation: fadeIn 0.2s ease-out;
}

.step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.input-wrapper {
    position: relative;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    padding-left: 34px;
    background: #f9fafb;
    border-radius: 9px;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    background: #ffffff;
}

.input-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
    opacity: 0.7;
    pointer-events: none;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    align-items: center;
    justify-content: center;
}

.step-header {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 8px;
}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px 0 2px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    margin-top: 10px;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #cbd5f5;
}

.dot.active {
    background: var(--primary);
}

/* FAQ */
details {
    background: var(--card-bg);
    border-radius: 12px;
    margin-bottom: 8px;
    padding: 10px 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

summary {
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

details p {
    font-size: 0.86rem;
    color: var(--muted);
    margin-top: 6px;
}

footer {
    border-top: 1px solid #dde3ee;
    padding: 14px 20px;
    font-size: 0.8rem;
    color: var(--muted);
    background: #fff;
    margin-top: 22px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    nav {
        display: none;
    }

    .hero {
        padding-top: 26px;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {

    .hero-actions .btn,
    .buttons .btn {
        width: 100%;
        justify-content: center;
    }

    header {
        padding-inline: 14px;
    }

    .logo-text-tagline {
        font-size: 0.7rem;
    }
}