body {
    background: #f8f9fa;
    color: #212529;
}

main {
    padding: 0;
}

footer {
    background: #264794;
    min-height: 300px;
}

/*  Layout  */
.wrapper {
    width: 100%;
    max-width: 1150px;
    margin: auto;
    padding: 0 20px;
}

.logo {
    width: 180px;
    height: auto;
    transition: width .3s ease;
}

.logo.scrolled {
    width: 140px;
}



/*  Navbar  */
.navbar {
    padding: 20px 0px;
    border-bottom: 1px solid rgba(0,0,0,.15);
    box-shadow: 0 1px 0 rgba(255,255,255,.08);
    background: transparent;
    transition: all .3s ease;
}

.navbar.scrolled{
    background:rgba(255,255,255,.9);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    box-shadow:
        0 2px 4px rgba(0,0,0,.04),
        0 4px 12px rgba(0,0,0,.06);
    border-bottom:1px solid #ddd;
    padding:12px 0;
}

.navbar .wrapper {
    gap: 16px;
}

.navbar.scrolled .nav-link {
    color: #212529;
}
.navbar.scrolled .nav-link.active{
    color:#264794;
    font-weight:600;
}

.navbar.scrolled .navbar-brand {
    color: #212529;
}

#mobileMenu,
#sidebar {
    background: #203B7A;
    color: #fff;
}

#mobileMenu .offcanvas-header,
#sidebar .offcanvas-header {
    border-bottom: 1px solid rgba(255,255,255,.14);
}

#mobileMenu .offcanvas-body,
#sidebar .offcanvas-body {
    padding: 18px 16px 24px;
}

.mobile-menu-group + .mobile-menu-group {
    margin-top: 18px;
}

.mobile-menu-heading {
    margin-bottom: 6px;
    padding: 0 12px;
    color: rgba(255,255,255,.42);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

#mobileMenu .list-group,
#sidebar .list-group {
    gap: 2px;
}

#mobileMenu .list-group-item,
#sidebar .list-group-item {
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: rgba(255,255,255,.68);
}

#mobileMenu .list-group-item:hover,
#mobileMenu .list-group-item:focus,
#sidebar .list-group-item:hover,
#sidebar .list-group-item:focus {
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.86);
}

#mobileMenu .list-group-item.active,
#sidebar .list-group-item.active {
    background: rgba(255,255,255,.12);
    color: #fff;
}

/*  Hero  */
.hero {
    position: relative;
    height: 90vh;
    background: #3654a3;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,.08) 0%,
        rgba(255,255,255,.03) 35%,
        rgba(0,0,0,.08) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item {
    height: 100%;
}

.hero-content {
    position: relative;
    gap: 32px;
    z-index: 2;
}

.hero-copy {
    flex: 1 1 42%;
    min-width: 0;
}

.hero-copy .lead {
    max-width: 540px;
}

.hero-image {
    flex: 0 1 58%;
    width: min(58vw, 700px);
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.hero-image-1 {
    flex-basis: 40%;
    width: min(94vw, 480px);
    filter: drop-shadow(0 8px 20px rgba(0,0,0,.25));
}

.hero-image-2 {
    width: min(54vw, 640px);
}

.hero-image-3 {
    width: min(52vw, 600px);
}

.hero-product{
    width:550px;
    max-width:none;
    height:auto;
    object-fit:contain;
    transform:translateY(20px);
}

.hero-hardware{
    width:550px; 
    max-width:none;
    height:auto;
    object-fit:contain;
    transform:translateY(200px);
}

.hero-kontak{
    width:600px;
    max-width:none;
    height:auto;
    object-fit:contain;
    transform:translateY(70px);
}

/* Hero */
.hero{
    position:relative;
    height:90vh;
    background:#3654a3;
    overflow:hidden;
}

.hero-half{
    position:relative;
    height:45vh;
    min-height:420px;
    background:#3654a3;
    overflow:hidden;
}

.hero::before,
.hero-half::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        135deg,
        rgba(255,255,255,.08) 0%,
        rgba(255,255,255,.03) 35%,
        rgba(0,0,0,.08) 100%
    );
    pointer-events:none;
    z-index:1;
}

.hero>*,
.hero-half>*{
    position:relative;
    z-index:2;
}

.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item,
.hero-half .carousel,
.hero-half .carousel-inner,
.hero-half .carousel-item{
    height:100%;
}

.hero-half .hero-content{
    padding-top:100px;
    padding-bottom:40px;
}

.hero-half .hero-kontak{
    width:500px;
    max-width:none;
    height:auto;
    object-fit:contain;
    transform:translateY(40px);
}

.app-store-badge {
    width: 180px;
    max-width: 100%;
    height: auto;
}

.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to right,
        rgba(255,255,255,.06) 0%,
        rgba(255,255,255,.10) 25%,
        transparent 55%,
        rgba(0,0,0,.30) 100%
    );
    pointer-events: none;
}

.hero-page{
    background: #264794 url('/images/starpos-page.png') no-repeat center center;
    background-size: cover;
}

.custom-indicators{
    bottom:35px;
    margin:0;
    gap:10px;
}

.custom-indicators [data-bs-target]{
    width:12px;
    height:12px;
    border:none;
    border-radius:999px;
    background:#eef4f5;
    opacity:1;
    margin:0;
    transition:all .35s ease;
}

.custom-indicators .active{
    width:36px;
    background:#eef4f5;
}

.carousel-control-prev,
.carousel-control-next {
    width: 72px;
}

/*  Feature Icon */
.feature-icon {
    background:#edf2f7;
}

.home-static-visual {
    aspect-ratio: 5 / 3;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.solusi-visual {
    aspect-ratio: 14 / 9;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.feature-item {
    min-height: 72px;
}

.feature-item i {
    flex: 0 0 auto;
    line-height: 1;
}

.feature-item span {
    line-height: 1.55;
}

/*  Nav pills  */
.nav-pills .nav-link {
    color: #264794;
    font-weight: 600;
}

.nav-pills .nav-link:hover {
    color: #264794;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background: #264794;
    color: #fff;
}

.case-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    width: fit-content;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 2px;
    border: 1px solid #dfe5ee;
    border-radius: 999px;
    background: #fff;
}

.case-tabs .nav-item {
    flex: 0 0 auto;
}

.case-tabs .nav-link {
    border-radius: 0;
    padding: 10px 28px;
    white-space: nowrap;
}

.case-tabs .nav-item:first-child .nav-link {
    border-top-left-radius: 999px;
    border-bottom-left-radius: 999px;
}

.case-tabs .nav-item:last-child .nav-link {
    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
}

/*  Pricing  */
.pricing-card {
    position: relative;
    height: 100%;
    padding: 28px;
    background: #fff;
    border: 1px solid #dfe5ee;
    border-radius: 8px;
    box-shadow: 0 .5rem 1.5rem rgba(33, 37, 41, .06);
}

.pricing-period {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    width: fit-content;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 1px;
    border: 1px solid #dfe5ee;
    border-radius: 999px;
    background: #fff;
}

.pricing-period .nav-link {
    border: 0;
    border-radius: 0;
    color: #264794;
    font-weight: 700;
    padding: 10px 28px;
    white-space: nowrap;
}

.pricing-period .nav-link.active {
    background: #264794;
    color: #fff;
}

.pricing-period .nav-link:first-child {
    border-top-left-radius: 999px;
    border-bottom-left-radius: 999px;
}

.pricing-period .nav-link:last-child {
    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
}

.pricing-card.featured {
    border-color: #dfe5ee;
    box-shadow: 0 .5rem 1.5rem rgba(33, 37, 41, .06);
}

.pricing-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #dc3545;
    color: #fff;
    font-size: .95rem;
}

.pricing-card h2 {
    margin-bottom: 12px;
    font-size: 1.6rem;
}

.pricing-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 8px;
    margin-bottom: 14px;
    color: #264794;
    font-size: 2rem;
    font-weight: 700;
}

.pricing-original {
    flex-basis: 100%;
    color: #9aa3ad;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    min-height: 1.4em;
}

.pricing-original.is-placeholder {
    visibility: hidden;
}

.pricing-current {
    color: #264794;
}

.pricing-period-label {
    color: #6c757d;
    font-size: .95rem;
    font-weight: 500;
}

.pricing-features {
    border-top: 1px solid #edf1f5;
}

.pricing-features li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid #edf1f5;
}

.pricing-features span {
    color: #6c757d;
}

.pricing-tooltip {
    margin-left: 6px;
    color: #264794;
    cursor: help;
    font-size: .95rem;
}

.pricing-features strong {
    text-align: right;
}

.pricing-check {
    color: #198754;
    font-size: 1.15rem;
}

.pricing-uncheck {
    color: #dd0000;
    font-size: 1.15rem;
}

/*  WhatsApp FAB  */
.whatsapp-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1050;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 .75rem 1.75rem rgba(37, 211, 102, .28);
    transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-fab:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 1rem 2rem rgba(37, 211, 102, .34);
}

/*  FAQ / Accordion  */
#faq .accordion-item {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #e5e5e5;
}

#faq .accordion-button {
    background: transparent;
    padding: 30px 0;
    font-size: 1.5rem;
    font-weight: 600;
    box-shadow: none;
}

#faq .accordion-button:not(.collapsed) {
    background: transparent;
    color: inherit;
}

#faq .accordion-button:focus {
    box-shadow: none;
}

#faq .accordion-body {
    background: transparent;
    padding: 0 0 30px;
    color: #666;
    line-height: 1.8;
}

.kb-image{
    transition:.2s;
}

.kb-image:hover{
    transform:scale(1.02);
}

#imageModal .modal-content{
    background:transparent;
}

#modalImage{
    max-height:90vh;
    object-fit:contain;
    margin:auto;
}

.checklist .list-group-item{
    background: transparent !important;
    border: 0;
    padding-left: 0;
    padding-right: 0;
    cursor: pointer;
    user-select: none;
}

.checklist .form-check-input{
    transform: scale(1.2); /* 1.2 - 2 sesuai selera */
    margin-top: .35rem;
    margin-right: 1rem !important;
}

.checklist .form-check-input{
    margin-top: .3rem;
}

.checklist input:checked + span{
    text-decoration: line-through;
    color: #6c757d;
}

@media (max-width: 1199.98px) {
    .wrapper {
        max-width: 960px;
    }

    .hero-content {
        gap: 24px;
        padding-right: 44px;
        padding-left: 44px;
    }

    .hero-copy {
        padding-top:30px;
        flex-basis: 44%;
    }

    .hero-image {
        width: min(50vw, 520px);
    }

    .hero-image-1 {
        width: min(32vw, 330px);
    }

    .hero-image-2 {
        width: min(48vw, 500px);
    }

    .hero-image-3 {
        width: min(48vw, 500px);
    }

    .hero-product,
    .hero-hardware {
        width: min(44vw, 460px);
        max-width: 100%;
        transform: translateY(140px);
    }

    .hero-kontak {
        width: min(34vw, 360px);
        max-width: 100%;
        max-height: 58vh;
        transform: translateY(42px);
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 44px;
    }

    .carousel-control-prev {
        justify-content: flex-start;
        padding-left: 10px;
    }

    .carousel-control-next {
        justify-content: flex-end;
        padding-right: 10px;
    }

    .hero-half{
        height:42vh;
        min-height:380px;
    }

    .hero-half .hero-kontak{
        width:min(30vw,320px);
        transform:translateY(24px);
    }
}

@media (max-width: 991.98px) {
    .wrapper {
        max-width: 720px;
        padding-right: 24px;
        padding-left: 24px;
    }

    .navbar {
        padding: 12px 0;
    }

    .navbar.scrolled {
        padding: 8px 0;
    }

    .navbar .wrapper {
        gap: 12px;
    }

    .logo {
        width: 150px;
    }

    .logo.scrolled {
        width: 132px;
    }

    .merchant-login {
        padding-right: 14px !important;
        padding-left: 14px !important;
        font-size: .9rem;
        white-space: nowrap;
    }

    .hero {
        height: 760px;
    }

    .hero-content {
        min-height: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center !important;
        gap: 28px;
        padding-right: 24px;
        padding-left: 24px;
        padding-top: 138px;
        padding-bottom: 86px;
        text-align: center;
    }

    .hero-copy {
        flex: 0 0 auto;
        width: 100%;
    }

    .hero-copy h1 {
        font-size: clamp(2.4rem, 8vw, 4rem);
        line-height: 1.05;
    }

    .hero-copy .lead {
        max-width: 680px;
        font-size: 1.08rem;
        margin-right: auto;
        margin-left: auto;
    }

    .hero-image {
        flex: 0 0 auto;
        width: min(100%, 620px);
        align-self: center;
    }

    .hero-image-1 {
        width: min(42vw, 260px);
    }

    .hero-image-2 {
        width: min(100%, 560px);
    }

    .hero-image-3 {
        width: min(100%, 540px);
    }

    .hero-product,
    .hero-hardware {
        flex: 0 0 auto;
        width: min(52vw, 360px);
        max-width: 80%;
        align-self: center;
        transform: translateY(44px);
    }

    .hero-kontak {
        flex: 0 0 auto;
        width: min(42vw, 300px);
        max-width: 74%;
        max-height: 34vh;
        align-self: center;
        transform: translateY(12px);
    }

    .custom-indicators {
        bottom: 24px;
    }

    main h1 {
        font-size: 2rem;
    }

    .hero-half{
        height:380px;
    }

    .hero-half .hero-content{
        min-height:100%;
        flex-direction:row;
        justify-content:space-between;
        align-items:center!important;
        text-align:left;
        padding:90px 24px 24px;
    }

    .hero-half .hero-kontak{
        width:min(34vw,250px);
        max-height:260px;
        transform:translateY(10px);
    }

    .home-static-list {
        max-width: 720px;
        margin-right: auto;
        margin-left: auto;
    }

    .home-static-item {
        display: flex;
        align-items: center;
        gap: 22px;
        min-height: 180px;
    }

    .home-static-visual {
        align-self: stretch;
        flex: 0 0 42%;
        width: auto;
        min-height: 180px;
        order: 1;
    }

    .home-static-item .lead {
        flex: 1 1 auto;
        margin-top: 0 !important;
        line-height: 1.6;
        order: 2;
    }

    .solusi-bisnis .tab-content {
        max-width: 720px;
        margin-right: auto;
        margin-left: auto;
    }

    .solusi-panel {
        display: flex;
        flex-wrap: nowrap;
        align-items: center !important;
        gap: 24px;
    }

    .solusi-image-col {
        flex: 0 0 280px;
        width: 280px;
        max-width: 280px;
    }

    .solusi-visual {
        min-height: 220px;
    }

    .solusi-copy {
        flex: 1 1 auto;
        width: auto;
        max-width: none;
    }

    .solusi-copy h2 {
        font-size: 1.5rem;
    }

    .solusi-copy p,
    .solusi-copy li {
        font-size: .98rem;
        line-height: 1.55;
    }

    .solusi-copy li.mb-3 {
        margin-bottom: .65rem !important;
    }

    .feature-icon-row {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .nav-pills:not(.case-tabs) {
        gap: 8px;
    }

    .nav-pills:not(.case-tabs) .nav-link {
        padding: 8px 14px;
    }

    #faq .accordion-button {
        padding: 24px 0;
        font-size: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .wrapper {
        max-width: 100%;
        padding-right: 18px;
        padding-left: 18px;
    }

    .hero {
        height: 700px;
    }

    .hero-content {
        min-height: 100%;
        padding-top: 96px;
        padding-bottom: 82px;
    }

    .hero-image {
        width: min(100%, 520px);
    }

    .hero-image-1 {
        width: min(44vw, 220px);
    }

    .hero-image-2 {
        width: min(100%, 480px);
    }

    .hero-image-3 {
        width: min(100%, 460px);
    }

    .hero-product,
    .hero-hardware {
        width: min(58vw, 300px);
        max-width: 78%;
        transform: translateY(28px);
    }

    .hero-kontak {
        width: min(48vw, 250px);
        max-width: 72%;
        max-height: 32vh;
        transform: translateY(8px);
    }

    .home-static-list {
        max-width: 100%;
    }

    .home-static-visual {
        flex-basis: 40%;
        min-height: 160px;
    }

    .hero-half{
        height:300px;
    }

    .hero-half .hero-content{
        padding-top:80px;
        padding-bottom:20px;
    }

    .hero-half .hero-kontak{
        width:min(38vw,190px);
        max-height:180px;
        transform:none;
    }

    .feature-item {
        align-items: flex-start !important;
        min-height: auto;
    }

    .feature-item span {
        font-size: .98rem;
    }

    .tab-content .row {
        gap: 8px 0;
    }

    .solusi-bisnis .tab-content {
        max-width: 100%;
    }

    .solusi-panel {
        gap: 18px;
    }

    .solusi-image-col {
        flex-basis: 230px;
        width: 230px;
        max-width: 230px;
    }

    .solusi-visual {
        min-height: 190px;
    }

    footer .col-6 {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .wrapper {
        padding-right: 16px;
        padding-left: 16px;
    }

    .navbar {
        padding: 10px 0;
    }

    .navbar .wrapper {
        gap: 10px;
    }

    .navbar button[data-bs-toggle="offcanvas"] {
        margin-right: 4px !important;
    }

    .navbar button[data-bs-toggle="offcanvas"] i {
        font-size: 1.65rem !important;
    }

    .logo,
    .logo.scrolled {
        width: 116px;
    }

    .merchant-login {
        padding: 7px 10px !important;
        font-size: .78rem;
        line-height: 1.2;
    }

    .hero {
        height: 640px;
    }

    .hero-content {
        min-height: 100%;
        gap: 22px;
        padding-top: 88px;
        padding-bottom: 74px;
    }

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

    .hero-copy .lead {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-half{
        height:320px;
        min-height:320px;
    }

    .justify-left {
        text-align: start;
    }

    .hero-half .hero-content{
        justify-content:center;
        text-align:center;
        padding:70px 16px 20px;
    }

    .hero-half .hero-copy h1{
        font-size:2.3rem;
    }

    .hero-half .hero-copy .lead{
        margin:0 auto;
        font-size:1rem;
    }

    .legal-page .hero-half .hero-copy h1{
        font-size:1.65rem;
        line-height:1.2;
    }

    .legal-page .hero-half .hero-copy .lead{
        display:none;
    }

    .hero-half .hero-kontak{
        display:none;
    }

    .app-store-badge {
        width: 155px;
    }

    .hero-image {
        width: min(100%, 390px);
    }

    .hero-image-1 {
        width: min(56vw, 190px);
    }

    .hero-image-2 {
        width: min(100%, 340px);
    }

    .hero-image-3 {
        width: min(100%, 330px);
    }

    .hero-product,
    .hero-hardware {
        width: min(74vw, 250px);
        max-width: 82%;
        transform: translateY(18px);
    }

    .hero-kontak {
        width: min(56vw, 210px);
        max-width: 70%;
        max-height: 30vh;
        transform: translateY(6px);
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .custom-indicators {
        bottom: 18px;
        gap: 8px;
    }

    .custom-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
    }

    .custom-indicators .active {
        width: 28px;
    }

    main h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    main .lead {
        font-size: 1rem;
        line-height: 1.6;
    }

    .home-static-item {
        display: block;
        min-height: 0;
    }

    .home-static-visual {
        min-height: 190px;
        margin-top: .75rem;
    }

    .home-static-item .lead {
        margin-top: 0 !important;
    }

    .solusi-panel {
        display: block;
    }

    .solusi-image-col,
    .solusi-copy {
        width: 100%;
        max-width: 100%;
    }

    .solusi-copy {
        margin-top: 1.25rem;
    }

    .solusi-visual {
        min-height: 220px;
    }

    .feature-icon {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .feature-icon-row {
        margin-top: 1.25rem !important;
        margin-bottom: 1.25rem !important;
        padding-bottom: 1rem !important;
    }

    .feature-item i {
        font-size: 1.35rem !important;
        margin-right: .75rem !important;
    }

    .nav-pills:not(.case-tabs) {
        justify-content: flex-start !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .nav-pills:not(.case-tabs) .nav-item {
        flex: 0 0 auto;
    }

    .nav-pills:not(.case-tabs) .nav-link {
        white-space: nowrap;
    }

    .case-tabs {
        justify-content: center !important;
        overflow-x: auto;
    }

    .case-tabs .nav-link {
        padding: 8px 18px;
        font-size: .92rem;
    }

    .pricing-period .nav-link {
        padding: 8px 18px;
        font-size: .92rem;
    }

    #faq .accordion-button {
        padding: 20px 0;
        font-size: 1.05rem;
        line-height: 1.35;
    }

    #faq .accordion-body {
        padding-bottom: 22px;
        line-height: 1.65;
    }

    .whatsapp-fab {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
    }
}
