/* ============================================================
   sumrize-enterprise.css
   Styles for the Enterprise marketing page only.
   Loaded after sumrize-shell.css.
   ============================================================ */


/* ----------------------------------------
   Bootstrap override — reset a:hover underline
   Bootstrap is loaded for all non-home pages and sets
   a:hover { text-decoration: underline } globally.
   We reset it here for all enterprise elements.
   ---------------------------------------- */

.ent-hero a,
.ent-hero a:hover,
.ent-cards a,
.ent-cards a:hover,
.ent-integrations a,
.ent-integrations a:hover {
    text-decoration: none;
    color: inherit;
}


/* ----------------------------------------
   Hero Section
   ---------------------------------------- */

.ent-hero {
    padding-top: calc(var(--header-height) + clamp(3.5rem, 7vh, 6rem));
    padding-bottom: clamp(2.5rem, 5vh, 4rem);
}

.ent-hero__layout {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
}

.ent-hero__content {
    flex: 4;
    min-width: 0;
}

.ent-hero__visual {
    flex: 6;
    min-width: 0;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    background: #202020;
    /* box-shadow: -1px 5px 19px -4px rgba(0, 0, 0, 0.63); */
}

.ent-hero__eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0;
}

.ent-hero__title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 600;
    line-height: 1.22;
    letter-spacing: -0.03em;
    color: var(--color-text);
    margin: 0.5rem 0 1.25rem;
}

.ent-hero__subtitle {
    font-size: clamp(15px, 1.2vw, 18px);
    font-weight: 500;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.62);
    margin: 0 0 2.5rem;
    max-width: 480px;
}

.ent-hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ent-hero__trust {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 0 clamp(2rem, 4vh, 3rem);
}

.ent-hero__avatars {
    display: flex;
    flex-shrink: 0;
}

.ent-hero__avatars img {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    border-radius: 50%;
    border: 2px solid var(--color-page-bg);
    object-fit: cover;
    flex-shrink: 0;
    margin-left: -9px;
}

.ent-hero__avatars img:first-child {
    margin-left: 0;
}

.ent-hero__avatar-more {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid var(--color-page-bg);
    background: #2e2e2e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -9px;
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: -0.01em;
}

.ent-hero__trust-text {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.45);
    max-width: 200px;
    margin: 0;
}


/* ----------------------------------------
   Capability Cards Grid
   ---------------------------------------- */

.ent-cards {
    padding-bottom: clamp(3rem, 6vh, 5rem);
}

.ent-cards__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* padding gives box-shadow room before overflow clips it */
    padding: 14px 16px 28px;
    margin-top: -10px;
    margin-bottom: -24px;
    /* hide scrollbar, keep scroll functional */
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* IE / Edge legacy */
}

.ent-cards__scroll::-webkit-scrollbar {
    display: none;                /* Chrome / Safari / Opera */
}

.ent-cards__grid {
    display: grid;
    /* 3 equal columns, each min 300px — overflow triggers scroll */
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    gap: 20px;
    /* ensure the grid never collapses below 3 × 300px */
    min-width: calc(3 * 300px + 2 * 20px);
}

.ent-card {
    border-radius: 30px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #202020;
    box-shadow: -1px 5px 19px -4px rgba(0, 0, 0, 0.63);
}


.ent-card__title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.03em;
    color: var(--color-text);
    margin: 0;
}

.ent-card__text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.58);
    margin: 0;
    flex: 1;
}

.ent-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ent-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.6);
}


.ent-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.42);
    text-decoration: none;
    margin-top: 4px;
    transition: color 180ms ease;
}

.ent-card__cta:hover {
    color: rgba(255, 255, 255, 0.9);
}


.ent-card__cta svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}


.ent-integrations__label {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.32);
    /* margin: 0 0 2rem; */
}

.ent-integrations__logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px 48px;
}

.ent-int-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1rem;
    font-weight: 600;
    transition: color 180ms ease;
    text-decoration: none;
}

.ent-int-item:hover {
    color: rgba(255, 255, 255, 0.72);
}

.ent-int-item svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}


.ent-section__title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(36px, 4.2vw, 58px);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.04em;
    color: var(--color-text);
    text-align: center;
    margin: 0.5rem 0 1rem;
}

.ent-section__subtitle {
    font-size: clamp(15px, 1.2vw, 18px);
    font-weight: 500;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.52);
    text-align: center;
    margin: 0 auto 3rem;
    max-width: 540px;
}


/* ----------------------------------------
   Feature Tabs Section
   ---------------------------------------- */

.ent-feature {
    padding: clamp(3rem, 6vh, 5rem) 0;
}

.ent-feature__card {
    display: flex;
    background: #202020;
    border-radius: 30px;
    box-shadow: -1px 5px 19px -4px rgba(0, 0, 0, 0.63);
    overflow: hidden;
    min-height: 480px;
}

/* Left column */
.ent-feature__left {
    flex: 0 0 42%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 36px 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.ent-feature__item {
    border-radius: 14px;
    cursor: pointer;
    transition: background 180ms ease;
}

.ent-feature__item.is-active {
    background: rgba(255, 255, 255, 0.06);
}

.ent-feature__trigger {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-left: 2px solid transparent;
    transition: border-color 180ms ease;
}

/* .ent-feature__item.is-active .ent-feature__trigger {
    border-left-color: var(--color-primary);
} */

.ent-feature__trigger-body {
    flex: 1;
    min-width: 0;
}

/* Arrow — desktop: hidden */
.ent-feature__arrow {
    display: none;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.3);
    transition: transform 280ms ease, color 180ms ease;
    margin-top: 2px;
}

.ent-feature__arrow svg {
    width: 100%;
    height: 100%;
}

.ent-feature__trigger-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.38);
    margin: 0 0 6px;
    transition: color 180ms ease;
}

.ent-feature__item.is-active .ent-feature__trigger-title {
    color: var(--color-text);
}

.ent-feature__trigger-text {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.0);
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: color 180ms ease, max-height 280ms ease;
}

.ent-feature__item.is-active .ent-feature__trigger-text {
    color: rgba(255, 255, 255, 0.52);
    max-height: 120px;
}

/* CTA pinned to bottom */
.ent-feature__cta {
    margin-top: auto;
    /* padding-top: 8px; */
    padding-left: 18px;
    align-self: flex-start;
}

/* Right column */
.ent-feature__right {
    flex: 1;
    position: relative;
}

.ent-feature__panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 240ms ease;
}

.ent-feature__panel.is-active {
    opacity: 1;
    pointer-events: auto;
}

.ent-feature__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px dashed rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.18);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

/* Mobile panel (accordion) */
.ent-feature__panel-mobile {
    overflow: hidden;
    max-height: 0;
    transition: max-height 340ms cubic-bezier(0.4, 0, 0.2, 1);
}

.ent-feature__panel-mobile-inner {
    margin: 0 6px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.18);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}


/* ----------------------------------------
   Enterprise Highlights Section
   ---------------------------------------- */

.ent-highlights {
    padding: clamp(3rem, 6vh, 5rem) 0;
}

/* Scroll Spotlight — Blok 1 */

.ent-hl-spot {
    display: flex;
    align-items: flex-start; /* penting: biar sticky bisa kerja */
    gap: clamp(2rem, 4vw, 4rem);
    margin-top: 3rem;
}

/* Kiri: Lottie panel sticky */
.ent-hl-spot__visual {
    flex: 6;
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    background: #202020;
    overflow: hidden;
}

.ent-hl-spot__panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.18);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.ent-hl-spot__panel.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* Kanan: feature list */
.ent-hl-spot__list {
    flex: 4;
    display: flex;
    flex-direction: column;
}

.ent-hl-spot__item {
    min-height: 44vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    opacity: 0.32;
    transition: opacity 300ms ease;
}

.ent-hl-spot__item:last-child {
    border-bottom: none;
}

.ent-hl-spot__item.is-active {
    opacity: 1;
}

.ent-hl-spot__title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--color-text);
    margin: 0 0 0.75rem;
}

.ent-hl-spot__text {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.52);
    margin: 0;
    max-width: 380px;
}

/* item visual — hidden on desktop, shown on mobile */
.ent-hl-spot__item-visual {
    display: none;
}

/* Compact Grid — Blok 2 */

.ent-hl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 4rem;
}

.ent-hl-card {
    background: #202020;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ent-hl-card__visual {
    aspect-ratio: 16 / 9;
    background: rgba(255, 255, 255, 0.04);
    flex-shrink: 0;
}

.ent-hl-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ent-hl-card__title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin: 0;
}

.ent-hl-card__text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.52);
    margin: 0;
}


/* ----------------------------------------
   Responsive
   ---------------------------------------- */

@media (max-width: 1024px) {
    .ent-cards__grid {
        gap: 16px;
    }

    .ent-card {
        padding: 24px;
    }

    .ent-feature__left {
        flex: 0 0 48%;
        padding: 28px 24px;
    }

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

@media (max-width: 767px) {
    .ent-hero {
        padding-top: 2rem;
    }

    .ent-hero__layout {
        flex-direction: column;
        gap: 2rem;
    }

    .ent-hero__visual {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    /* ── Mobile typography ── */

    /* Hero: title */
    .ent-hero__title {
        font-size: clamp(24px, 6vw, 30px);
    }

    .ent-hero__subtitle {
        font-size: 14px;
    }

    /* Section headings */
    .ent-section__title {
        font-size: clamp(26px, 7vw, 32px);
        text-align: center;
    }

    .ent-section__subtitle {
        font-size: 14px;
        text-align: center;
    }

    /* Capability cards */
    .ent-card__title {
        font-size: 19px;
    }

    /* Feature tab items */
    .ent-feature__trigger-title {
        font-size: 0.88rem;
    }

    /* Integration logos */
    .ent-int-item {
        font-size: 0.9rem;
    }

    .ent-int-item svg {
        width: 34px;
        height: 34px;
    }

    /* Card scroll: full-bleed viewport, cards start at container edge */
    .ent-cards__scroll {
        margin-left: -18px;
        margin-right: -18px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .ent-cards__grid {
        gap: 12px;
    }

    .ent-card {
        border-radius: 24px;
        padding: 24px;
    }

    .ent-integrations__logos {
        gap: 20px 32px;
    }

    .ent-feature__card {
        flex-direction: column;
        border-radius: 24px;
        min-height: unset;
    }

    .ent-feature__right {
        display: none;
    }

    .ent-feature__left {
        flex: 1;
        padding: 20px;
        border-right: none;
    }

    .ent-feature__item.is-active .ent-feature__panel-mobile {
        max-height: 600px;
    }

    .ent-feature__item.is-active .ent-feature__trigger-text {
        max-height: 200px;
    }

    .ent-feature__cta {
        align-self: center;
    }

    /* Arrow visible on mobile */
    .ent-feature__arrow {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ent-feature__item.is-active .ent-feature__arrow {
        transform: rotate(180deg);
        color: rgba(255, 255, 255, 0.7);
    }

    .ent-hero__trust {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    /* Blok 1 — stacked */
    .ent-hl-spot {
        flex-direction: column;
        gap: 0;
    }

    .ent-hl-spot__visual {
        display: none;
    }

    .ent-hl-spot__item {
        min-height: unset;
        opacity: 1;
        padding: 2rem 0;
        gap: 1rem;
    }

    .ent-hl-spot__item-visual {
        display: block;
        aspect-ratio: 16 / 9;
        border-radius: 16px;
        background: #202020;
    }

    .ent-hl-spot__title {
        font-size: clamp(20px, 5.5vw, 26px);
    }

    .ent-hl-spot__text {
        max-width: 100%;
    }

    /* Blok 2 — full-bleed horizontal scroll di mobile */
    .ent-hl-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 12px;
        /* extend ke tepi layar, padding sejajar container */
        margin-left: -18px;
        margin-right: -18px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .ent-hl-grid::-webkit-scrollbar {
        display: none;
    }

    .ent-hl-card {
        width: 80vw;
        flex-shrink: 0;
    }
}
