body {
    font-family: var(--font-main);
    background: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--text-main);
    outline-offset: 3px;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5%;
}

h1,
h2,
h3 {
    font-weight: 500;
    letter-spacing: -0.02em;
}

header {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: var(--radius-pill);
    padding: 0.75rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo-dot {
    width: 6px;
    height: 6px;
    background: var(--text-main);
    border-radius: 50%;
    display: inline-block;
    margin: 0 1px;
}

/* Jarak antar link sedikit dirapatkan karena link sekarang punya padding sendiri */
.nav-links {
    display: flex;
    gap: 0.5rem;
    font-size: 0.9rem;
}

/* Beri bentuk pil dan padding pada semua link */
.nav-links a {
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-pill);
    transition:
        background 0.3s ease,
        opacity 0.3s ease;
}

/* Efek hover: muncul lingkaran transparan tipis */
.nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
    opacity: 1;
}

/* Menu yang sedang aktif: muncul pil iOS (tanpa garis bawah) */
.nav-links a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent-text);
    opacity: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-actions > a {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.nav-actions svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 100px 0 120px;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(to bottom, transparent, var(--bg-color));
    z-index: 1;
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: -10%;
    width: 60%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.05);
    opacity: 0.6;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(
        ellipse at center,
        black 30%,
        transparent 70%
    );
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.hero-subtitle {
    position: relative;
    top: 1rem;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero p {
    color: #cccccc;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 46ch;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: var(--accent-ink);
    padding: 1rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 500;
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: scale(1.05);
    opacity: 1;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border-color);
    padding: 1rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 500;
    transition: background 0.3s;
}

.btn-outline:hover {
    background: var(--surface-color);
    opacity: 1;
}

.btn-primary svg,
.btn-outline svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

section.block {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
}

.section-tag {
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-text);
    margin-bottom: 1rem;
}

.section-header {
    margin-bottom: 3rem;
    max-width: 700px;
}

.section-header h2 {
    font-size: 2.75rem;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.info-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.info-cell {
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.info-cell .lbl {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.info-cell .val {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.info-cell .note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.strings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.string-card {
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 0.3s;
}

.string-card:hover {
    background: var(--surface-hover);
}

.string-card .nama {
    font-size: 1.15rem;
    font-weight: 500;
}

.string-card .desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.string-card .meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.string-card .harga {
    font-size: 1.15rem;
    font-weight: 500;
}

.string-card .tipe {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.range-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.range-card {
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.range-card .lbs {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.range-card .untuk {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.range-card .tag {
    display: inline-block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.2rem 0.7rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    margin-bottom: 0.85rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.step-card {
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: relative;
}

.step-num {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cta-card {
    border-radius: var(--radius-lg);
    padding: 3rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-card h2 {
    font-size: 2.25rem;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.cta-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.75rem;
}

.cta-list {
    display: grid;
    gap: 1rem;
}

.cta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.92rem;
}

.cta-item .n {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    padding-top: 3px;
    min-width: 20px;
}

.cta-item strong {
    font-weight: 500;
}

.cta-item span {
    color: var(--text-muted);
    font-size: 0.82rem;
}

footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom address {
    font-style: normal;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a:hover {
    color: var(--accent-text);
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    .strings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .range-list {
        grid-template-columns: 1fr 1fr;
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .info-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .cta-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .nav-container {
        width: 90%;
    }
    .hero h1 {
        font-size: 2.75rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .hero-bg {
        opacity: 0.7;
    }
    section.block {
        padding: 70px 0;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .strings-grid,
    .range-list,
    .steps-grid,
    .info-strip {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* BARU */
#cek-pesanan .section-header {
    margin-bottom: 2rem;
}

.cek-card {
    border-radius: var(--radius-lg);
    padding: 1.75rem;
}

.cek-form label,
.cek-guest label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.cek-row {
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
}

.cek-row input {
    flex: 1 1 auto;
    min-width: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: 0.95rem 1.25rem;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition:
        border-color 0.3s,
        background 0.3s;
}

.cek-row input::placeholder {
    color: #666666;
}

.cek-row input:hover {
    border-color: var(--border-hover);
}

.cek-row input:focus {
    outline: none;
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
}

.cek-row input:disabled {
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--border-color);
    cursor: not-allowed;
    opacity: 1;
}

.cek-row input:disabled::placeholder {
    color: var(--text-muted);
}

.cek-submit {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.5rem;
    font-size: 0.95rem;
    white-space: nowrap;
}

.cek-submit:disabled {
    opacity: 0.6;
    cursor: wait;
    transform: none;
}

.cek-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.6rem;
}

.cek-aksi {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.75rem;
}

.cek-ulang {
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
}

.cek-hasil {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

.cek-pesan {
    font-size: 0.95rem;
    color: var(--text-muted);
    padding: 0.35rem 0;
    overflow-wrap: anywhere;
}

.cek-pesan.error {
    color: var(--bad);
}

.cek-pesan a {
    color: var(--text-main);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cek-jumlah {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cek-order {
    border-radius: var(--radius-md);
    padding: 1.25rem;
    min-width: 0;
}

.cek-order-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.cek-order-judul {
    min-width: 0;
}

.cek-order-judul h3 {
    font-size: 1.15rem;
    line-height: 1.25;
    margin-bottom: 0.2rem;
    overflow-wrap: anywhere;
}

.cek-senar {
    font-size: 0.85rem;
    color: var(--text-muted);
    overflow-wrap: anywhere;
}

.cek-total {
    flex: 0 0 auto;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: right;
    white-space: nowrap;
}

.cek-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.cek-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.4;
}

.cek-badge.info {
    color: var(--info);
    border-color: rgba(96, 165, 250, 0.35);
    background: rgba(96, 165, 250, 0.1);
}

.cek-badge.warn {
    color: var(--warn);
    border-color: rgba(255, 170, 0, 0.35);
    background: rgba(255, 170, 0, 0.1);
}

.cek-badge.ok {
    color: var(--ok);
    border-color: rgba(74, 222, 128, 0.35);
    background: rgba(74, 222, 128, 0.1);
}

.cek-badge.bad {
    color: var(--bad);
    border-color: rgba(255, 85, 85, 0.35);
    background: rgba(255, 85, 85, 0.1);
}

.cek-badge.muted {
    color: var(--text-muted);
    border-color: var(--border-color);
    background: rgba(255, 255, 255, 0.04);
}

.cek-stepper {
    display: flex;
    align-items: flex-start;
    margin: 0.85rem 0 1rem;
}

.cek-step {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    font-size: 0.7rem;
    line-height: 1.3;
    color: var(--text-muted);
}

.cek-step .dot {
    display: block;
    width: 10px;
    height: 10px;
    margin: 0 auto 0.45rem;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--surface-color);
    position: relative;
    z-index: 1;
}

.cek-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 4px;
    left: calc(50% + 8px);
    width: calc(100% - 16px);
    height: 2px;
    background: var(--border-color);
}

.cek-step.lewat,
.cek-step.aktif {
    color: var(--text-main);
}

.cek-step.lewat .dot,
.cek-step.aktif .dot {
    border-color: var(--ok);
    background: var(--ok);
}

.cek-step.aktif .dot {
    box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.15);
}

.cek-step.lewat:not(:last-child)::after {
    background: var(--ok);
}

.cek-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0.85rem;
}

.cek-meta-item {
    min-width: 0;
}

.cek-meta-item .lbl {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.cek-meta-item .val {
    display: block;
    font-size: 0.85rem;
    overflow-wrap: anywhere;
}

.cek-items {
    display: grid;
    gap: 0.5rem;
}

.cek-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.85rem;
}

.cek-item .nama {
    min-width: 0;
    overflow-wrap: anywhere;
}

.cek-item .harga {
    flex: 0 0 auto;
    color: var(--text-muted);
    text-align: right;
    white-space: nowrap;
}

.cek-item.total {
    border-top: 1px solid var(--border-color);
    padding-top: 0.6rem;
    margin-top: 0.15rem;
    font-weight: 500;
}

.cek-item.total .harga {
    color: var(--text-main);
}

.cek-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .cek-card {
        padding: 1.25rem;
    }
    .cek-row {
        flex-direction: column;
    }
    .cek-submit {
        width: 100%;
    }
    .cek-aksi {
        justify-content: stretch;
    }
    .cek-ulang {
        width: 100%;
    }
    .cek-order {
        padding: 1rem;
    }
    .cek-order-head {
        flex-direction: column;
        gap: 0.35rem;
    }
    .cek-total {
        text-align: left;
    }
    .cek-stepper {
        margin-top: 0.5rem;
    }
}
