/* =========================================================
   INDIBEMS — COVERAGE CHECK PAGE
   File: assets/css/coverage-check.css
   Scope: /cek-ketersediaan only
========================================================= */

.coverage-page {
    --cc-brand: #002f78;
    --cc-brand-dark: #00245c;
    --cc-blue: #0f68f2;
    --cc-blue-dark: #084dbb;
    --cc-navy: #111827;
    --cc-text: #1b1f2a;
    --cc-muted: #687080;
    --cc-soft: #f6f8fb;
    --cc-border: #e4e9f0;
    --cc-white: #ffffff;
    --cc-success: #16a34a;
    --cc-warning: #e89a13;
    --cc-danger: #dc2626;
    --cc-radius-lg: 28px;
    --cc-radius-md: 20px;
    --cc-radius-sm: 14px;
    --cc-shadow:
        0 20px 50px rgba(17, 24, 39, 0.08),
        0 3px 10px rgba(17, 24, 39, 0.04);

    color: var(--cc-text);
    background: #fff;
    overflow-x: clip;
}

.coverage-page *,
.coverage-page *::before,
.coverage-page *::after {
    box-sizing: border-box;
}

.coverage-page button,
.coverage-page input,
.coverage-page select {
    font: inherit;
}

.coverage-page button {
    cursor: pointer;
}

.coverage-page [hidden] {
    display: none !important;
}

.cc-container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

/* =========================================================
   HERO
========================================================= */

.cc-hero {
    position: relative;
    min-height: 690px;
    padding: 82px 0 68px;
    background:
        radial-gradient(circle at 85% 15%, rgba(255,255,255,.15), transparent 30%),
        linear-gradient(135deg, #075ee8 0%, #1274ff 52%, #1768ed 100%);
    color: #fff;
    overflow: hidden;
}

.cc-hero-bg,
.cc-grid,
.cc-orb {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cc-grid {
    opacity: .09;
    background-image:
        linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}

.cc-orb {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(4px);
}

.cc-orb-one {
    inset: auto auto -220px -100px;
    background: rgba(255, 255, 255, .08);
}

.cc-orb-two {
    inset: -180px -120px auto auto;
    background: rgba(255, 255, 255, .08);
}

.cc-hero-inner {
    position: relative;
    z-index: 2;
}

.cc-hero-copy {
    max-width: 770px;
}

.cc-eyebrow,
.cc-panel-kicker,
.cc-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.cc-eyebrow {
    color: rgba(255,255,255,.82);
}

.cc-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #fff;
}

.cc-hero-copy h1 {
    margin: 18px 0 18px;
    max-width: 820px;
    font-size: clamp(42px, 5vw, 72px);
    line-height: .98;
    letter-spacing: -.045em;
    font-weight: 800;
}

.cc-hero-copy h1 span {
    display: block;
    color: #dfeaff;
}

.cc-hero-copy p {
    margin: 0;
    max-width: 650px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,.86);
}

/* =========================================================
   STEPS
========================================================= */

.cc-steps {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 40px 0 30px;
}

.cc-step {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
    color: rgba(255,255,255,.56);
}

.cc-step.is-active,
.cc-step.is-complete {
    color: #fff;
}

.cc-step-number {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    background: rgba(255,255,255,.06);
}

.cc-step.is-active .cc-step-number,
.cc-step.is-complete .cc-step-number {
    color: var(--cc-blue);
    background: #fff;
    border-color: #fff;
}

.cc-step strong,
.cc-step small {
    display: block;
}

.cc-step strong {
    font-size: 14px;
}

.cc-step small {
    margin-top: 3px;
    font-size: 11px;
    color: inherit;
    opacity: .72;
}

.cc-step-line {
    width: 52px;
    height: 1px;
    background: rgba(255,255,255,.2);
}

/* =========================================================
   MAIN PANEL
========================================================= */

.cc-panel {
    background: #fff;
    color: var(--cc-text);
    border-radius: var(--cc-radius-lg);
    padding: 30px;
    box-shadow: 0 30px 70px rgba(13, 52, 123, .24);
}

.cc-panel-heading,
.cc-results-header,
.cc-packages-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
}

.cc-panel-kicker,
.cc-section-kicker {
    color: var(--cc-brand);
}

.cc-panel-heading h2,
.cc-section-heading h2,
.cc-results-header h2 {
    margin: 8px 0 8px;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.1;
    letter-spacing: -.03em;
}

.cc-panel-heading p,
.cc-section-heading p,
.cc-results-header p {
    margin: 0;
    color: var(--cc-muted);
    line-height: 1.65;
}

.cc-secure-label {
    white-space: nowrap;
    padding: 10px 14px;
    border-radius: 999px;
    background: #eff7ff;
    color: var(--cc-blue);
    font-size: 12px;
    font-weight: 700;
}

/* =========================================================
   FORM
========================================================= */

.cc-location-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.cc-field {
    min-width: 0;
}

.cc-field label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #283142;
}

.cc-field label span {
    font-size: 11px;
    font-weight: 500;
    color: #9aa2af;
}

.cc-select-wrap {
    position: relative;
}

.cc-select-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #8b94a3;
    border-bottom: 2px solid #8b94a3;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.coverage-page select,
.coverage-page input[type="text"] {
    width: 100%;
    min-height: 54px;
    padding: 0 48px 0 16px;
    border: 1px solid var(--cc-border);
    border-radius: var(--cc-radius-sm);
    outline: 0;
    background: #fff;
    color: var(--cc-text);
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}

.coverage-page select {
    appearance: none;
}

.coverage-page input[type="text"] {
    padding-right: 16px;
}

.coverage-page select:focus,
.coverage-page input[type="text"]:focus {
    border-color: var(--cc-blue);
    box-shadow: 0 0 0 4px rgba(15,104,242,.1);
}

.coverage-page select:disabled {
    color: #a8afba;
    background: #f6f7f9;
    cursor: not-allowed;
}

.cc-address-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: end;
    margin-top: 18px;
}

.cc-location-button {
    min-height: 54px;
    padding: 0 20px;
    border: 1px solid #d8e5f8;
    border-radius: var(--cc-radius-sm);
    background: #f7fbff;
    color: var(--cc-blue);
    font-weight: 700;
}

.cc-location-button:hover {
    background: #eef6ff;
}

.cc-form-message {
    min-height: 24px;
    margin-top: 12px;
    font-size: 13px;
    color: var(--cc-danger);
}

/* =========================================================
   PANEL FOOTER
========================================================= */

.cc-panel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--cc-border);
}

.cc-location-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 650px;
}

.cc-note-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #eef6ff;
    color: var(--cc-blue);
    font-size: 12px;
    font-weight: 800;
}

.cc-location-note p {
    margin: 1px 0 0;
    font-size: 12px;
    line-height: 1.55;
    color: #7a8493;
}

.cc-primary-button,
.cc-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 0 21px;
    border-radius: 999px;
    font-weight: 700;
    transition:
        transform .2s ease,
        background-color .2s ease,
        box-shadow .2s ease,
        opacity .2s ease;
}

.cc-primary-button {
    border: 0;
    background: var(--cc-brand);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0,47,120,.2);
}

.cc-primary-button:hover:not(:disabled) {
    transform: translateY(-1px);
    background: var(--cc-brand-dark);
}

.cc-primary-button:disabled {
    opacity: .45;
    cursor: not-allowed;
    box-shadow: none;
}

.cc-secondary-button {
    border: 1px solid var(--cc-border);
    background: #fff;
    color: #4d5665;
}

.cc-secondary-button:hover {
    background: #f7f8fa;
}

/* =========================================================
   GENERIC SECTIONS
========================================================= */

.cc-section {
    padding: 86px 0;
    background: #fff;
}

.cc-section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.cc-needs-section {
    background: #f7f9fc;
}

.cc-needs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.cc-need-card {
    position: relative;
    min-height: 250px;
    padding: 26px;
    text-align: left;
    border: 1px solid var(--cc-border);
    border-radius: 22px;
    background: #fff;
    color: var(--cc-text);
    box-shadow: 0 8px 24px rgba(17,24,39,.04);
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.cc-need-card:hover {
    transform: translateY(-4px);
    border-color: #cdd9ea;
    box-shadow: var(--cc-shadow);
}

.cc-need-card.is-selected {
    border-color: var(--cc-blue);
    box-shadow: 0 0 0 3px rgba(15,104,242,.09);
}

.cc-need-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 28px;
    border-radius: 15px;
    background: #eff6ff;
    color: var(--cc-blue);
    font-size: 24px;
}

.cc-need-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 20px;
}

.cc-need-card p {
    margin: 0 0 22px;
    color: var(--cc-muted);
    font-size: 14px;
    line-height: 1.65;
}

.cc-need-link {
    color: var(--cc-brand);
    font-size: 13px;
    font-weight: 700;
}

.cc-need-check {
    position: absolute;
    top: 18px;
    right: 18px;
    display: none;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--cc-blue);
    color: #fff;
    font-size: 12px;
}

.cc-need-card.is-selected .cc-need-check {
    display: grid;
}

.cc-needs-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 26px;
}

/* =========================================================
   RESULTS
========================================================= */

.cc-results-section {
    background: #fff;
}

.cc-results-header {
    margin-bottom: 24px;
}

.cc-status-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 26px;
    font-size: 13px;
    color: var(--cc-muted);
}

.cc-status-legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cc-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.cc-status-dot.is-available {
    background: var(--cc-success);
}

.cc-status-dot.is-verify {
    background: var(--cc-warning);
}

.cc-status-dot.is-unavailable {
    background: var(--cc-danger);
}

.cc-status-dot.is-unknown {
    background: #98a2b3;
}

.cc-provider-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.cc-provider-card,
.cc-loading-card {
    border: 1px solid var(--cc-border);
    border-radius: 20px;
    background: #fff;
    padding: 22px;
    min-height: 190px;
}

.cc-provider-card {
    box-shadow: 0 7px 24px rgba(17,24,39,.04);
}

.cc-provider-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.cc-provider-logo {
    width: 120px;
    height: 48px;
    object-fit: contain;
    object-position: left center;
}

.cc-provider-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.cc-provider-status.is-available {
    background: #ecf9f0;
    color: var(--cc-success);
}

.cc-provider-status.is-verify {
    background: #fff7e8;
    color: #b97808;
}

.cc-provider-status.is-unavailable {
    background: #fff0f0;
    color: var(--cc-danger);
}

.cc-provider-status.is-unknown {
    background: #f2f4f7;
    color: #667085;
    border: 1px solid #e4e7ec;
}

.cc-provider-card h3 {
    margin: 18px 0 8px;
    font-size: 18px;
}

.cc-provider-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--cc-muted);
}

.cc-provider-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.cc-provider-actions button {
    min-height: 40px;
    padding: 0 15px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.cc-loading-card {
    grid-column: 1 / -1;
    display: grid;
    place-items: center;
    text-align: center;
    min-height: 220px;
    color: var(--cc-muted);
}

.cc-loader {
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
    border: 3px solid #dfe7f1;
    border-top-color: var(--cc-blue);
    border-radius: 50%;
    animation: cc-spin .8s linear infinite;
}

@keyframes cc-spin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================================
   PACKAGES
========================================================= */

.cc-packages {
    margin-top: 46px;
    padding-top: 40px;
    border-top: 1px solid var(--cc-border);
}

.cc-packages-header h3 {
    margin: 7px 0 0;
    font-size: 28px;
    letter-spacing: -.025em;
}

.cc-package-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.cc-package-filter {
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid var(--cc-border);
    border-radius: 999px;
    background: #fff;
    color: #697383;
    font-size: 12px;
    font-weight: 700;
}

.cc-package-filter.is-active {
    border-color: var(--cc-brand);
    background: var(--cc-brand);
    color: #fff;
}

.cc-package-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.cc-package-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--cc-border);
    border-radius: 20px;
    background: #fff;
    padding: 24px;
}

.cc-package-card.is-featured {
    border-color: #b6ccef;
    box-shadow: 0 10px 32px rgba(0,47,120,.08);
}

.cc-package-badge {
    display: inline-flex;
    padding: 6px 9px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: #fff1f2;
    color: var(--cc-brand);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
}

.cc-package-card h4 {
    margin: 0 0 7px;
    font-size: 18px;
}

.cc-package-speed {
    margin: 0 0 18px;
    color: var(--cc-blue);
    font-size: 28px;
    font-weight: 800;
}

.cc-package-meta {
    display: grid;
    gap: 9px;
    margin-bottom: 20px;
}

.cc-package-meta span {
    font-size: 12px;
    color: var(--cc-muted);
}

.cc-package-price {
    margin-bottom: 18px;
}

.cc-package-price strong {
    font-size: 24px;
}

.cc-package-price small {
    color: var(--cc-muted);
}

/* =========================================================
   DISCLAIMER
========================================================= */

.cc-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 34px;
    padding: 18px 20px;
    border: 1px solid #dce8f7;
    border-radius: 16px;
    background: #f7fbff;
}

.cc-disclaimer-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--cc-blue);
    color: #fff;
    font-size: 12px;
}

.cc-disclaimer strong {
    display: block;
    margin-bottom: 4px;
}

.cc-disclaimer p {
    margin: 0;
    color: var(--cc-muted);
    font-size: 12px;
    line-height: 1.6;
}

/* =========================================================
   PROCESS
========================================================= */

.cc-process {
    padding: 82px 0;
    background: #111827;
    color: #fff;
}

.cc-process .cc-section-kicker {
    color: #78b4ff;
}

.cc-process .cc-section-heading h2 {
    color: #fff;
}

.cc-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.cc-process-grid article {
    min-height: 180px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    background: rgba(255,255,255,.035);
}

.cc-process-grid article > span {
    display: inline-block;
    margin-bottom: 30px;
    color: #8fc2ff;
    font-size: 13px;
    font-weight: 800;
}

.cc-process-grid strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

.cc-process-grid p {
    margin: 0;
    color: rgba(255,255,255,.58);
    font-size: 13px;
    line-height: 1.6;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {
    .cc-container {
        width: min(100% - 36px, 960px);
    }

    .cc-hero {
        padding-top: 68px;
    }

    .cc-steps {
        gap: 10px;
    }

    .cc-step {
        min-width: 0;
        flex: 1;
    }

    .cc-step-line {
        width: 28px;
    }

    .cc-needs-grid,
    .cc-provider-grid,
    .cc-package-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cc-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
    .cc-container {
        width: min(100% - 28px, 680px);
    }

    .cc-hero {
        min-height: auto;
        padding: 46px 0 38px;
    }

    .cc-hero-copy h1 {
        font-size: clamp(38px, 12vw, 54px);
    }

    .cc-hero-copy p {
        font-size: 15px;
    }

    .cc-steps {
        align-items: flex-start;
        gap: 6px;
        margin-top: 30px;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .cc-step {
        min-width: 125px;
    }

    .cc-step small {
        display: none;
    }

    .cc-step-line {
        min-width: 20px;
        margin-top: 17px;
    }

    .cc-panel {
        margin-top: 20px;
        padding: 22px 18px;
        border-radius: 22px;
    }

    .cc-panel-heading,
    .cc-results-header,
    .cc-packages-header {
        display: block;
    }

    .cc-secure-label {
        display: inline-flex;
        margin-top: 14px;
    }

    .cc-location-grid {
        grid-template-columns: 1fr;
    }

    .cc-address-row {
        grid-template-columns: 1fr;
    }

    .cc-location-button {
        width: 100%;
    }

    .cc-panel-footer {
        display: block;
    }

    .cc-primary-button,
    .cc-secondary-button {
        width: 100%;
    }

    .cc-panel-footer .cc-primary-button {
        margin-top: 18px;
    }

    .cc-section {
        padding: 64px 0;
    }

    .cc-needs-grid,
    .cc-provider-grid,
    .cc-package-list,
    .cc-process-grid {
        grid-template-columns: 1fr;
    }

    .cc-needs-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cc-results-header .cc-secondary-button {
        margin-top: 18px;
    }

    .cc-package-filters {
        justify-content: flex-start;
        margin-top: 18px;
    }

    .cc-process {
        padding: 64px 0;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {
    .cc-container {
        width: min(100% - 22px, 390px);
    }

    .cc-hero-copy h1 {
        font-size: 36px;
    }

    .cc-panel {
        padding: 20px 15px;
    }

    .cc-panel-heading h2,
    .cc-section-heading h2,
    .cc-results-header h2 {
        font-size: 28px;
    }

    .cc-step {
        min-width: 106px;
    }

    .cc-step strong {
        font-size: 12px;
    }
}