:root {
    --bg: #0b0c10;
    --bg-soft: rgba(11, 12, 16, 0.86);
    --panel: rgba(8, 10, 14, 0.88);
    --panel-border: rgba(255, 122, 0, 0.55);
    --text: #f4f1eb;
    --text-soft: rgba(244, 241, 235, 0.8);
    --accent: #ff6a00;
    --accent-strong: #ff7f11;
    --alert: rgba(255, 54, 54, 0.78);
    --shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        linear-gradient(180deg, rgba(4, 6, 10, 0.9), rgba(6, 8, 12, 0.94)),
        url("/images/backgroundimage.png") center center / cover no-repeat fixed;
    font-family: "Barlow", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

/* Shell halaman menjaga jarak konten terhadap tepi layar */
.page-shell {
    position: relative;
    width: min(100%, 1680px);
    margin: 0 auto;
    padding: 28px clamp(28px, 4vw, 72px) 32px;
}

.page-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 10, 14, 0.12), rgba(8, 10, 14, 0.38)),
        radial-gradient(circle at top right, rgba(255, 106, 0, 0.12), transparent 26%);
    pointer-events: none;
}

.site-header,
.main-content,
.site-footer {
    position: relative;
    z-index: 1;
}

/* Header desktop-first dengan garis aksen seperti referensi */
.site-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 4px clamp(10px, 1.2vw, 18px) 20px;
    border-bottom: 5px solid var(--accent);
}

.brand-link {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    width: clamp(92px, 12vw, 124px);
    height: auto;
}

.site-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(18px, 2vw, 34px);
    padding-inline: 12px;
}

.site-nav a,
.login-link {
    color: var(--accent);
    font-family: "Rajdhani", sans-serif;
    font-size: clamp(1rem, 1.35vw, 1.32rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color 0.25s ease, transform 0.25s ease, text-shadow 0.25s ease;
}

.site-nav a:hover,
.login-link:hover {
    color: #ffb067;
    transform: translateY(-1px);
    text-shadow: 0 0 14px rgba(255, 122, 0, 0.32);
}

.login-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-self: end;
}

/* Ikon login dibuat dengan CSS agar tidak menambah dependency */
.login-icon {
    position: relative;
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.login-icon::before,
.login-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.login-icon::before {
    top: 2px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.login-icon::after {
    bottom: 1px;
    width: 9px;
    height: 5px;
    border-radius: 999px 999px 0 0;
    border-top: 2px solid currentColor;
}

.main-content {
    padding-top: 36px;
}

/* Hero panel menyatukan teks dan area slider */
.hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.22fr);
    align-items: center;
    gap: clamp(26px, 4vw, 56px);
    min-height: min(74vh, 820px);
    padding: clamp(26px, 4vw, 42px);
    background: linear-gradient(180deg, rgba(8, 10, 14, 0.66), rgba(8, 10, 14, 0.72));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-copy {
    max-width: 440px;
    padding-inline: clamp(4px, 1vw, 12px);
}

.hero-kicker {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.hero-copy h1 {
    margin: 0;
    font-family: "Rajdhani", sans-serif;
    font-size: clamp(3rem, 5vw, 5.35rem);
    line-height: 0.88;
    letter-spacing: 0.01em;
}

.hero-copy h1 span {
    display: block;
    margin-top: 8px;
    font-size: clamp(1.9rem, 3vw, 3.15rem);
    line-height: 1.02;
}

.hero-description {
    margin: 28px 0 0;
    max-width: 34ch;
    color: var(--text-soft);
    font-size: clamp(1rem, 1.45vw, 1.22rem);
    line-height: 1.65;
}

.hero-actions {
    margin-top: 28px;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 26px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ff8f1f 0%, var(--accent) 100%);
    color: #fff8f0;
    font-family: "Rajdhani", sans-serif;
    font-size: clamp(1.3rem, 1.8vw, 1.7rem);
    font-weight: 700;
    box-shadow: 0 18px 34px rgba(255, 106, 0, 0.26);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.cta-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 24px 40px rgba(255, 106, 0, 0.32);
}

/* Area slider memakai tumpukan absolute agar fade terlihat mulus */
.hero-slider {
    position: relative;
    min-height: clamp(320px, 48vw, 640px);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(180deg, rgba(10, 16, 24, 0.94), rgba(6, 10, 16, 0.98));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(10px, 1.5vw, 16px);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
    transition: opacity 1.25s ease, transform 1.25s ease, visibility 1.25s ease;
}

.slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-slider::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 35%;
    background: linear-gradient(180deg, transparent, rgba(5, 8, 12, 0.34));
    pointer-events: none;
}

.slider-indicators {
    position: absolute;
    inset: auto auto 18px 18px;
    z-index: 2;
    display: inline-flex;
    gap: 8px;
}

.indicator {
    width: 38px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.indicator.is-active {
    background: var(--accent);
    transform: scaleX(1.08);
}

/* Panel informasi bawah meniru blok tiga kolom pada referensi */
.info-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 34px;
    padding: 24px 0 18px;
    border-top: 1px dashed rgba(255, 40, 40, 0.75);
    border-bottom: 1px dashed rgba(255, 40, 40, 0.75);
}

.info-card {
    padding-right: 20px;
}

.info-card h2 {
    margin: 0 0 10px;
    color: var(--accent);
    font-family: "Rajdhani", sans-serif;
    font-size: clamp(1.5rem, 2vw, 1.9rem);
    line-height: 1;
}

.info-card p,
.info-card a {
    margin: 6px 0;
    color: rgba(244, 241, 235, 0.92);
    font-size: clamp(1rem, 1.3vw, 1.16rem);
    line-height: 1.5;
}

.info-card a:hover {
    color: #ffba74;
}

.site-footer {
    padding: 28px 0 8px;
    text-align: center;
}

.site-footer p,
.site-footer a {
    margin: 0;
    color: rgba(244, 241, 235, 0.82);
    font-size: 1rem;
}

.site-footer a:hover {
    color: #ffba74;
}

@media (max-width: 1080px) {
    .site-header {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 18px;
    }

    .login-link {
        justify-self: center;
    }

    .hero-panel {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-copy {
        max-width: 100%;
    }
}

@media (max-width: 720px) {
    body {
        background-attachment: scroll;
    }

    .page-shell {
        padding: 18px 16px 24px;
    }

    .site-header {
        border-bottom-width: 4px;
    }

    .site-nav {
        gap: 12px 18px;
    }

    .hero-panel {
        gap: 20px;
        padding: 20px 18px;
    }

    .hero-kicker {
        margin-bottom: 14px;
    }

    .hero-description {
        margin-top: 20px;
        max-width: none;
    }

    .cta-primary {
        width: 100%;
        max-width: 260px;
    }

    .hero-slider {
        min-height: 240px;
    }

    .info-panel {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .info-card {
        padding-right: 0;
    }

    .site-footer p,
    .site-footer a {
        font-size: 0.94rem;
    }
}

@media (max-width: 480px) {
    .hero-copy h1 {
        font-size: 2.5rem;
    }

    .hero-copy h1 span {
        font-size: 1.65rem;
    }

    .site-nav a,
    .login-link {
        font-size: 0.95rem;
    }

    .indicator {
        width: 28px;
    }
}
