/* ==================================================================
   HOSTING & DOMAIN (/hosting-domain)  2026-09-23 rebuild to match the
   homepage/jasa visual language: light hero, same badge/section-header/
   steps/final-CTA system, dark 3-card value-prop band.

   This file is loaded ALONGSIDE home.min.css (see hosting/index.php),
   which already provides every reusable hp-* primitive (hp-section,
   hp-section-header, hp-badge-premium, hp-text-gradient, hp-cta-btn,
   hp-easy-*, hp-step*, hp-final-cta*, hp-hero base, reveal-up, ...).
   Only what is specific to /hosting-domain lives here, all prefixed hd-.
   The checkout form itself (#pesan) keeps its existing shared classes
   (.fulfillment-card/.form-input/etc, see app.css)  those are reused
   sitewide (Jasa flow too), so only their WRAPPER gets a light reskin
   here, scoped under .hd-checkout, rather than editing the shared rules.
   ================================================================== */

/* ---- Navbar contrast, /hosting-domain only ----
   Same reason as body.home-page/jasa-page: the navbar is built for a dark
   hero behind it, this hero is light, so use the "scrolled" look from the
   very top. */
body.hosting-page .navbar {
    background: rgba(10, 16, 32, 0.55);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.12);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 767.98px) {
    body.hosting-page .navbar {
        background: rgb(12, 18, 36);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* ==================================================================
   HERO
   ================================================================== */

.hd-hero {
    padding-bottom: 3.5rem;
}

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

.hd-hero-grid>* {
    min-width: 0;
}

@media (max-width: 991.98px) {
    .hd-hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.hd-hero-title {
    font-family: var(--font-family-heading);
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
    line-height: 1.14;
    letter-spacing: -0.02em;
    color: #111827;
    margin: 0.9rem 0 1.25rem;
}

/* Rotating word — static amber color, no shine animation */
.hd-rotate {
    display: inline-block;
    min-height: 1.2em;
    padding-bottom: 0.05em;
    color: #1d4ed8;
}

.hd-rotate::after {
    content: none;
}

/* @keyframes hdShineText removed */

/* @keyframes hdBlink removed */

.hd-hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.65;
    color: #374151;
    max-width: 560px;
    margin: 0 0 1.75rem;
}

/* The shared .hp-hero-actions is flex-direction:column at every breakpoint
   (homepage/jasa keep it stacked on purpose, so that rule stays untouched)
    side by side on desktop only for THIS hero, scoped to .hd-hero so
   nothing else is affected. */
@media (min-width: 768px) {
    .hd-hero .hp-hero-actions {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }
}

/* ---- Illustrative "domain checker" mockup ----
   Shows the actual live-availability-check feature on this page (see the
   #domainNameInput script at the bottom of hosting/index.php), not a
   generic stock illustration  tagged "Ilustrasi" like every other mockup
   on this site since the exact numbers/result are staged, not live. */
.hd-hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 0 0.5rem;
}

.hd-checker {
    position: relative;
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    box-shadow: 0 40px 80px -30px rgba(15, 23, 42, 0.35), 0 8px 24px rgba(15, 23, 42, 0.06);
    padding: 1.5rem;
    transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
    transition: transform 0.4s ease;
}

.hd-checker:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

@media (max-width: 991.98px) {
    .hd-checker {
        transform: none;
    }
}

.hd-checker-tag {
    position: absolute;
    top: -12px;
    right: 18px;
    z-index: 3;
    background: var(--color-primary-dark);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
}

.hd-checker-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-bottom: 0.6rem;
}

.hd-checker-inputrow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f3f5f9;
    border: 1px solid #e6ebf2;
    border-radius: 14px;
    padding: 0.7rem 1rem;
    font-weight: 700;
    color: #111827;
}

.hd-checker-inputrow .hd-caret {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: #111827;
    /* blink removed */
}

.hd-checker-tld {
    color: var(--color-text-muted);
    font-weight: 700;
}

.hd-checker-result {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    background: rgba(22, 163, 74, 0.08);
    border: 1px solid rgba(22, 163, 74, 0.18);
    color: #15803d;
    font-weight: 700;
    font-size: 0.92rem;
}

.hd-checker-result i {
    font-size: 1.1rem;
}

.hd-checker-packages {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.1rem;
}

.hd-checker-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #111827;
}

.hd-checker-chip i {
    color: #2563eb;
}

.hd-float-chip {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 14px;
    padding: 0.55rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #111827;
    box-shadow: 0 14px 30px -10px rgba(15, 23, 42, 0.25);
    animation: hdFloat 5s ease-in-out infinite;
}

.hd-float-chip i {
    color: #2563eb;
    font-size: 1rem;
}

.hd-float-chip-a {
    top: -2%;
    left: -4%;
}

.hd-float-chip-b {
    bottom: 6%;
    right: -5%;
    animation-delay: -2.4s;
}

@keyframes hdFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 767.98px) {
    .hd-hero-visual {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    .hd-float-chip,
    .hd-rotate,
    .hd-rotate::after,
    .hd-checker-inputrow .hd-caret {
        animation: none;
    }
}

/* ==================================================================
   PACKAGES (light section)
   ================================================================== */

.hd-swipe-hint {
    display: none;
    margin: 0 0 0.9rem;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

@media (max-width: 767.98px) {
    .hd-swipe-hint {
        display: block;
    }
}

.hd-package-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.hd-package-card.is-popular {
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15), var(--shadow-sm);
}

.hd-package-badges {
    position: absolute;
    top: -12px;
    left: 1.25rem;
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.hd-package-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.hd-package-badge.is-popular {
    background: linear-gradient(90deg, #2563eb, #2563eb);
    color: #ffffff;
}

.hd-package-badge.is-promo {
    background: var(--color-primary-dark);
    color: #fff;
}

.hd-package-type {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.hd-package-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 0.75rem;
}

.hd-package-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
}

.hd-package-price {
    font-size: 1.65rem;
    font-weight: 800;
    color: #111827;
}

.hd-package-price-original {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.hd-package-period {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.hd-package-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.55;
    margin-bottom: 1.5rem;
    flex: 1;
}

.hd-package-cta {
    margin-top: auto;
}

/* ---- "Yang Termasuk" pill list (same pattern as /jasa's .jz-included) ---- */

.hd-included {
    margin-top: 3rem;
    text-align: center;
}

.hd-included-title {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.hd-included-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin: 0 0 1.1rem;
    padding: 0;
    list-style: none;
}

.hd-included-list li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.95rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-primary);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.hd-included-list i {
    color: #16a34a;
}

.hd-included-note {
    margin: 0 auto;
    max-width: 560px;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

/* ==================================================================
   CHECKOUT MODAL  the whole "Lengkapi Pesanan" form used to be an
   in-page #pesan section; it is now a popup opened by any
   [data-open-checkout] trigger (see openCheckoutModal() in
   hosting/index.php's scripts). Reuses the shared .fulfillment-card/
   .form-input classes untouched (still used by the Jasa flow too), only
   reskins their wrapper  same convention as the rest of this file.
   ================================================================== */

.hd-checkout-overlay {
    position: fixed;
    inset: 0;
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.hd-checkout-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.hd-checkout-modal {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1040px;
    max-height: 90vh;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 40px 80px -20px rgba(15, 23, 42, 0.45);
    overflow: hidden;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hd-checkout-overlay.is-active .hd-checkout-modal {
    transform: translateY(0) scale(1);
}

.hd-checkout-modal-header {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.75rem 2rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
}

.hd-checkout-modal-header h2 {
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    margin: 0.5rem 0 0;
}

.hd-checkout-close {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-text-secondary);
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.hd-checkout-close:hover {
    background: #f3f4f6;
    color: #111827;
}

.hd-checkout-modal-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1.5rem 2rem 2rem;
}

.hd-checkout-modal-body .fulfillment-card {
    border: 1px solid var(--color-border);
    border-radius: 22px;
    box-shadow: none;
    padding: 1.5rem;
}

.hd-checkout-modal-body .fulfillment-package-option {
    border-radius: 16px;
    border-width: 1px;
    border-color: var(--color-border);
    transition: border-color 0.15s ease, background 0.15s ease;
}

.hd-checkout-modal-body .fulfillment-package-option:has(input:checked) {
    border-color: var(--color-primary-dark);
    background: rgba(37, 99, 235, 0.06);
}

.hd-summary-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
}

/* Summary card stays in view while scrolling the (much longer) package
   list beside it  only on desktop's two-column layout; on mobile the
   columns stack, so sticking it would just cover content beneath it. */
@media (min-width: 992px) {
    .hd-checkout-modal-body .hd-summary-card {
        position: sticky;
        top: 0;
    }
}

/* Phones: a near-fullscreen bottom sheet instead of a small centered box
   floating in the middle of the screen, so the long form has room to
   breathe and stays reachable one-handed. */
@media (max-width: 767.98px) {
    .hd-checkout-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .hd-checkout-modal {
        max-width: 100%;
        max-height: 94vh;
        border-radius: 24px 24px 0 0;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    .hd-checkout-overlay.is-active .hd-checkout-modal {
        transform: translateY(0);
    }

    .hd-checkout-modal-header {
        padding: 1.25rem 1.25rem 1rem;
    }

    .hd-checkout-modal-body {
        padding: 1.1rem 1.25rem 1.75rem;
    }
}

.hd-login-notice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 18px;
    padding: 1rem 1.25rem;
    color: #1e40af;
    font-size: 0.92rem;
    margin-bottom: 2rem;
}

.hd-login-notice i {
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* ==================================================================
   FAQ (light section, reuses the shared .faq-list/.faq-item accordion)
   ================================================================== */

.hd-faq-wrap {
    max-width: 720px;
    margin: 0 auto;
}

/* ==================================================================
   4 LANGKAH  tighter top/bottom padding than the shared .hp-section
   default (5.5rem/3.5rem desktop, 3.25rem/3.25rem mobile), scoped to
   just this section by request.
   ================================================================== */

#cara-kerja {
    padding-top: 3rem;
    padding-bottom: 2rem;
}

@media (max-width: 767.98px) {
    #cara-kerja {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

/* .hp-steps-row's shared 4rem/3rem margin-bottom exists to clear room for
   the hp-final-cta banner that follows it on homepage/jasa  this page has
   no closing CTA inside #cara-kerja (removed per earlier request), so that
   margin was just piling on top of the section's own padding-bottom above.
   Scoped to #cara-kerja only, homepage/jasa keep the original spacing. */
#cara-kerja .hp-steps-row {
    margin-bottom: 0;
}

/* ==================================================================
   FAQ  tighter top padding than the shared .hp-section default
   (5.5rem desktop, 3.25rem mobile), scoped to just this section.
   ================================================================== */

#faq {
    padding-top: 2.5rem;
}

@media (max-width: 767.98px) {
    #faq {
        padding-top: 1.75rem;
    }
}
