:root {
    --pln-blue: #009fe3;
    --pln-blue-dark: #006fae;
    --pln-yellow: #f9c513;
    --bg: #f2f7ff;
    --border: #c9d7f0;
    --ink: #111827;
    --muted: #6b7280;
    --danger: #d64545;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, sans-serif;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle at top, #e0f2ff 0, var(--bg) 50%, var(--bg) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    color: var(--ink);
}

.page {
    width: 100%;
    max-width: 480px;
}

/* HEADER + BANNER */
.hero {
    background: linear-gradient(135deg, var(--pln-blue), var(--pln-blue-dark));
    border-radius: 20px 20px 0 0;
    padding: 12px 14px 10px;
    color: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.3);
}

.hero-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.hero-logo {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    position: relative;
    overflow: hidden;
}

.hero-logo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 15%, #ffffff 0, transparent 55%);
    opacity: 0.55;
}

.hero-logo span {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 17px;
    font-weight: 700;
}

.hero-sub {
    font-size: 12px;
    opacity: 0.9;
}

.hero-slider {
    margin-top: 8px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.12);
}

.hero-slider img {
    display: block;
    width: 100%;
    height: auto;
}

/* CARD MULTI STEP */
.card {
    background: #fff;
    border-radius: 0 0 24px 24px;
    padding: 18px 18px 20px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-top: none;
}

.card-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 4px;
    color: var(--pln-blue-dark);
}

.card-subtitle {
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 12px;
}

.card-subtitle strong {
    color: var(--pln-yellow);
}

.step-label {
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 10px;
}

/* STEPPER */
.stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.step-circle {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--muted);
    background: #fff;
    flex-shrink: 0;
}

.step-circle.active {
    border-color: var(--pln-blue);
    background: var(--pln-blue);
    color: #fff;
    font-weight: 600;
}

.step-circle.done {
    border-color: var(--pln-blue);
    background: var(--pln-blue);
    color: #fff;
}

.step-line {
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: #e2e8f0;
    margin: 0 2px;
    overflow: hidden;
}

.step-line-inner {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--pln-yellow), var(--pln-blue));
    transition: width 0.25s ease;
}

.progress-bar {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    margin-bottom: 16px;
}

.progress-bar-inner {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--pln-yellow), var(--pln-blue));
    transition: width 0.25s ease;
}

/* STEP CONTENT */
.step {
    display: none;
}

.step.active {
    display: block;
}

.form-group {
    margin-bottom: 10px;
}

label {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
}

input[type="text"],
input[type="tel"],
select {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border);
    padding: 9px 10px;
    font-size: 14px;
    outline: none;
    transition: border 0.15s ease, box-shadow 0.15s ease;
    background: #f9fafb;
}

input:focus,
select:focus {
    border-color: var(--pln-blue);
    box-shadow: 0 0 0 1px rgba(0, 159, 227, 0.24);
    background: #fff;
}

input.is-invalid,
select.is-invalid {
    border-color: var(--danger);
    box-shadow: 0 0 0 1px rgba(214, 69, 69, 0.3);
}

.hint {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}

.note-box {
    font-size: 11px;
    color: var(--muted);
    background: #f5fbff;
    border-radius: 12px;
    padding: 8px 10px;
    margin-bottom: 10px;
    border: 1px dashed rgba(0, 111, 174, 0.35);
}

.error {
    font-size: 12px;
    color: var(--danger);
    margin-bottom: 8px;
    display: none;
}

.btn-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
}

.btn {
    flex: 1;
    border: none;
    border-radius: 999px;
    padding: 11px 12px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(120deg, var(--pln-blue), var(--pln-blue-dark));
    color: #fff;
}

.btn-secondary {
    background: #e5e7eb;
    color: #374151;
}

.btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-top-color: transparent;
    margin-left: 8px;
    display: inline-block;
    animation: spin 0.7s linear infinite;
}

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

/* SUMMARY */
.summary-box {
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    background: #f9fafb;
    padding: 14px 14px 10px;
    margin-top: 8px;
}

.summary-title {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}

.summary-row {
    font-size: 13px;
    margin-bottom: 4px;
}

.summary-label {
    font-weight: 600;
}

/* SUCCESS / INFO */
.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 999px;
    background: var(--pln-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px auto 10px;
    color: #fff;
    font-size: 40px;
    box-shadow: 0 12px 30px rgba(0, 111, 174, 0.5);
}

.success-title {
    text-align: center;
    color: var(--pln-blue-dark);
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 18px;
}

.success-text {
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 10px;
}

.external-btn {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 11px 12px;
    border-radius: 999px;
    background: var(--pln-yellow);
    color: #1f2937;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.external-btn span {
    margin-left: 4px;
}

/* KOMENTAR */
.comments {
    margin-top: 16px;
    padding: 14px 16px 12px;
    border-radius: 18px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.comments-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #111827;
}

.comments-subtitle {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 10px;
}

.comment-item {
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.comment-item:last-child {
    border-bottom: none;
    padding-bottom: 2px;
}

.comment-name {
    font-size: 12px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.comment-badge {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(0, 159, 227, 0.08);
    color: var(--pln-blue-dark);
    border: 1px solid rgba(0, 159, 227, 0.3);
}

.comment-text {
    font-size: 12px;
    color: #111827;
    margin-bottom: 4px;
}

.comment-meta {
    font-size: 11px;
    color: var(--muted);
}

.comment-meta span {
    margin-right: 10px;
}

/* FOOTER */
footer {
    margin-top: 16px;
    padding: 14px 16px 10px;
    border-radius: 18px;
    background: #0f172a;
    color: #e5e7eb;
    font-size: 11px;
    text-align: center;
}

footer p {
    margin-bottom: 4px;
}

footer strong {
    color: #f9fafb;
}

@media (min-width: 640px) {
    body {
        padding-top: 32px;
    }
}