/* ============================================================
   AIHRIS HOME CSS
   ------------------------------------------------------------
   PENTING:
   Semua selector Home menggunakan prefix .aihris-
   sehingga tidak mengganggu navbar / footer lama.
============================================================ */


/* ============================================================
   HOME WRAPPER
============================================================ */

.aihris-home {
    width: 100%;
    box-sizing: border-box;
    background: #f5f7fa;
    padding: 28px 0 50px;
}

.aihris-home *,
.aihris-home *::before,
.aihris-home *::after {
    box-sizing: border-box;
}


/* ============================================================
   CONTAINER
============================================================ */

.aihris-home-container {
    width: min(1400px, calc(100% - 40px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 22px;

    align-items: start;
}


/* ============================================================
   MAIN
============================================================ */

.aihris-main {
    width: 100%;
    min-width: 0;
}


/* ============================================================
   HERO
============================================================ */

.aihris-hero {
    width: 100%;
    min-height: 540px;

    display: grid;
    grid-template-columns: 44% 56%;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e3e9f0;
    border-radius: 18px;

    box-shadow: 0 8px 30px rgba(15, 38, 70, .06);
}


/* ============================================================
   HERO CONTENT
============================================================ */

.aihris-hero-content {
    padding: 45px 20px 45px 45px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;
}


.aihris-eyebrow {
    display: inline-block;

    margin-bottom: 12px;

    color: #f97316;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.2px;
}


.aihris-hero h1 {
    margin: 0 0 18px;

    color: #102a50;

    font-size: clamp(34px, 3vw, 50px);

    line-height: 1.07;

    font-weight: 800;
}


.aihris-hero h1 span {
    display: block;
}


.aihris-hero h1 strong {
    color: #f97316;
}


.aihris-lead {
    margin: 0 0 12px;

    color: #5b6879;

    font-size: 14px;

    line-height: 1.75;
}


.aihris-lead strong {
    color: #102a50;
}


/* ============================================================
   HERO POINTS
============================================================ */

.aihris-hero-points {
    margin: 8px 0 20px;
}


.aihris-hero-points > div {
    display: flex;
    align-items: center;

    gap: 9px;

    margin: 8px 0;

    color: #334155;

    font-size: 13px;
}


.check-icon {
    width: 18px;
    height: 18px;

    flex: 0 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #dcfce7;
    color: #16a34a;

    font-size: 11px;
    font-weight: 800;
}


/* ============================================================
   BUTTONS
============================================================ */

.aihris-hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;
}


.aihris-btn-primary,
.aihris-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 10px 17px;

    border-radius: 8px;

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;

    transition: .2s ease;
}


.aihris-btn-primary {
    background: #0d2b55;
    color: #ffffff;
}


.aihris-btn-primary:hover {
    background: #f97316;
    color: #ffffff;

    transform: translateY(-2px);
}


.aihris-btn-primary span {
    margin-left: 7px;
}


.aihris-btn-secondary {
    background: #eef4fb;
    color: #102a50;
}


.aihris-btn-secondary:hover {
    background: #dfeafa;
}


/* ============================================================
   HERO VISUAL
============================================================ */

.aihris-hero-visual {
    position: relative;

    min-width: 0;
    min-height: 480px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 12px;

    background:
        radial-gradient(
            circle at center,
            #ffffff 0%,
            #f4f8fc 60%,
            #eaf0f7 100%
        );
}


/*
   SANGAT PENTING:

   Tidak menggunakan selector global img.
   Hanya .aihris-platform-image yang boleh
   diatur di sini.
*/

.aihris-platform-image {
    display: block;

    width: 100%;
    max-width: 650px;

    height: auto;
    max-height: 520px;

    object-fit: contain;
}


.aihris-ai-badge {
    position: absolute;

    top: 15px;
    right: 15px;

    z-index: 5;

    padding: 7px 11px;

    border-radius: 30px;

    background: #0d2b55;

    color: #ffffff;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .4px;

    box-shadow: 0 5px 15px rgba(0, 0, 0, .12);
}


.aihris-ai-badge span {
    color: #f97316;

    margin-right: 4px;
}


/* ============================================================
   SECTION INTRODUCTION
============================================================ */

.aihris-introduction {
    padding: 42px 4px 20px;
}


.aihris-section-label {
    color: #f97316;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.1px;
}


.aihris-introduction h2,
.aihris-benefit-section h2 {
    margin: 7px 0 9px;

    color: #102a50;

    font-size: 28px;

    line-height: 1.25;
}


.aihris-introduction p {
    max-width: 850px;

    margin: 0;

    color: #64748b;

    font-size: 13px;

    line-height: 1.75;
}


/* ============================================================
   TREND GRID
============================================================ */

.aihris-trend-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 13px;
}


.aihris-trend-card {
    position: relative;

    min-height: 225px;

    padding: 22px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e5eaf1;
    border-radius: 14px;

    transition: .2s ease;
}


.aihris-trend-card:hover {
    transform: translateY(-4px);

    box-shadow: 0 12px 30px rgba(15, 38, 70, .08);

    border-color: #d8e2ee;
}


.trend-number {
    position: absolute;

    top: 14px;
    right: 15px;

    color: #cbd5e1;

    font-size: 11px;
    font-weight: 800;
}


.trend-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 16px;

    border-radius: 12px;

    background: #edf5ff;

    color: #0866d6;

    font-size: 18px;
    font-weight: 800;
}


.aihris-trend-card h3 {
    margin: 0 0 9px;

    color: #102a50;

    font-size: 16px;
}


.aihris-trend-card p {
    margin: 0;

    color: #64748b;

    font-size: 12px;

    line-height: 1.7;
}


/* ============================================================
   AI SECTION
============================================================ */

.aihris-ai-section {
    display: grid;

    grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);

    gap: 28px;

    margin-top: 28px;

    padding: 32px;

    overflow: hidden;

    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            #0b2850,
            #123d72,
            #155d98
        );

    color: #ffffff;
}


.aihris-ai-content {
    min-width: 0;
}


.aihris-ai-label {
    color: #ffae72;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;
}


.aihris-ai-section h2 {
    margin: 11px 0;

    color: #ffffff;

    font-size: 27px;

    line-height: 1.3;
}


.aihris-ai-section h2 span {
    color: #ff9b54;
}


.aihris-ai-section p {
    color: #d5e1ef;

    font-size: 13px;

    line-height: 1.7;
}


/* ============================================================
   COMMAND
============================================================ */

.aihris-command {
    display: flex;

    gap: 13px;

    margin-top: 20px;

    padding: 15px;

    border: 1px solid rgba(255, 255, 255, .13);

    border-radius: 12px;

    background: rgba(255, 255, 255, .07);
}


.command-avatar {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ffffff;

    color: #0d2b55;

    font-size: 11px;
    font-weight: 900;
}


.command-content {
    min-width: 0;
}


.command-content small {
    color: #ffad70;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;
}


.command-question {
    margin: 5px 0;

    color: #ffffff;

    font-size: 12px;

    line-height: 1.5;
}


.command-answer {
    color: #bce8cb;

    font-size: 10px;
}


.command-answer span {
    margin-right: 4px;
}


/* ============================================================
   AI FEATURES
============================================================ */

.aihris-ai-features {
    display: flex;

    flex-direction: column;
    justify-content: center;

    gap: 10px;
}


.ai-feature {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 12px;

    border-radius: 10px;

    background: rgba(255, 255, 255, .07);
}


.ai-feature-icon {
    width: 36px;
    height: 36px;

    flex: 0 0 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: rgba(255, 255, 255, .1);

    color: #ffad70;

    font-size: 14px;
    font-weight: 800;
}


.ai-feature > div:last-child {
    display: flex;
    flex-direction: column;
}


.ai-feature strong {
    color: #ffffff;

    font-size: 12px;
}


.ai-feature small {
    margin-top: 3px;

    color: #c5d5e6;

    font-size: 10px;

    line-height: 1.4;
}


/* ============================================================
   STATISTICS
============================================================ */

.aihris-stat-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 14px;

    margin-top: 24px;
}


.aihris-stat-card {
    min-height: 130px;

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 20px;

    background: #ffffff;

    border: 1px solid #e5eaf1;
    border-radius: 14px;
}


.stat-symbol {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    font-size: 18px;
    font-weight: 800;
}


.stat-symbol.visitor {
    background: #edf5ff;
    color: #0866d6;
}


.stat-symbol.youtube {
    background: #fff0f0;
    color: #ef2020;
}


.stat-symbol.solution {
    background: #edf9f0;
    color: #159447;
}


.stat-data {
    min-width: 0;

    display: flex;
    flex-direction: column;
}


.stat-data > span {
    color: #64748b;

    font-size: 11px;
    font-weight: 600;
}


.stat-data > strong {
    margin: 2px 0;

    color: #102a50;

    font-size: 26px;
    line-height: 1.2;
}


.stat-data small {
    color: #94a3b8;

    font-size: 10px;
}


.stat-link {
    margin-top: 5px;

    color: #ef2020;

    font-size: 10px;
    font-weight: 700;

    text-decoration: none;
}


/* ============================================================
   BENEFIT
============================================================ */

.aihris-benefit-section {
    padding: 42px 4px 20px;
}


.benefit-intro {
    max-width: 800px;

    margin: 0 0 20px;

    color: #64748b;

    font-size: 13px;

    line-height: 1.7;
}


.aihris-benefit-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 13px;
}


.aihris-benefit {
    display: flex;

    gap: 13px;

    padding: 19px;

    background: #ffffff;

    border: 1px solid #e5eaf1;
    border-radius: 13px;
}


.benefit-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #edf5ff;

    color: #0866d6;

    font-size: 16px;
    font-weight: 800;
}


.aihris-benefit h3 {
    margin: 1px 0 5px;

    color: #102a50;

    font-size: 14px;
}


.aihris-benefit p {
    margin: 0;

    color: #64748b;

    font-size: 11px;

    line-height: 1.6;
}


/* ============================================================
   CLOSING CTA
============================================================ */

.aihris-closing {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 25px;

    margin-top: 25px;

    padding: 28px 30px;

    border-radius: 15px;

    background: #102f58;

    color: #ffffff;
}


.aihris-closing span {
    color: #ffad70;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;
}


.aihris-closing h2 {
    margin: 7px 0;

    color: #ffffff;

    font-size: 23px;
}


.aihris-closing p {
    margin: 0;

    color: #cbd9e8;

    font-size: 12px;
}


.closing-button {
    flex: 0 0 auto;

    padding: 11px 17px;

    border-radius: 8px;

    background: #f97316;

    color: #ffffff;

    text-decoration: none;

    font-size: 11px;
    font-weight: 800;
}


/* ============================================================
   SIDEBAR
============================================================ */

.aihris-sidebar {
    width: 100%;

    position: sticky;
    top: 20px;

    display: flex;
    flex-direction: column;

    gap: 16px;

    min-width: 0;
}


.aihris-sidebar-card {
    width: 100%;

    padding: 21px;

    background: #ffffff;

    border: 1px solid #e5eaf1;
    border-radius: 15px;

    box-shadow: 0 5px 20px rgba(15, 38, 70, .04);
}


.sidebar-heading {
    margin-bottom: 17px;

    padding-left: 10px;

    border-left: 3px solid #f97316;

    color: #102a50;

    font-size: 13px;
    font-weight: 800;
}


/* ============================================================
   PROFILE
============================================================ */

.profile-sidebar {
    text-align: center;
}


.profile-sidebar .sidebar-heading {
    text-align: left;
}


.profile-image {
    width: 115px;
    height: 115px;

    margin: 0 auto 12px;

    overflow: hidden;

    border-radius: 50%;

    border: 5px solid #edf3f9;
}


.profile-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.profile-sidebar h3 {
    margin: 5px 0 2px;

    color: #102a50;

    font-size: 20px;
}


.profile-position {
    color: #f97316;

    font-size: 11px;
    font-weight: 700;
}


.profile-sidebar p {
    margin: 13px 0;

    color: #64748b;

    font-size: 11px;

    line-height: 1.7;

    text-align: left;
}


.profile-button {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px;

    border-radius: 8px;

    background: #0d2b55;

    color: #ffffff;

    text-decoration: none;

    font-size: 11px;
    font-weight: 700;
}


.profile-button:hover {
    background: #f97316;

    color: #ffffff;
}


/* ============================================================
   SIDEBAR MENU
============================================================ */

.sidebar-menu {
    display: flex;
    align-items: center;

    gap: 9px;

    padding: 11px 0;

    border-bottom: 1px solid #edf0f4;

    text-decoration: none;
}


.sidebar-menu:last-child {
    border-bottom: 0;
}


.menu-icon {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #edf5ff;

    color: #0866d6;

    font-size: 13px;
}


.menu-text {
    flex: 1;

    min-width: 0;

    display: flex;
    flex-direction: column;
}


.menu-text strong {
    color: #102a50;

    font-size: 11px;
}


.menu-text small {
    margin-top: 2px;

    overflow: hidden;

    color: #94a3b8;

    font-size: 9px;

    text-overflow: ellipsis;
    white-space: nowrap;
}


.menu-arrow {
    color: #94a3b8;

    font-size: 10px;
}


.sidebar-menu:hover .menu-text strong {
    color: #0866d6;
}


/* ============================================================
   ABOUT SIDEBAR
============================================================ */

.about-sidebar-text {
    margin: 0;

    color: #64748b;

    font-size: 11px;

    line-height: 1.7;
}


.about-list {
    list-style: none;

    margin: 14px 0 0;
    padding: 0;
}


.about-list li {
    display: flex;
    align-items: center;

    gap: 7px;

    margin: 8px 0;

    color: #475569;

    font-size: 10px;
}


.about-list li span {
    color: #16a34a;

    font-weight: 800;
}


/* ============================================================
   SIDEBAR CTA
============================================================ */

.aihris-sidebar-cta {
    padding: 22px;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            #f97316,
            #ea580c
        );

    color: #ffffff;
}


.aihris-sidebar-cta small {
    font-size: 9px;
    font-weight: 800;

    letter-spacing: .8px;

    opacity: .9;
}


.aihris-sidebar-cta h3 {
    margin: 7px 0 15px;

    color: #ffffff;

    font-size: 17px;

    line-height: 1.35;
}


.aihris-sidebar-cta a {
    display: inline-flex;

    padding: 9px 13px;

    border-radius: 7px;

    background: #ffffff;

    color: #102a50;

    text-decoration: none;

    font-size: 10px;
    font-weight: 800;
}


/* ============================================================
   RESPONSIVE - TABLET
============================================================ */

@media (max-width: 1200px) {

    .aihris-home-container {
        grid-template-columns: minmax(0, 1fr) 290px;
    }


    .aihris-hero {
        grid-template-columns: 46% 54%;
    }


    .aihris-hero-content {
        padding-left: 30px;
    }


    .aihris-trend-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* ============================================================
   RESPONSIVE - TABLET
============================================================ */

@media (max-width: 991px) {

    .aihris-home-container {
        width: min(760px, calc(100% - 30px));

        grid-template-columns: 1fr;
    }


    .aihris-sidebar {
        position: static;

        display: grid;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        align-items: start;
    }


    .profile-sidebar {
        grid-row: span 2;
    }


    .aihris-sidebar-cta {
        grid-column: 1 / -1;
    }

}


/* ============================================================
   RESPONSIVE - MOBILE
============================================================ */

@media (max-width: 768px) {

    .aihris-home {
        padding: 16px 0 35px;
    }


    .aihris-home-container {
        width: calc(100% - 20px);
    }


    .aihris-hero {
        grid-template-columns: 1fr;
    }


    .aihris-hero-content {
        padding: 30px 24px 10px;
    }


    .aihris-hero h1 {
        font-size: 32px;
    }


    .aihris-hero-visual {
        min-height: 330px;

        padding: 10px 18px 25px;
    }


    .aihris-platform-image {
        max-height: 350px;
    }


    .aihris-ai-badge {
        font-size: 8px;
    }


    .aihris-ai-section {
        grid-template-columns: 1fr;

        padding: 25px;
    }


    .aihris-stat-grid {
        grid-template-columns: 1fr;
    }


    .aihris-benefit-grid {
        grid-template-columns: 1fr;
    }


    .aihris-closing {
        flex-direction: column;
        align-items: flex-start;
    }


    .aihris-sidebar {
        grid-template-columns: 1fr;
    }


    .profile-sidebar {
        grid-row: auto;
    }


    .aihris-sidebar-cta {
        grid-column: auto;
    }

}


/* ============================================================
   RESPONSIVE - SMALL MOBILE
============================================================ */

@media (max-width: 480px) {

    .aihris-hero h1 {
        font-size: 28px;
    }


    .aihris-lead {
        font-size: 12px;
    }


    .aihris-trend-grid {
        grid-template-columns: 1fr;
    }


    .aihris-introduction h2,
    .aihris-benefit-section h2 {
        font-size: 23px;
    }


    .aihris-ai-section h2 {
        font-size: 22px;
    }


    .aihris-stat-card {
        min-height: 110px;
    }

}
/* ============================================================
   HERO - GAMBAR AIHRIS SAJA
============================================================ */

.aihris-hero {
    width: 100%;
    min-height: auto;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e3e9f0;
    border-radius: 18px;

    box-shadow: 0 8px 30px rgba(15, 38, 70, .06);
}


.aihris-hero-visual {
    position: relative;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    background:
        radial-gradient(
            circle at center,
            #ffffff 0%,
            #f4f8fc 60%,
            #eaf0f7 100%
        );
}


.aihris-platform-image {
    display: block;

    width: 100%;
    height: auto;

    max-width: 100%;

    object-fit: contain;
}


.aihris-ai-badge {
    position: absolute;

    top: 15px;
    right: 15px;

    z-index: 5;

    padding: 7px 11px;

    border-radius: 30px;

    background: #0d2b55;

    color: #ffffff;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .4px;

    box-shadow: 0 5px 15px rgba(0, 0, 0, .12);
}


.aihris-ai-badge span {
    color: #f97316;
    margin-right: 4px;
}
/* ============================================================
   PENYESUAIAN UKURAN TEKS HOME
============================================================ */

/* Judul bagian Produk Unggulan */
.home-products-title {
    font-size: 28px !important;
}


/* Subjudul Produk Unggulan */
.home-products-subtitle {
    font-size: 13px !important;
}


/* Judul kartu produk */
.home-product-title {
    font-size: 15px !important;
    line-height: 1.4 !important;
}


/* Deskripsi kartu produk */
.home-product-desc {
    font-size: 12px !important;
    line-height: 1.65 !important;
}


/* Link Lihat Produk */
.home-product-action {
    font-size: 11px !important;
}


/* Link Lihat Semua Produk */
.home-products-link {
    font-size: 12px !important;
}


/* ============================================================
   PROFILE SIDEBAR
============================================================ */

.profile-sidebar-info h3 {
    font-size: 20px !important;
}


.profile-sidebar-role {
    font-size: 11px !important;
}


.profile-sidebar-info p {
    font-size: 11px !important;
    line-height: 1.7 !important;
}


.profile-sidebar-button {
    font-size: 11px !important;
}


/* ============================================================
   SIDEBAR NAVIGASI
============================================================ */

.sidebar-menu strong {
    font-size: 11px !important;
}


.sidebar-menu small {
    font-size: 10px !important;
}


/* ============================================================
   TEKS BAGIAN TREN BISNIS
============================================================ */

.aihris-ai-content p {
    font-size: 13px !important;
    line-height: 1.75 !important;
}


.aihris-ai-content h2 {
    font-size: 29px !important;
    line-height: 1.3 !important;
}