*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:Arial,Helvetica,sans-serif;
    background:#f8fafc;
    color:#172033;
}

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

header{
    width:min(1180px,calc(100% - 40px));
    margin:auto;
    min-height:82px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}

.brand{
    display:flex;
    align-items:center;
    gap:12px;
    font-size:22px;
    font-weight:800;
    color:#06335f;
}

.brand img{
    width:48px;
    height:48px;
    object-fit:contain;
}

nav{
    display:flex;
    align-items:center;
    gap:26px;
    font-weight:700;
}

.btn-login{
    padding:11px 20px;
    border-radius:12px;
    background:#06335f;
    color:#fff;
}

.hero{
    width:min(1180px,calc(100% - 40px));
    margin:40px auto 70px;
    min-height:520px;
    display:grid;
    grid-template-columns:1.15fr .85fr;
    align-items:center;
    gap:60px;
    padding:70px;
    border-radius:32px;
    background:linear-gradient(135deg,#fff 0%,#f0fbfa 100%);
    box-shadow:0 25px 70px rgba(15,23,42,.08);
}

.hero-content{
    max-width:680px;
}

.badge{
    display:inline-block;
    margin-bottom:22px;
    padding:9px 15px;
    border-radius:999px;
    background:#e8f7f6;
    color:#052a4f;
    font-size:14px;
    font-weight:800;
}

.hero h1{
    margin:0 0 22px;
    font-size:56px;
    line-height:1.08;
    letter-spacing:-2px;
}

.hero p{
    margin:0;
    max-width:620px;
    font-size:19px;
    line-height:1.75;
    color:#64748b;
}

.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-top:32px;
}

.btn-primary,
.btn-secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:52px;
    padding:0 24px;
    border-radius:14px;
    font-weight:800;
}

.btn-primary{
    background:#06335f;
    color:#fff;
    box-shadow:0 12px 28px rgba(0,168,157,.22);
}

.btn-secondary{
    background:#fff;
    border:1px solid #e2e8f0;
    color:#172033;
}

.hero-logo{
    display:flex;
    align-items:center;
    justify-content:center;
}

.hero-logo img{
    width:min(100%,380px);
    filter:drop-shadow(0 24px 30px rgba(15,23,42,.12));
}

.section{
    width:min(1180px,calc(100% - 40px));
    margin:0 auto;
    padding:70px 0;
}

.section-heading{
    max-width:720px;
    margin:0 auto 42px;
    text-align:center;
}

.section-heading span{
    display:inline-block;
    margin-bottom:12px;
    color:#06335f;
    font-size:13px;
    font-weight:800;
    letter-spacing:1.5px;
}

.section-heading h2{
    margin:0 0 16px;
    font-size:40px;
    line-height:1.2;
    letter-spacing:-1px;
}

.section-heading p{
    margin:0;
    color:#64748b;
    font-size:17px;
    line-height:1.7;
}

.feature-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
}

.feature-card{
    padding:30px;
    border:1px solid #e2e8f0;
    border-radius:22px;
    background:#fff;
    box-shadow:0 12px 35px rgba(15,23,42,.05);
}

.feature-icon{
    width:48px;
    height:48px;
    margin-bottom:22px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:#e8f7f6;
    color:#06335f;
    font-weight:900;
}

.feature-card h3{
    margin:0 0 12px;
    font-size:20px;
}

.feature-card p{
    margin:0;
    color:#64748b;
    line-height:1.7;
}

.business-section{
    padding-top:90px;
}

.business-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.business-card{
    padding:28px;
    border-radius:20px;
    background:#172033;
    color:#fff;
}

.business-card strong{
    display:block;
    margin-bottom:12px;
    font-size:20px;
}

.business-card p{
    margin:0;
    color:#cbd5e1;
    line-height:1.7;
}

.cta-section{
    width:min(1180px,calc(100% - 40px));
    margin:80px auto;
    padding:55px 60px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;
    border-radius:28px;
    background:linear-gradient(135deg,#06335f,#00a89d);
    color:#fff;
}

.cta-section > div:first-child{
    max-width:720px;
}

.cta-section > div:first-child > span{
    display:block;
    margin-bottom:12px;
    font-size:13px;
    font-weight:900;
    letter-spacing:1.5px;
}

.cta-section h2{
    margin:0 0 14px;
    font-size:38px;
    line-height:1.2;
}

.cta-section p{
    margin:0;
    color:#e8f7f6;
    font-size:17px;
    line-height:1.7;
}

.cta-actions{
    min-width:230px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:12px;
}

.cta-primary{
    width:100%;
    padding:15px 22px;
    border-radius:14px;
    background:#fff;
    color:#052a4f;
    text-align:center;
    font-weight:900;
}

.cta-actions span{
    color:#b7ebe7;
    font-size:13px;
    text-align:center;
}

footer{
    padding:30px 20px;
    border-top:1px solid #e2e8f0;
    background:#fff;
    color:#64748b;
    text-align:center;
}

footer p{
    margin:0;
}

@media (max-width:900px){
    header{
        min-height:auto;
        padding:18px 0;
        flex-wrap:wrap;
    }

    nav{
        width:100%;
        justify-content:center;
        flex-wrap:wrap;
        gap:16px;
    }

    .hero{
        grid-template-columns:1fr;
        gap:35px;
        padding:50px 40px;
        text-align:center;
    }

    .hero-content{
        margin:auto;
    }

    .hero h1{
        font-size:44px;
    }

    .hero-actions{
        justify-content:center;
    }

    .hero-logo img{
        width:min(100%,280px);
    }

    .feature-grid,
    .business-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .cta-section{
        flex-direction:column;
        text-align:center;
    }
}

@media (max-width:600px){
    header{
        width:calc(100% - 28px);
    }

    .brand{
        margin:auto;
    }

    nav a:not(.btn-login){
        font-size:14px;
    }

    .hero{
        width:calc(100% - 24px);
        margin-top:18px;
        padding:38px 22px;
        border-radius:24px;
    }

    .hero h1{
        font-size:36px;
        letter-spacing:-1px;
    }

    .hero p{
        font-size:16px;
    }

    .hero-actions{
        flex-direction:column;
    }

    .btn-primary,
    .btn-secondary{
        width:100%;
    }

    .section{
        width:calc(100% - 28px);
        padding:55px 0;
    }

    .section-heading h2{
        font-size:31px;
    }

    .feature-grid,
    .business-grid{
        grid-template-columns:1fr;
    }

    .cta-section{
        width:calc(100% - 24px);
        margin:55px auto;
        padding:40px 24px;
    }

    .cta-section h2{
        font-size:30px;
    }

    .cta-actions{
        width:100%;
        min-width:0;
    }
}

.faq-section{
    padding-top:80px;
}

.faq-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.faq-card{
    padding:28px;
    border:1px solid #e2e8f0;
    border-radius:22px;
    background:#fff;
    box-shadow:0 12px 35px rgba(15,23,42,.05);
}

.faq-card h3{
    margin:0 0 12px;
    font-size:20px;
}

.faq-card p{
    margin:0;
    color:#64748b;
    line-height:1.7;
}

@media (max-width:600px){
    .faq-grid{
        grid-template-columns:1fr;
    }
}


/* Header selalu tampil saat halaman discroll */
header{
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #f8fbff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 44px;
    padding-right: 44px;
}

/* Header mobile lebih lega tapi tidak kepotong */
@media (max-width: 768px){
    header{
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

/* =========================================================
   LANDING PAGE PLATFORM KASIRNUSANTARA
   ========================================================= */

.solution-section{
    padding-top:80px;
}

.solution-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:28px;
}

.solution-card{
    display:flex;
    flex-direction:column;
    padding:38px;
    border:1px solid #dbe5ef;
    border-radius:28px;
    background:linear-gradient(145deg,#ffffff 0%,#f7fbff 100%);
    box-shadow:0 18px 45px rgba(15,23,42,.07);
}

.solution-card-retail{
    background:linear-gradient(145deg,#ffffff 0%,#f0fbfa 100%);
}

.solution-label{
    width:max-content;
    max-width:100%;
    margin-bottom:20px;
    padding:8px 13px;
    border-radius:999px;
    background:#e8f1fa;
    color:#06335f;
    font-size:12px;
    font-weight:900;
    letter-spacing:1.2px;
}

.solution-card-retail .solution-label{
    background:#dff5f2;
    color:#07655f;
}

.solution-card h3{
    margin:0 0 14px;
    color:#172033;
    font-size:29px;
    line-height:1.2;
}

.solution-card > p{
    margin:0;
    color:#64748b;
    font-size:17px;
    line-height:1.7;
}

.solution-card ul{
    margin:25px 0 30px;
    padding:0;
    list-style:none;
}

.solution-card li{
    position:relative;
    margin:12px 0;
    padding-left:28px;
    color:#334155;
    line-height:1.55;
}

.solution-card li::before{
    content:"✓";
    position:absolute;
    left:0;
    top:0;
    color:#00a89d;
    font-weight:900;
}

.solution-button{
    margin-top:auto;
    min-height:52px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 24px;
    border-radius:14px;
    background:#06335f;
    color:#fff;
    font-weight:900;
    text-align:center;
}

.solution-card-retail .solution-button{
    background:#07877f;
}

.cta-secondary{
    width:100%;
    padding:14px 22px;
    border:1px solid rgba(255,255,255,.7);
    border-radius:14px;
    color:#fff;
    text-align:center;
    font-weight:900;
}

.btn-login,
.btn-primary,
.btn-secondary,
.solution-button,
.cta-primary,
.cta-secondary{
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background-color .18s ease;
}

.btn-login:hover,
.btn-primary:hover,
.btn-secondary:hover,
.solution-button:hover,
.cta-primary:hover,
.cta-secondary:hover{
    transform:translateY(-2px);
}

.btn-login:hover,
.btn-primary:hover,
.solution-button:hover{
    box-shadow:0 14px 30px rgba(6,51,95,.2);
}

nav a:not(.btn-login){
    transition:color .18s ease;
}

nav a:not(.btn-login):hover{
    color:#00a89d;
}

@media (max-width:900px){
    .solution-grid{
        grid-template-columns:1fr;
    }
}

@media (max-width:600px){
    .solution-card{
        padding:28px 22px;
        border-radius:22px;
    }

    .solution-card h3{
        font-size:25px;
    }

    .solution-button{
        width:100%;
    }

    nav{
        overflow-x:auto;
        justify-content:flex-start;
        flex-wrap:nowrap;
        padding-bottom:3px;
        scrollbar-width:none;
    }

    nav::-webkit-scrollbar{
        display:none;
    }

    nav a{
        flex:0 0 auto;
    }
}

/* =========================================================
   PENYEMPURNAAN HEADER DAN HERO
   ========================================================= */

header{
    min-height:76px;
}

.brand img{
    width:54px;
    height:54px;
}

.brand span{
    font-size:24px;
    letter-spacing:-.4px;
}

.hero{
    min-height:470px;
    margin-top:38px;
    margin-bottom:55px;
    padding:58px 70px;
    grid-template-columns:1.08fr .92fr;
    gap:48px;
}

.hero h1{
    max-width:650px;
    font-size:54px;
    line-height:1.1;
}

.hero p{
    max-width:620px;
    font-size:18px;
    line-height:1.85;
}

.badge{
    font-size:13px;
    font-weight:800;
    letter-spacing:.1px;
}

.hero-logo img{
    width:min(100%,330px);
    border-radius:28px;
    mix-blend-mode:multiply;
    filter:drop-shadow(0 22px 28px rgba(15,23,42,.10));
}

@media (max-width:900px){
    .hero{
        min-height:auto;
        padding:48px 38px;
    }

    .hero h1{
        font-size:43px;
    }

    .hero-logo img{
        width:min(100%,260px);
    }
}

@media (max-width:600px){
    .brand img{
        width:46px;
        height:46px;
    }

    .brand span{
        font-size:21px;
    }

    .hero{
        margin-bottom:35px;
        padding:36px 22px;
    }

    .hero h1{
        font-size:34px;
    }

    .hero-logo img{
        width:min(100%,220px);
    }
}
