﻿/**
 * HiWA landing — WhatsApp gateway, palette selaras dashboard (#128C7E / hijau gateway).
 */
.hiwa-landing {
    --hiwa-primary: #128c7e;
    --hiwa-primary-rgb: 18, 140, 126;
    --hiwa-primary-dark: #0d6d62;
    --hiwa-primary-soft: rgba(18, 140, 126, 0.18);
    --hiwa-forest: #0a4a42;
    --hiwa-forest-deep: #083932;
    --hiwa-green-deep: #0f5c52;
    --hiwa-accent: #128c7e;
    --hiwa-accent-hover: #0f7668;
    --hiwa-wa: #25d366;
    --hiwa-surface: #eef6f4;
    --hiwa-card: #ffffff;
    --hiwa-ink: #0f172a;
    --hiwa-muted: rgba(240, 253, 250, 0.92);
    --hiwa-shadow: rgba(10, 74, 66, 0.12);
}

/* Header landing — putih agar logo berwarna kontras */
.page-wrapper > .main-header .main-menu {
    background-color: #ffffff !important;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
}

.page-wrapper > .main-header .main-menu .main-menu__list > li > a,
.page-wrapper .stricky-header.main-menu .main-menu__list > li > a {
    color: #0f172a !important;
}

.page-wrapper > .main-header .main-menu .main-menu__list > li > a:hover,
.page-wrapper > .main-header .main-menu .main-menu__list > li.current > a,
.page-wrapper .stricky-header.main-menu .main-menu__list > li > a:hover,
.page-wrapper .stricky-header.main-menu .main-menu__list > li.current > a {
    color: var(--hiwa-primary) !important;
}

.page-wrapper > .main-header .main-menu__right .mobile-nav__toggler,
.page-wrapper .stricky-header.main-menu .main-menu__right .mobile-nav__toggler {
    color: #0f172a !important;
}

.page-wrapper > .main-header .main-menu__right .mobile-nav__toggler:hover,
.page-wrapper .stricky-header.main-menu .main-menu__right .mobile-nav__toggler:hover {
    color: var(--hiwa-primary) !important;
}

.page-wrapper .eduact-btn:not(.eduact-btn-second) {
    background-color: var(--hiwa-primary) !important;
    border-color: var(--hiwa-primary) !important;
}

.page-wrapper .eduact-btn:not(.eduact-btn-second):hover {
    background-color: var(--hiwa-accent-hover) !important;
    border-color: var(--hiwa-accent-hover) !important;
}

/* Header: Register | Login (desktop) */
.page-wrapper .hiwa-header-auth {
    margin-left: 0.75rem;
    gap: 0.4rem;
    font-size: 0.9375rem;
    font-weight: 600;
}

.page-wrapper .hiwa-header-auth__link {
    color: #0f172a !important;
    text-decoration: none;
    padding: 0.25rem 0.15rem;
}

.page-wrapper .hiwa-header-auth__link:hover {
    color: var(--hiwa-primary) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-wrapper .hiwa-header-auth__sep {
    color: #94a3b8;
    font-weight: 500;
    user-select: none;
}

/* Drawer mobile: Register | Login */
.hiwa-mobile-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    padding-top: 0.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
}

.hiwa-mobile-auth__link {
    color: #128c7e;
    text-decoration: none;
}

.hiwa-mobile-auth__link:hover {
    color: #0d6d62;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hiwa-mobile-auth__sep {
    color: #94a3b8;
    user-select: none;
}

.page-wrapper .stricky-header.main-menu {
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    z-index: 1030 !important;
}

.page-wrapper .stricky-header.main-menu .sticky-header__content {
    background: #ffffff !important;
}

/* Header lebih ramping (override padding Eduact yang besar) */
.page-wrapper > .main-header .main-menu .main-menu__logo,
.page-wrapper .stricky-header.main-menu .main-menu__logo {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

@media (max-width: 767px) {
    .page-wrapper > .main-header .main-menu .main-menu__logo,
    .page-wrapper .stricky-header.main-menu .main-menu__logo {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }
}

.page-wrapper > .main-header .main-menu .main-menu__list > li,
.page-wrapper .stricky-header.main-menu .main-menu__list > li {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* Sticky bar tetap dipakai di tablet (Eduact default: display:none <1200px) */
@media (max-width: 1199px) {
    .page-wrapper .stricky-header.main-menu {
        display: block !important;
    }
}

.hiwa-hero {
    position: relative;
    overflow: hidden;
    color: #f0fdf9;
    padding: 88px 0 56px;
    background-color: var(--hiwa-forest);
}

@media (min-width: 992px) {
    .hiwa-hero {
        padding: 120px 0 88px;
    }
}

/* Tanpa overlay gradien / pola bintang */
.hiwa-hero::before,
.hiwa-hero::after {
    display: none;
}

.hiwa-hero__inner {
    position: relative;
    z-index: 1;
}

.hiwa-hero__title {
    font-family: Urbanist, system-ui, sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    color: #fff;
}

.hiwa-hero__title span {
    color: var(--hiwa-wa);
}

.hiwa-hero__lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--hiwa-muted);
    max-width: 34rem;
    margin-bottom: 1.75rem;
}

.hiwa-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.hiwa-hero__actions .eduact-btn {
    border-radius: 999px;
}

/* Tombol hero: hilangkan merah tema Eduact, tetap solid hijau / putih */
.hiwa-hero .eduact-btn.eduact-btn-second {
    background-color: #ffffff !important;
    color: var(--hiwa-forest-deep) !important;
    border: 2px solid #ffffff !important;
}

.hiwa-hero .eduact-btn.eduact-btn-second:hover {
    background-color: #ecfdf5 !important;
    color: var(--hiwa-forest-deep) !important;
}

.hiwa-hero .eduact-btn:not(.eduact-btn-second) {
    background-color: var(--hiwa-wa) !important;
    border-color: var(--hiwa-wa) !important;
    color: #ffffff !important;
}

.hiwa-hero .eduact-btn:not(.eduact-btn-second):hover {
    background-color: #1faa59 !important;
    border-color: #1faa59 !important;
    color: #ffffff !important;
}

.hiwa-hero__link-secondary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 4px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(232, 238, 247, 0.88);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hiwa-hero__link-secondary:hover {
    color: #fff;
}

.hiwa-hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 340px;
    margin-top: 2.5rem;
}

@media (min-width: 992px) {
    .hiwa-hero__visual {
        margin-top: 0;
        min-height: 420px;
    }
}

.hiwa-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0a3d36;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    z-index: 2;
    animation: hiwa-float 5s ease-in-out infinite;
}

.hiwa-float i {
    font-size: 1.1rem;
    color: var(--hiwa-primary);
}

.hiwa-float--1 {
    top: 6%;
    left: 4%;
    animation-delay: 0s;
}

.hiwa-float--2 {
    top: 18%;
    right: 2%;
    animation-delay: 1.2s;
}

.hiwa-float--3 {
    bottom: 14%;
    left: 0;
    animation-delay: 0.6s;
}

.hiwa-float--4 {
    bottom: 8%;
    right: 6%;
    animation-delay: 1.8s;
}

@keyframes hiwa-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.hiwa-phone {
    position: relative;
    width: min(300px, 88vw);
    padding: 12px 12px 18px;
    border-radius: 36px;
    background-color: #152a27;
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    z-index: 1;
}

.hiwa-phone__bar {
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.hiwa-phone__notch {
    width: 88px;
    height: 22px;
    border-radius: 0 0 16px 16px;
    background: #0b1816;
}

.hiwa-phone__screen {
    border-radius: 24px;
    overflow: hidden;
    background-color: #0b141a;
    min-height: 360px;
    padding: 16px 14px 20px;
}

.hiwa-chat {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hiwa-bubble {
    max-width: 88%;
    padding: 10px 14px;
    border-radius: 12px 12px 12px 4px;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.hiwa-bubble--in {
    align-self: flex-start;
    background: #1f2c34;
    color: #e9edef;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.hiwa-bubble--out {
    align-self: flex-end;
    background: #005c4b;
    color: #e9edef;
    border-radius: 12px 12px 4px 12px;
}

.hiwa-bubble__meta {
    display: block;
    margin-top: 6px;
    font-size: 0.6875rem;
    opacity: 0.65;
}

.hiwa-section {
    padding: 56px 0;
}

@media (min-width: 992px) {
    .hiwa-section {
        padding: 72px 0;
    }
}

.hiwa-section--muted {
    background: var(--hiwa-surface);
}

.hiwa-section__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hiwa-primary);
    margin-bottom: 10px;
}

.hiwa-section__title {
    font-family: Urbanist, system-ui, sans-serif;
    font-weight: 800;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    color: var(--hiwa-ink);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.hiwa-section__lead {
    color: #475569;
    font-size: 1.05rem;
    max-width: 40rem;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hiwa-feature-card {
    height: 100%;
    background: var(--hiwa-card);
    border-radius: 20px;
    padding: 28px 24px;
    border: 1px solid rgba(18, 140, 126, 0.12);
    box-shadow: 0 12px 40px var(--hiwa-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.hiwa-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(10, 74, 66, 0.14);
}

.hiwa-feature-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
    background-color: var(--hiwa-primary-soft);
    color: var(--hiwa-primary-dark);
}

.hiwa-feature-card h3 {
    font-family: Urbanist, system-ui, sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--hiwa-ink);
}

.hiwa-feature-card p {
    margin: 0;
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.hiwa-steps {
    counter-reset: hiwa-step;
}

.hiwa-step {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
}

.hiwa-step:last-child {
    margin-bottom: 0;
}

.hiwa-step__num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    background-color: var(--hiwa-primary);
}

.hiwa-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--hiwa-ink);
}

.hiwa-step p {
    margin: 0;
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.55;
}

/* Pricing / service packages */
.hiwa-package-card {
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--hiwa-card);
    border-radius: 20px;
    padding: 28px 24px 26px;
    border: 1px solid rgba(18, 140, 126, 0.14);
    box-shadow: 0 12px 40px var(--hiwa-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hiwa-package-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(10, 74, 66, 0.12);
}

.hiwa-package-card--featured {
    border-color: rgba(37, 211, 102, 0.45);
    box-shadow:
        0 20px 56px rgba(15, 39, 68, 0.08),
        0 0 0 1px rgba(37, 211, 102, 0.2) inset;
}

.hiwa-package-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--hiwa-forest-deep);
    background: rgba(37, 211, 102, 0.22);
}

.hiwa-package-card__name {
    font-family: Urbanist, system-ui, sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    margin-bottom: 6px;
    color: var(--hiwa-ink);
    letter-spacing: -0.02em;
}

.hiwa-package-card__price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--hiwa-primary-dark);
    margin-bottom: 20px;
}

.hiwa-package-card__list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    flex: 1 1 auto;
}

.hiwa-package-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 10px;
}

.hiwa-package-card__list li:last-child {
    margin-bottom: 0;
}

.hiwa-package-card__list i {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--hiwa-wa);
    font-size: 1rem;
}

/* Footer landing — putih agar logo berwarna jelas (selaras header) */
.hiwa-footer {
    padding: 1rem 0 0.75rem;
    background-color: #ffffff;
    color: #0f172a;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.04);
}

@media (min-width: 768px) {
    .hiwa-footer {
        padding: 1.25rem 0 0.875rem;
    }
}

.hiwa-footer__inner {
    --bs-gutter-x: 1rem;
}

.hiwa-footer__grid {
    display: grid;
    gap: 0.875rem 1.25rem;
    grid-template-columns: 1fr;
    align-items: start;
}

@media (min-width: 768px) {
    .hiwa-footer__grid {
        grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr) minmax(0, 1.1fr);
        gap: 0.75rem 1.5rem;
    }
}

.hiwa-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #0f172a;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.hiwa-footer__brand-logo {
    width: auto;
    max-width: 11rem;
    height: 2.75rem;
    object-fit: contain;
    flex-shrink: 0;
}

.hiwa-footer__brand:hover {
    color: var(--hiwa-primary-dark);
}

.hiwa-footer__brand:hover .hiwa-footer__brand-logo {
    opacity: 0.92;
}

.hiwa-footer__lead {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #64748b;
    margin: 0;
    max-width: 26rem;
}

.hiwa-footer .hiwa-footer__heading {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #475569;
    margin: 0 0 0.35rem;
    line-height: 1.3;
}

.hiwa-footer__links,
.hiwa-footer__contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.hiwa-footer__links a,
.hiwa-footer__contact a {
    color: #334155;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.4;
}

.hiwa-footer__links a:hover,
.hiwa-footer__contact a:hover {
    color: var(--hiwa-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hiwa-footer__bottom {
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem 1rem;
    font-size: 0.75rem;
    color: #64748b;
}

.hiwa-footer__copy {
    margin: 0;
}

.hiwa-footer__home {
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.hiwa-footer__home:hover {
    color: var(--hiwa-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 575.98px) {
    .hiwa-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Halaman dokumentasi API (landing, publik) */
.hiwa-api-doc-page {
    padding-bottom: 2.5rem;
    background-color: #f1f5f9;
}

.hiwa-api-doc-breadcrumb {
    font-size: 0.875rem;
    color: #64748b;
}

.hiwa-api-doc-breadcrumb a {
    color: var(--hiwa-primary);
    font-weight: 600;
}

.hiwa-api-doc-breadcrumb a:hover {
    color: var(--hiwa-primary-dark);
    text-decoration: underline !important;
}

.hiwa-api-doc-breadcrumb__sep {
    margin: 0 0.35rem;
    color: #94a3b8;
}

.hiwa-api-doc-title {
    font-family: Urbanist, system-ui, sans-serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 4vw, 2rem);
    letter-spacing: -0.02em;
    color: var(--hiwa-ink);
}

.hiwa-api-doc-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.875rem;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
    padding: 1.5rem 1.25rem;
}

@media (min-width: 768px) {
    .hiwa-api-doc-card {
        padding: 2rem 2.25rem;
    }
}

.hiwa-api-doc-badge {
    background-color: var(--hiwa-primary) !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
}

.hiwa-api-doc-code-inline {
    font-size: 0.9rem;
    color: #0f172a;
    background: #f1f5f9;
    padding: 0.15rem 0.4rem;
    border-radius: 0.35rem;
}

.hiwa-api-doc-pre {
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.5rem;
    padding: 1rem 1.1rem;
    margin-bottom: 0;
    overflow-x: auto;
    font-size: 0.8125rem;
    line-height: 1.5;
}

.hiwa-api-doc-pre code {
    color: #1e293b;
}

.hiwa-api-doc-list {
    padding-left: 1.1rem;
    margin-bottom: 0;
}

.hiwa-api-doc-list li {
    margin-bottom: 0.35rem;
}

.hiwa-api-doc-hr {
    border-color: rgba(15, 23, 42, 0.08);
    opacity: 1;
}
