/* Landing page — scoped so global 12px typography does not crush marketing scale */
.landing-page {
    --primary: #0b2d5b;
    --dark: #062140;
    --soft: #edf3fb;
    color: #062140;
    overflow-x: hidden;
}

.landing-page h1,
.landing-page .h1 { font-size: clamp(2.4rem, 4.4vw, 3.35rem) !important; line-height: 1.15 !important; }
.landing-page h2,
.landing-page .h2 { font-size: clamp(1.85rem, 3vw, 2.55rem) !important; line-height: 1.2 !important; }
.landing-page h3,
.landing-page .h3 { font-size: 1.55rem !important; line-height: 1.3 !important; }
.landing-page h4,
.landing-page .h4 { font-size: 1.25rem !important; }
.landing-page h5,
.landing-page .h5 { font-size: 1.12rem !important; }
.landing-page h1 span,
.landing-page h2 span,
.landing-page h3 span,
.landing-page h4 span,
.landing-page h5 span,
.landing-page .navbar-brand span { font-size: inherit !important; line-height: inherit !important; }
.landing-page p,
.landing-page li,
.landing-page .lead { font-size: 1.05rem !important; line-height: 1.65 !important; }
.landing-page .small,
.landing-page small { font-size: 0.92rem !important; }
.landing-page .btn { font-size: 0.95rem !important; }
.landing-page .btn-lg { font-size: 1.05rem !important; padding: 0.75rem 1.7rem; }
.landing-page .navbar-brand { font-size: 1.05rem !important; }
.landing-page .nav-link,
.landing-page .btn-link { font-size: 0.95rem !important; }
.landing-page .badge { font-size: 0.72rem !important; }
.landing-hero h1 span {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.landing-page section[id] {
    scroll-margin-top: 88px;
}

.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
}

.landing-nav {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border-bottom: 1px solid rgba(13, 40, 90, 0.06);
}

.landing-nav-inner {
    padding: 12px 36px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    justify-self: start;
}
.landing-brand img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}
.landing-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}
.landing-brand-text strong {
    font-size: 1.05rem !important;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #0b2d5b;
}
.landing-brand-text small {
    font-size: 0.62rem !important;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: #6b7a90;
}

.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.landing-nav-links a {
    position: relative;
    color: #4a5568 !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem !important;
    letter-spacing: 0.02em;
    padding: 4px 0;
}
.landing-nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1.5px;
    background: #d4a853;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}
.landing-nav-links a:hover {
    color: #0b2d5b !important;
}
.landing-nav-links a:hover::after {
    transform: scaleX(1);
}

.landing-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    padding: 9px 22px;
    border-radius: 999px;
    background: #0b2d5b;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem !important;
    letter-spacing: 0.04em;
    box-shadow: none;
    transition: background 0.2s ease;
}
.landing-nav-cta:hover {
    background: #062140;
    color: #fff !important;
}

.landing-hero {
    background:
        radial-gradient(120% 120% at 10% 20%, rgba(14, 123, 238, 0.22), transparent 45%),
        radial-gradient(120% 120% at 90% 10%, rgba(212, 168, 83, 0.12), transparent 50%),
        linear-gradient(135deg, #0b2d5b 0%, #062140 100%);
    color: #fff;
    padding: 132px 0 88px;
    position: relative;
    overflow: hidden;
    min-height: 88vh;
}

.landing-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, rgba(8, 28, 62, 0.18));
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    filter: blur(1px);
    animation: landing-float 9s ease-in-out infinite;
}
.floating-shape.two { right: 10%; top: 12%; animation-duration: 11s; }
.floating-shape.three { left: 40%; bottom: 5%; animation-duration: 13s; }
@keyframes landing-float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

.mini-badge {
    background: rgba(212, 168, 83, 0.14);
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px !important;
    font-weight: 700;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 168, 83, 0.45);
}

.stats-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.stats-card .stats-value {
    font-size: 2rem !important;
    font-weight: 800;
    line-height: 1.1;
}
.stats-card .stats-label {
    font-size: 0.88rem !important;
    opacity: 0.92;
}

.integration-visual {
    position: relative;
    padding: 48px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.obis-center {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #fff, #f8f9fa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(6, 33, 64, 0.4), 0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
    animation: centerPulse 3s ease-in-out infinite;
}
@keyframes centerPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 20px 60px rgba(6, 33, 64, 0.4), 0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.05);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 25px 70px rgba(6, 33, 64, 0.5), 0 0 0 25px rgba(255, 255, 255, 0.15), 0 0 0 50px rgba(255, 255, 255, 0.08);
    }
}

.connection-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform-origin: center;
    z-index: 1;
    animation: dataFlow 2s ease-in-out infinite;
}
@keyframes dataFlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}
.line-1 { top: 80px; left: 80px; right: 80px; transform: rotate(0deg); animation-delay: 0s; }
.line-2 { top: 50%; left: 80px; right: 80px; transform: rotate(90deg); animation-delay: 0.5s; }
.line-3 { top: 80px; left: 80px; right: 80px; transform: rotate(45deg); animation-delay: 1s; }
.line-4 { top: 80px; left: 80px; right: 80px; transform: rotate(-45deg); animation-delay: 1.5s; }

.orbit-path {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: rotatePath 30s linear infinite;
}
@keyframes rotatePath {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
.orbit-path-1 { width: 280px; height: 280px; }
.orbit-path-2 { width: 360px; height: 360px; animation-duration: 40s; }

.app-node {
    position: absolute;
    width: 84px;
    height: 84px;
    background: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.5);
    z-index: 5;
    color: #0b2d5b;
    animation: nodeFloat 4s ease-in-out infinite;
    transition: box-shadow 0.3s, filter 0.3s;
}
.app-node:hover {
    animation-play-state: paused;
    filter: brightness(1.02);
    box-shadow: 0 12px 32px rgba(6, 33, 64, 0.24);
    z-index: 12;
}
@keyframes nodeFloat {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, calc(-50% - 10px)); }
}
.app-node i { font-size: 1.7rem; margin-bottom: 4px; }
.app-node small {
    font-size: 0.62rem !important;
    font-weight: 700;
    text-align: center;
    line-height: 1.1;
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.app-node.cat-hc { background: linear-gradient(135deg, #0b2d5b, #062140); color: white; }
.app-node.cat-operasi { background: linear-gradient(135deg, #0e7bee, #0b2d5b); color: white; }
.app-node.cat-pemasaran { background: linear-gradient(135deg, #245584, #0b2d5b); color: white; }
.app-node.cat-admin { background: linear-gradient(135deg, #e4c98f, #d4a853); color: #062140; }
.app-node.cat-dashboard { background: linear-gradient(135deg, #164574, #062140); color: white; }
.app-node.cat-more { background: linear-gradient(135deg, #fff, #edf3fb); color: #0b2d5b; }

.hero-photo-strip {
    position: relative;
    z-index: 2;
    margin-top: 28px;
}
.hero-photo-strip img {
    width: 100%;
    height: 92px;
    object-fit: cover;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 24px rgba(0, 20, 60, 0.25);
}

.landing-ticker {
    background: #fff;
    border-bottom: 1px solid #e8eef8;
    overflow: hidden;
    padding: 16px 0;
    width: 100%;
    mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent);
}
.landing-ticker-track {
    display: flex;
    width: max-content;
    min-width: max-content;
    will-change: transform;
    animation: landingTicker 40s linear infinite;
}
.landing-ticker-group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 2.6rem;
    padding-right: 2.6rem;
}
.landing-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #334155;
    font-weight: 700;
    font-size: 0.92rem !important;
    white-space: nowrap;
    flex-shrink: 0;
}
.landing-ticker-item i { color: #0e7bee; }
@keyframes landingTicker {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(var(--ticker-shift, -50%), 0, 0); }
}
.landing-ticker:hover .landing-ticker-track {
    animation-play-state: paused;
}
@media (max-width: 768px) {
    .landing-nav-inner {
        display: flex;
        justify-content: space-between;
        padding: 10px 16px;
    }
}

.section-kicker {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.82rem !important;
    letter-spacing: 0.04em;
}

.photo-mosaic img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(13, 40, 90, 0.12);
}
.photo-mosaic .mosaic-caption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
    font-size: 1.05rem !important;
}
.photo-mosaic .mosaic-item {
    position: relative;
}
.photo-mosaic .mosaic-item::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background: linear-gradient(180deg, transparent 45%, rgba(8, 24, 56, 0.62));
    pointer-events: none;
}

.feature-photo {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    border-radius: 24px;
}

.pillar-card {
    background: #fff;
    border-radius: 22px;
    padding: 28px 22px;
    height: 100%;
    border: 1px solid #eef2f8;
    box-shadow: 0 10px 28px rgba(15, 40, 90, 0.05);
}
.pillar-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.app-card {
    background: #fff;
    border-radius: 22px;
    border: 2px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15, 40, 90, 0.06);
}
.app-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(6, 33, 64, 0.1);
    border-color: rgba(212, 168, 83, 0.5);
}
.app-card-cover {
    height: 128px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.app-card-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 35, 66, 0.05), rgba(10, 35, 66, 0.42));
}
.app-card-body { padding: 22px 24px 24px; }
.app-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    background: linear-gradient(135deg, #0b2d5b 0%, #062140 100%);
    color: white;
    box-shadow: 0 6px 14px rgba(6, 33, 64, 0.18);
    position: absolute;
    left: 20px;
    bottom: -22px;
    z-index: 2;
}
.app-card.tone-hc .app-icon { background: linear-gradient(135deg, #0b2d5b 0%, #062140 100%); }
.app-card.tone-operasi .app-icon { background: linear-gradient(135deg, #0e7bee 0%, #0b2d5b 100%); }
.app-card.tone-pemasaran .app-icon { background: linear-gradient(135deg, #245584 0%, #0b2d5b 100%); }
.app-card.tone-admin .app-icon { background: linear-gradient(135deg, #e4c98f 0%, #d4a853 100%); color: #062140; }
.app-card.tone-dashboard .app-icon { background: linear-gradient(135deg, #164574 0%, #062140 100%); }

.category-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.badge-hc { background: rgba(11, 45, 91, 0.08); color: #0b2d5b; }
.badge-operasi { background: rgba(14, 123, 238, 0.1); color: #0b559e; }
.badge-pemasaran { background: rgba(36, 85, 132, 0.1); color: #245584; }
.badge-admin { background: rgba(212, 168, 83, 0.18); color: #79591f; }
.badge-dashboard { background: rgba(6, 33, 64, 0.08); color: #062140; }

.workflow-section {
    background: linear-gradient(135deg, #0b2d5b, #062140);
    position: relative;
    overflow: hidden;
}
.workflow-photo {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    border-radius: 24px;
}
.workflow-cta {
    position: absolute;
    inset: auto 24px 24px 24px;
    background: rgba(8, 24, 56, 0.62);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 22px;
    color: #fff;
}

.landing-empty {
    background: #f8fafc;
    border: 1px dashed #dbe4f0;
    border-radius: 20px;
    padding: 48px 24px;
}

@media (max-width: 991px) {
    .landing-hero { padding-top: 110px; min-height: auto; }
    .integration-visual { min-height: 420px; }
    .photo-mosaic img { height: 180px; }
}

@media (max-width: 576px) {
    .app-node { width: 64px; height: 64px; border-radius: 16px; }
    .app-node i { font-size: 1.2rem; }
    .obis-center { width: 120px; height: 120px; }
    .orbit-path-1 { width: 220px; height: 220px; }
    .orbit-path-2 { width: 280px; height: 280px; }
}
